[Issue 21950] cod1: Assertion failure for noreturn parameter

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 17 01:52:28 UTC 2021


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

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 #13179 "Fix 21950: Rewrite function calls depending on
noreturn arguments " was merged into stable:

- 783821f852836d3acd4fd815b1ef8f2161f33010 by MoonlightSentinel:
  Fix 21950: Rewrite function calls depending on noreturn arguments

  Replaces the function call with the evaluation of the arguments up to
  the first `noreturn` parameter. The remaining arguments / the function
  call will never be executed anyways and the backend cannot handle
  noreturn parameters.

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

--


More information about the Digitalmars-d-bugs mailing list