October 21

Tasks for the week(Oct.14-Oct.20th)

Summary

Started this week by focusing on debugging the include visitor which I encountered a runtime error and also started with the moving of prepare, lowernonarrayaggregate and lowerarrayaggregate methods from cond.d to statementsem.d

The include method which I encountered a runtime error was debugged intensively and some of the errors were solved using a strategic method whereby I commented on alI the include overrides moved to dsymbolsem.d then called them back to attrib.d.

  • I moved and refactored them one after the other ensuring that it compiles and the tests work successfully before moving the other functions.
    The problematic overrides were spotted and I’m working on it to ensure that it's free from runtime errors. PR&Commits= https://github.com/dlang/dmd/pull/16970

  • I moved the sem methods in cond.d which are prepare, lowernonarrayaggregate and lowerarrayaggregate to the statementsem.d( It’s basically responsible for handling various types of statements like loops, conditionals, etc to ensure they follow the rule of the dlang.) Although I opened a PR and made some commits, some bugs were caught up in the test suites which I’m currently working on with guidance from my mentor. PR&Commits=https://github.com/dlang/dmd/pull/17011