[Issue 22389] noreturn functions are allowed to return normally
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Oct 16 09:02:33 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22389
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 #13173 "Fix 22389 - Check that noreturn functions don't
return normally" was merged into stable:
- 1613545d1978a489e471327de9433b0236017a55 by MoonlightSentinel:
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