http://d.puremagic.com/issues/show_bug.cgi?id=7235
Summary: throwing away return value of pure function should yield an error Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: accepts-invalid, diagnostic Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: mrmoc...@gmx.de --- Comment #0 from Trass3r <mrmoc...@gmx.de> 2012-01-05 14:15:03 PST --- pure int foo() {return 1;} void main() { foo(); } Doesn't make any sense to me. closely related to http://d.puremagic.com/issues/show_bug.cgi?id=3572 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------