digitalmars.D - [SAOC 2024] "Refactoring the Include Method: Moving to dsymbolsem"
- Dennis (20/20) Oct 13 ## Tasks Accomplished
The include method is another sem function that depends on dsymbolsem which was residing in an AST class. During this week’s task I moved the `include` method to dsymbolsem, the method basically evaluates certain declarations that should be processed based on conditions or attributes. Include method resides in `AttribDeclaration` class and has subclasses like `ConditionalDeclaration`, `StaticIfDeclaratio`n, and `StaticForeachDeclaration`. Each of them were moved respectively and transformed into a visitor.` frontend.h` and `attrib.h `will be updated upwards reflecting the changes made. Although, the refactoring is still ongoing with rigorous testing and debugging. Currently encountering some errors which I’m working on with the guidance from my mentor [https://github.com/dlang/dmd/pull/16970](https://github.com/dlang/dmd/pull/16970) Finished up the` attrib.d` and move over to the next module(`cond.d`).
Oct 13