[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
Fri Nov 15 01:35:59 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11461



--- Comment #5 from Martin Nowak <code at dawg.eu> 2013-11-15 01:35:56 PST ---
(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.

-- 
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