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: nob...@puremagic.com
        ReportedBy: bary...@smp.if.uj.edu.pl


--- Comment #0 from Witold Baryluk <bary...@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: -------

Reply via email to