digitalmars.D.bugs - [Issue 7235] New: throwing away return value of pure function should yield an error
- d-bugmail puremagic.com (25/25) Jan 05 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7235
- d-bugmail puremagic.com (11/11) Jan 05 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7235
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: -------
Jan 05 2012
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: -------
Jan 05 2012