[Issue 22373] Glue layer rejects cast from noreturn to other type
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Oct 10 00:37:16 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22373
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Dlang Bot <dlang-bot at 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
--
More information about the Digitalmars-d-bugs
mailing list