digitalmars.D.bugs - [Issue 22347] New: a preliminary pass before dsymbolSemantic()
- d-bugmail puremagic.com (21/21) Oct 02 2021 https://issues.dlang.org/show_bug.cgi?id=22347
https://issues.dlang.org/show_bug.cgi?id=22347 Issue ID: 22347 Summary: a preliminary pass before dsymbolSemantic() should be used to compile all the MixinDeclarations of a module Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: b2.temp gmx.com At first glance that would allow code like ```d struct Ar { Br b; ubyte a; } mixin(q{struct Br { ubyte b; }}); ``` to compile successfully. --
Oct 02 2021