Thread overview
[Issue 22635] opCast prevent calling destructor for const this.
Mar 31, 2022
Dennis
Apr 17, 2022
Dlang Bot
Apr 17, 2022
Dlang Bot
March 31, 2022
https://issues.dlang.org/show_bug.cgi?id=22635

Dennis <dkorpel@live.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dkorpel@live.nl
           Hardware|x86_64                      |All
                 OS|Linux                       |All

--- Comment #1 from Dennis <dkorpel@live.nl> ---
Looks like this bug was introduced here: https://github.com/dlang/dmd//commit/c9ff5810a2f449f19a39172461d511c895dcb519#diff-c76bae6626df560ca3a9196fbb5213427697c512191b729ece94da2d4e8ca568R1048

--
April 17, 2022
https://issues.dlang.org/show_bug.cgi?id=22635

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 #13999 "Fix issue 22635 - opCast prevent calling destructor for const this" fixing this issue:

- Fix issue 22635 - opCast prevent calling destructor for const this

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

--
April 17, 2022
https://issues.dlang.org/show_bug.cgi?id=22635

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 #13999 "Fix issue 22635 - opCast prevent calling destructor for const this" was merged into master:

- aaaa9a1aec8ecc1d5753356a9811c80291f2a3c7 by Dennis Korpel:
  Fix issue 22635 - opCast prevent calling destructor for const this

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

--