[Issue 3882] Unused result of pure functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 1 15:43:04 PST 2014


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



--- Comment #14 from bearophile_hugs at eml.cc 2014-03-01 15:43:03 PST ---
(In reply to comment #13)

> It still think it would be useful to also show the context of the called
> function. What do you think?

What's the context of the called function?

Do you mean a message like this?

Warning: Function call to pure function foo(x) discards int return value,
prepend a cast(void) if intentional.

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