[Issue 20167] Issue warning when result discarded from strong pure function?
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Aug 26 00:54:27 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=20167
--- Comment #2 from Manu <turkeyman at gmail.com> ---
Interesting.
I did this same test, but I didn't have `nothrow`.
Why wasn't `nothrow` inferred for this trivial function where the source is as
plain as day to the compiler?
We're meant to be all about attribute inference these days.
--
More information about the Digitalmars-d-bugs
mailing list