digitalmars.D.bugs - [Issue 3434] New: +f(); should be an invalid statement.
- d-bugmail puremagic.com (22/22) Oct 22 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3434
- d-bugmail puremagic.com (10/10) Feb 20 2012 http://d.puremagic.com/issues/show_bug.cgi?id=3434
- d-bugmail puremagic.com (12/12) Feb 04 2013 http://d.puremagic.com/issues/show_bug.cgi?id=3434
http://d.puremagic.com/issues/show_bug.cgi?id=3434 Summary: +f(); should be an invalid statement. Product: D Version: 2.035 Platform: All OS/Version: All Status: NEW Severity: minor Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: kennytm gmail.com As titled. The following code should cause a compile error. int f() { return 0; } void main () { // -f(); // Error: - has no effect in expression (-f()) +f(); // But this is valid... ? } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 22 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3434 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yebblies gmail.com Why? It does _nothing_ and doesn't survive beyond semantic. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 20 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3434 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |andrej.mitrovich gmail.com Resolution| |INVALID 18:24:35 PST --- I don't see the reason for it either, closing. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 04 2013