https://d.puremagic.com/issues/show_bug.cgi?id=3882
bearophile_h...@eml.cc changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #35 from bearophile_h...@eml.cc 2014-03-21 12:37:55 PDT --- Now this code: int foo(int x) pure nothrow { return x - 1; } void main() { foo(5); } Gives: test.d(5,8): Warning: Call to strictly pure function test.foo discards return value of type int, prepend a cast(void) if intentional Issue fixed. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------