April 12, 2008 [Issue 1990] New: Invariant associative arrays broken | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1990 Summary: Invariant associative arrays broken Product: D Version: 2.012 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: bartosz@relisoft.com The following code compiles, but the resulting program access-violates. Removing "invariant" fixes it. void main () { invariant bool [string] map = [ "foo":true, "bar":true ]; } -- |
July 23, 2009 [Issue 1990] Invariant associative arrays broken | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1990 ZHOU Zhenyu <rinick@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |rinick@gmail.com Resolution| |WORKSFORME --- Comment #1 from ZHOU Zhenyu <rinick@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: ------- |
Copyright © 1999-2021 by the D Language Foundation