digitalmars.D.bugs - [Issue 1990] New: Invariant associative arrays broken
- d-bugmail puremagic.com (19/19) Apr 12 2008 http://d.puremagic.com/issues/show_bug.cgi?id=1990
- d-bugmail puremagic.com (13/19) Jul 23 2009 http://d.puremagic.com/issues/show_bug.cgi?id=1990
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 ]; } --
Apr 12 2008
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| |WORKSFORMEThe 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: -------
Jul 23 2009