[Issue 17814] bad output of "static foreach" with -vcg-ast
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Sep 7 20:15:31 UTC 2017
https://issues.dlang.org/show_bug.cgi?id=17814
--- Comment #3 from Rainer Schuetze <r.sagitario at gmx.de> ---
If it correctly represents the original code, it should be ok, too.
I expected the dump to have expanded all compile time transformations and
lowerings, but obviously it does not. I just tried -vcg-ast on:
mixin("int a" ~ 1.stringof ~ " = 1;");
and it yields
import object;
mixin("int a1" ~ " = 1;");
so it's at some random intermediate step.
--
More information about the Digitalmars-d-bugs
mailing list