http://d.puremagic.com/issues/show_bug.cgi?id=10928
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #3 from [email protected] 2013-08-30 08:47:35 PDT --- (In reply to comment #2) > For reference, an "in-the-wild" example of such an error: > http://forum.dlang.org/post/[email protected] > http://forum.dlang.org/thread/[email protected] > > This is a concern as it potentially blocks the ability to move forward with > necessary redesign work on random number generation in Phobos. Currently, a *workaround* is to avoid lambdas in favor of named: //---- struct D { int x; ~this() { } } void foo(D bar) { void do_it(){ bar.x++; } do_it(); } void main() { foo(D.init); } //---- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
