https://issues.dlang.org/show_bug.cgi?id=24798

Tim <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Tim <[email protected]> ---
This could be related to these issues:
Issue 11382 - Bad closure variable with scoped destruction
Issue 24120 - Closures break constructor/destructor safety

DMD also contains a comment for destructors in closures:
https://github.com/dlang/dmd/blob/00df883e9f32c34a070e4ff74783c33416848dc9/compiler/src/dmd/toir.d#L800
BUG: doesn't handle destructors for the local variables. ...

--

Reply via email to