[Issue 10666] Regresion (2.064 git-head, 2.053+): Appender does not work with a RefCounted type

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 10 18:07:31 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10666



--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> 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: -------


More information about the Digitalmars-d-bugs mailing list