[Issue 1990] Invariant associative arrays broken

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jul 23 06:23:50 PDT 2009


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


ZHOU Zhenyu <rinick at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |rinick at gmail.com
         Resolution|                            |WORKSFORME




--- Comment #1 from ZHOU Zhenyu <rinick at gmail.com>  2009-07-23 06:23:49 PDT ---
(In reply to comment #0)
> The following code compiles, but the resulting program access-violates.
> Removing "invariant" fixes it.
> void main ()
> {
>     invariant bool [string] map = [ "foo":true, "bar":true ];
> }

Works fine with dmd 2.0.31

-- 
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