[Issue 15094] [REG2.063] __traits(getMember) fails when the source is a struct/class field
https://issues.dlang.org/show_bug.cgi?id=15094 Kenji Harachanged: What|Removed |Added Keywords||rejects-valid --- Comment #2 from Kenji Hara --- (In reply to Vladimir Panteleev from comment #1) > This appears to be a regression. > > Introduced in https://github.com/D-Programming-Language/dmd/pull/1687 Not correct. With 2.062, compiling example code with `dmd -c` will make: test.d(16): Error: need 'this' to access member foo PR 1687 had moved many "need this" errors in glue layer to front-end, but such the field access is not yet supported. I think it's a reject-valid bug. --
[Issue 15094] [REG2.063] __traits(getMember) fails when the source is a struct/class field
https://issues.dlang.org/show_bug.cgi?id=15094 Vladimir Panteleevchanged: What|Removed |Added CC||thecybersha...@gmail.com Summary|__traits(getMember) fails |[REG2.063] |when the source is a|__traits(getMember) fails |struct/class field |when the source is a ||struct/class field --- Comment #1 from Vladimir Panteleev --- This appears to be a regression. Introduced in https://github.com/D-Programming-Language/dmd/pull/1687 --