|--- |FIXED
--- Comment #7 from Dlang Bot ---
dlang/dmd pull request #15351 "Fix Issue 24010 - Destructor called before end
of scope for tuples" was merged into master:
- 597e133324fac8c1ded4d93186969727fd095fa7 by Boris Carvajal:
Fix Issue 24010 - Destructor called before en
https://issues.dlang.org/show_bug.cgi?id=24010
--- Comment #6 from Dlang Bot ---
@WalterBright created dlang/dmd pull request #15366 "fix Issue 24010 -
Destructor called before end of scope for tuples" fixing this issue:
- fix Issue 24010 - Destructor called before end of scope
---
@BorisCarvajal created dlang/dmd pull request #15351 "Fix Issue 24010 -
Destructor called before end of scope for tuples" fixing this issue:
- Fix Issue 24010 - Destructor called before end of scope for tuples
https://github.com/dlang/dmd/pull/15351
--
https://issues.dlang.org/show_bug.cgi?id=24010
Boris Carvajal changed:
What|Removed |Added
CC||jappleg...@gmail.com
--- Comment #3 from
https://issues.dlang.org/show_bug.cgi?id=24010
Boris Carvajal changed:
What|Removed |Added
CC||destructiona...@gmail.com
--- Comment #4
https://issues.dlang.org/show_bug.cgi?id=24010
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
--- Comment #2
https://issues.dlang.org/show_bug.cgi?id=24010
--- Comment #1 from johanenge...@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
https://issues.dlang.org/show_bug.cgi?id=24010
johanenge...@weka.io changed:
What|Removed |Added
Keywords||industry
--