[Issue 3882] Unused result of pure functions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Mar 9 12:50:36 PDT 2014
https://d.puremagic.com/issues/show_bug.cgi?id=3882
--- Comment #24 from bearophile_hugs at eml.cc 2014-03-09 12:50:34 PDT ---
(In reply to comment #23)
> Perhaps I am missing something, but I am not seeing a warning with this code:
>
>
> int foo(int x) pure nothrow {
> return x - 1;
> }
> void main() {
> foo(5);
> }
Ignore my comment please, the commit apparently was just for Phobos. Sorry.
--
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