Delegate is left with a destroyed stack object

Ali Çehreli acehreli at yahoo.com
Wed Oct 30 14:15:37 PDT 2013


On 10/29/2013 10:55 AM, Ali Çehreli wrote:

 > Continuing the conversation from the following thread:
 >
 >    http://forum.dlang.org/post/l4mi8l$1r1$1@digitalmars.com

Kenji Hara added there:

=====
The combination of closure variables + scoped destruction should
be rejected, but currently it isn't. It's a compiler bug.

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

Kenji Hara
=====

Ali



More information about the Digitalmars-d mailing list