D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 6561 - alias this + undefined symbol should cause error
Summary: alias this + undefined symbol should cause error
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P2 normal
Assignee: No Owner
URL:
Keywords: accepts-invalid, patch
: 6468 (view as issue list)
Depends on:
Blocks:
 
Reported: 2011-08-26 19:21 UTC by Kenji Hara
Modified: 2011-08-29 22:36 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Kenji Hara 2011-08-26 19:21:03 UTC
This code compiles without no error.

struct S
{
    alias x this;   // x is undefined, so should cause error
}
void main(){}
Comment 3 yebblies 2011-08-29 22:36:10 UTC
*** Issue 6468 has been marked as a duplicate of this issue. ***