www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1484] New: Forward reference of enum member crashes DMD

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

           Summary: Forward reference of enum member crashes DMD
           Product: D
           Version: 1.021
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: smjg iname.com
OtherBugsDependingO 340
             nThis:


----------
const char[][7] DAY_NAME = [
        DAY.SUN: "sunday", "monday", "tuesday", "wednesday",
          "thursday", "friday", "saturday"
];

enum DAY { SUN, MON, TUE, WED, THU, FRI, SAT }
----------

Error information as reported by Windows Vista:
----------
  Problem Event Name:   APPCRASH
  Application Name:     dmd.exe
  Application Version:  0.0.0.0
  Application Timestamp:        00000000
  Fault Module Name:    dmd.exe
  Fault Module Version: 0.0.0.0
  Fault Module Timestamp:       00000000
  Exception Code:       c0000005
  Exception Offset:     00005f00
  OS Version:   6.0.6000.2.0.0.768.3
  Locale ID:    2057
  Additional Information 1:     738d
  Additional Information 2:     4006521eea9aecc7f677124b6582e676
  Additional Information 3:     cbc2
  Additional Information 4:     94674fc8932fc2ceeab371c294834e7e
----------


-- 
Sep 07 2007
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1484


braddr puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from braddr puremagic.com  2007-10-20 04:10 -------
Fixed in 1.022/2.005


-- 
Oct 20 2007