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

Dlang Bot <[email protected]> changed:

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

--- Comment #1 from Dlang Bot <[email protected]> ---
@MoonlightSentinel created dlang/dmd pull request #12633 "Fix 21993 - Implement
cast(noreturn)" fixing this issue:

- Fix 21993 - Implement cast(noreturn)

  Rewrite `cast(<qual> noreturn) <exp>` as `<exp>, assert(false)`.

  DIP:
  > Every type is allowed to be explicitly cast to noreturn. (Not to be
  > confused with noreturn implicitly casting to every type.) It generates
  > an assert(0):

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

--

Reply via email to