[Issue 7060] New: parser bug "auto foo()in{}body{}"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Dec 3 06:15:36 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=7060

           Summary: parser bug "auto foo()in{}body{}"
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: timon.gehr at gmx.ch


--- Comment #0 from timon.gehr at gmx.ch 2011-12-03 06:14:30 PST ---
The parser does not recognize auto return declarations with contracts:

auto foo()in{}body{}

function declaration without return type. (Note that constructors are\
 always named 'this')
no identifier for declarator foo()

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list