December 27, 2009
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


--- Comment #0 from Witold Baryluk <baryluk@smp.if.uj.edu.pl> 2009-12-26 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: -------
July 01, 2010
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


--- Comment #1 from bearophile_hugs@eml.cc 2010-07-01 09:34:46 PDT ---
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: -------