[Issue 22389] noreturn functions are allowed to return normally

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 15 13:13:21 UTC 2021


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

Dlang Bot <dlang-bot at dlang.rocks> changed:

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

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@MoonlightSentinel created dlang/dmd pull request #13173 "Fix 22389 - Check
that noreturn functions don't return normally" fixing this issue:

- Fix 22389 - Check that noreturn functions don't return normally

  Such functions are malformed and hence could cause undefined behavior
  at the call site.

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

--


More information about the Digitalmars-d-bugs mailing list