January 05, 2012 [Issue 7235] New: throwing away return value of pure function should yield an error | ||||
---|---|---|---|---|
| ||||
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: nobody@puremagic.com ReportedBy: mrmocool@gmx.de --- Comment #0 from Trass3r <mrmocool@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: ------- |
January 05, 2012 [Issue 7235] throwing away return value of pure function should yield an error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | http://d.puremagic.com/issues/show_bug.cgi?id=7235 Trass3r <mrmocool@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Trass3r <mrmocool@gmx.de> 2012-01-05 14:38:57 PST --- *** This issue has been marked as a duplicate of issue 3882 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation