[Issue 3882] Unused result of pure functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 1 15:47:08 PST 2014


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



--- Comment #15 from Per Nordlöw <per.nordlow at gmail.com> 2014-03-01 15:47:07 PST ---
(In reply to comment #14)
> (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?

I mean the place were it's defined.

Here's my proposal:

t.d(30,17): Warning: Call to strictly pure function f() discards return value,
prepend a cast(void) if intentional
t.d(18,22):        function defined here

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