[Issue 20072] [2.087.0] Mixin templates: no property `somevar` for type `some.Type`, did you mean `some.Type.__anonymous.somevar`?
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jul 23 19:24:41 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=20072
Simen Kjaeraas <simen.kjaras at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |simen.kjaras at gmail.com
--- Comment #3 from Simen Kjaeraas <simen.kjaras at gmail.com> ---
Further reduction:
static foreach( Name; 0..1 )
mixin( "struct S { }" );
// Error: local scope __anonymous is not a variable
pragma(msg, __traits(parent, S));
--
More information about the Digitalmars-d-bugs
mailing list