[Issue 24010] Destructor called before end of scope for tuples

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 24 11:06:39 UTC 2023


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

--- Comment #1 from johanengelen at weka.io ---
The problem seems to be that the frontend treats/sets up the tuple as a
temporary variable (valid for the duration of that expression only), instead of
generating the ~this() calls at end of scope like it does for normal variables.

--


More information about the Digitalmars-d-bugs mailing list