[Issue 22389] noreturn functions are allowed to return normally
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Oct 21 21:39:30 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22389
--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #13209 "Merge stable into master" was merged into
master:
- ae8b0e008805bf575eefdacf4faef7114532b3fb by Florian:
Fix 22389 - Check that noreturn functions don't return normally (#13173)
Such functions are malformed and hence could cause undefined behavior
at the call site.
https://github.com/dlang/dmd/pull/13209
--
More information about the Digitalmars-d-bugs
mailing list