[Issue 3882] Unused result of pure functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 1 14:43:54 PST 2014


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



--- Comment #11 from Per Nordlöw <per.nordlow at gmail.com> 2014-03-01 14:43:50 PST ---
(In reply to comment #10)
> https://github.com/D-Programming-Language/dmd/pull/3342

This pull request adds warnings for unused non-void returns of calls to
strictly pure function calls. For this to work Phobos had to altered in handful
of places were non-void returns were not captured. For this see also:

https://github.com/nordlow/phobos/compare/warn-unused-returns?expand=1

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