http://d.puremagic.com/issues/show_bug.cgi?id=10666
--- Comment #2 from Kenji Hara <[email protected]> 2013-09-10 18:07:31 PDT --- (In reply to comment #1) > (In reply to comment #0) > > 2.064: > > $ dmd test.d > > > C:\dmd-git\dmd2\windows\bin\..\..\src\phobos\std\array.d(2287): Error: > > > variable std.array.Appender!(S[]).Appender.put!(S).put.item has scoped > > > destruction, cannot build closure > > The error reporting is a rejects-valid compiler bug. > > https://github.com/D-Programming-Language/dmd/pull/2548 After the compiler fix applied, the OP code with runtime crash will reproduce. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
