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
Comment #2 by bugzilla — 2011-08-27T19:23:26Z
Comment #3 by yebblies — 2011-08-29T22:36:10Z
*** Issue 6468 has been marked as a duplicate of this issue. ***