http://d.puremagic.com/issues/show_bug.cgi?id=6178
--- Comment #16 from Kenji Hara <[email protected]> 2013-04-04 03:11:17 PDT --- (In reply to comment #15) > Than this a part of a bigger shit. > > /* Known as a problem of filling newly created space of AA array > with T.init before assigning actual object. > If operation is interrupted, this leads to AA array containing > "orphan" T.init objects by no reason. Was reported in BZ. > */ > import std.stdio; > > int foo() > { > throw new Exception(""); > } > > int[int] array; > > void main() > { > try > { > array[1] = foo(); > } > catch(Exception e) > { > > } > writeln(array); > } > > Compiling with -O => [1:0] > Compiling with -release => [] > Compiling with -noboundscheck => [] > > So, it appears that there is not only bug with AA assignment, but the bug > depends on compiler options. It was bug 3825, and has already fixed in 2.063 (git head). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
