← Back to index
|
Original Bugzilla link
Bug 6561 – alias this + undefined symbol should cause error
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2011-08-26T19:21:00Z
Last change time
2011-08-29T22:36:10Z
Keywords
accepts-invalid, patch
Assigned to
nobody
Creator
k.hara.pg
Comments
Comment #0
by k.hara.pg — 2011-08-26T19:21:03Z
This code compiles without no error. struct S { alias x this; // x is undefined, so should cause error } void main(){}
Comment #1
by k.hara.pg — 2011-08-26T20:12:45Z
https://github.com/D-Programming-Language/dmd/pull/337
Comment #2
by bugzilla — 2011-08-27T19:23:26Z
https://github.com/D-Programming-Language/dmd/commit/33844b7a3a9b0725708fc973d75e167cf813f0f3
Comment #3
by yebblies — 2011-08-29T22:36:10Z
*** Issue 6468 has been marked as a duplicate of this issue. ***