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

           Summary: [ICE](interpret.c line 310) with arith operation on
                    missing variable
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from [email protected] 2013-09-01 16:25:54 PDT ---
I don't know if this is a regression:


struct Foo {
    enum uint x = y - 1;
}
void main() {}


DMD 2.064alpha gives:

test.d(2): Error: undefined identifier y, did you mean variable x?
Assertion failure: '0' on line 310 in file 'interpret.c'

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

Reply via email to