[Issue 21950] cod1: Assertion failure for noreturn parameter
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Oct 16 16:00:23 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21950
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@MoonlightSentinel updated dlang/dmd pull request #13179 "e2ir: Rewrite
function calls depending on noreturn arguments " fixing this issue:
- 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