September 03, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2332

           Summary: Initializing const or invariant hashes croaks
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: andrei@metalanguage.com


This program crashes. Also crashes if you replace const with invariant.

const bool[string] stopWords;

static this()
{
    stopWords = [ "a"[]:1 ];
}

void main()
{
    "abc" in stopWords;
}


-- 

October 21, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2332


bugzilla@digitalmars.com changed:

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




------- Comment #1 from bugzilla@digitalmars.com  2008-10-20 22:22 -------
Fixed dmd 2.020


--