Thread overview
[Issue 22373] Glue layer rejects cast from noreturn to other type
Oct 09, 2021
Dlang Bot
Oct 10, 2021
Dlang Bot
Oct 10, 2021
Dlang Bot
October 09, 2021
https://issues.dlang.org/show_bug.cgi?id=22373

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

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

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@MoonlightSentinel created dlang/dmd pull request #13144 "Fix 22373 - Handle casts from noreturn in e2ir.d " fixing this issue:

- Fix 22373 - Handle casts from noreturn in e2ir.d

  Ignore the cast and only emit the `noreturn` expression - which will
  abort / throw and hence never reach the cast.

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

--
October 10, 2021
https://issues.dlang.org/show_bug.cgi?id=22373

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #13144 "Fix 22373 - Handle casts from noreturn in e2ir.d " was merged into stable:

- f22d1b05c7e7de5b5e17d3297c718673f167e5c2 by MoonlightSentinel:
  Fix 22373 - Handle casts from noreturn in e2ir.d

  Ignore the cast and only emit the `noreturn` expression - which will
  abort / throw and hence never reach the cast.

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

--
October 10, 2021
https://issues.dlang.org/show_bug.cgi?id=22373

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #13149 "merge stable" was merged into master:

- 6f0fc97dffa0745af1b2f39a8a7022c8afd69e57 by MoonlightSentinel:
  Fix 22373 - Handle casts from noreturn in e2ir.d

  Ignore the cast and only emit the `noreturn` expression - which will
  abort / throw and hence never reach the cast.

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

--