November 14, 2023 [Issue 24244] New: -vcg-ast breaks on static foreach alias | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24244 Issue ID: 24244 Summary: -vcg-ast breaks on static foreach alias Product: D Version: D2 Hardware: x86 OS: All Status: NEW Severity: critical Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: msnmancini@hotmail.com ```d alias thisMod = __traits(parent, {}); void main() { static foreach(mem; __traits(allMembers, thisMod)) {{ alias modMem = __traits(getMember, thisMod, mem); }} } ``` This is the minimal program for this error. Tested with both DMD and LDC -- |
Copyright © 1999-2021 by the D Language Foundation