[Issue 3231] New: Function declared to return a type with its same name doesn't compile

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Aug 6 16:36:20 PDT 2009


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

           Summary: Function declared to return a type with its same name
                    doesn't compile
           Product: D
           Version: 2.032
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: blocker
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: tim.matthews7 at gmail.com


class Bar
{
}

class Foo
{
    Bar Bar(); //declare a func without the implementation
}

void main()
{
}

-- 
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