www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8043] New: DMD Crash on undefined identifier

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8043

           Summary: DMD Crash on undefined identifier
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: andrej.mitrovich gmail.com



16:39:22 PDT ---
void main()
{
    enum B = 1;
    enum a = [b];
}

I get the ol' dialog box:

---------------------------
dmd.exe - Application Error
---------------------------
The instruction at "0x0044b049" referenced memory at "0x00000000". The memory
could not be "read".

Seems to only happen with enums and an array of an undefined symbol.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 04 2012
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8043


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |WORKSFORME



17:43:52 PDT ---
Fails on 2.059, but works correctly on 2.060 head.

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