[Issue 11461] `Error`s are not thrown as `pure nothrow` functions are optimized out with "-O -release"
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Mar 22 05:32:39 PDT 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11461
bearophile_hugs at eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bearophile_hugs at eml.cc
--- Comment #12 from bearophile_hugs at eml.cc 2014-03-22 05:32:37 PDT ---
(In reply to comment #5)
> (In reply to comment #3)
> > Interesting btw, such a function will either never or always throw an Error.
>
> The fix is fairly simple, we need a way to annotate noreturn functions.
On this there is no DIP and perhaps not even an enhancement request.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list