Thread overview
[Issue 22919] [dip1000] -checkaction=context gives "assigned to `__assertOp2` with longer lifetime"
Mar 25, 2022
Dlang Bot
Mar 28, 2022
Dlang Bot
March 24, 2022
https://issues.dlang.org/show_bug.cgi?id=22919

moonlightsentinel@disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |moonlightsentinel@disroot.o
                   |                            |rg

--- Comment #1 from moonlightsentinel@disroot.org ---
Probably related to the numerous STC.temp hacks found in escape.d. `__assertOp2` is generated as an explicit temporary whose lifetime is restricted to the statement

--
March 25, 2022
https://issues.dlang.org/show_bug.cgi?id=22919

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@dkorpel created dlang/dmd pull request #13888 "Fix Issue 22919 - -checkaction=context gives "assigned to `__assertOp…" fixing this issue:

- Fix Issue 22919 - -checkaction=context gives "assigned to `__assertOp2` with longer lifetime"

https://github.com/dlang/dmd/pull/13888

--
March 28, 2022
https://issues.dlang.org/show_bug.cgi?id=22919

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #13888 "Fix Issue 22919 - -checkaction=context gives "assigned to `__assertOp…" was merged into master:

- a791ebcb33b2033f73eec353886ddc25181e2b74 by Dennis Korpel:
  Fix Issue 22919 - -checkaction=context gives "assigned to `__assertOp2` with
longer lifetime"

https://github.com/dlang/dmd/pull/13888

--