[Issue 22373] Glue layer rejects cast from noreturn to other type

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 10 23:13:23 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=22373

--- Comment #3 from Dlang Bot <dlang-bot at 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

--


More information about the Digitalmars-d-bugs mailing list