digitalmars.D.bugs - [Issue 3654] New: auto return doesn't work for nested functions
- d-bugmail puremagic.com (26/26) Dec 26 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3654
- d-bugmail puremagic.com (14/14) Jul 01 2010 http://d.puremagic.com/issues/show_bug.cgi?id=3654
http://d.puremagic.com/issues/show_bug.cgi?id=3654 Summary: auto return doesn't work for nested functions Product: D Version: 2.036 Platform: Other OS/Version: Linux Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: baryluk smp.if.uj.edu.pl 18:55:31 PST --- Title says it all, example: module aaa; void foo() { auto bar() { return 1; } } $ dmd2.037 -c aaa.d aaa.d(2): no identifier for declarator bar aaa.d(2): semicolon expected, not '{' -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 26 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3654 bearophile_hugs eml.cc changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bearophile_hugs eml.cc Resolution| |DUPLICATE I close this bug as duplicate because despite being older the bug 4401 seems to have some kind of patch. *** This issue has been marked as a duplicate of issue 4401 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 01 2010