[Issue 22373] Glue layer rejects cast from noreturn to other type
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Oct 9 23:47:34 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22373
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at 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
--
More information about the Digitalmars-d-bugs
mailing list