The following code compiles, but the resulting program access-violates. Removing "invariant" fixes it.
void main ()
{
invariant bool [string] map = [ "foo":true, "bar":true ];
}
Comment #1 by rinick — 2009-07-23T06:23:49Z
(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