https://d.puremagic.com/issues/show_bug.cgi?id=11777
Kenji Hara <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #12 from Kenji Hara <[email protected]> 2014-04-03 22:19:15 PDT --- (In reply to comment #10) > Let's add `assert(fieldinit != enclosing->fieldinit);` in `Scope::pop` before > we `free(fieldinit)`. This code fails the assertion (and `nofree` is `false`): > --- > void f(void delegate(int)) { } > > class C > { > int i; > this() { f((a) {}); } > } > --- Thanks for your work and shrunken test case! It was much helpful for me. https://github.com/D-Programming-Language/dmd/pull/3423 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
