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

--- Comment #3 from Dlang Bot <[email protected]> ---
dlang/dmd pull request #12768 "Merge stable into master" was merged into
master:

- 346de2d11de903bf95c7a6e573ef717110491e9c by MoonlightSentinel:
  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/12768

--

Reply via email to