[Issue 6561] New: alias this + undefined symbol should cause error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 26 19:21:06 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6561

           Summary: alias this + undefined symbol should cause error
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: accepts-invalid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: k.hara.pg at gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg at gmail.com> 2011-08-26 19:21:03 PDT ---
This code compiles without no error.

struct S
{
    alias x this;   // x is undefined, so should cause error
}
void main(){}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list