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

           Summary: Constructor with all arguments having a default value
                    is not interpreted as a default constructor
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Leandro Lucarella <[email protected]> 
2013-04-12 08:47:46 PDT ---
Test case:

---
class C : B
{
}

class B
{
    this(int n = 1)
    {
    }
}
---

This was broken by this commit:

https://github.com/D-Programming-Language/dmd/commit/14d466438f3e2714dbda6672645653d472c7bcd2

Tracked down in branch dmd-1.x with git bisect, which said this merge was the
one introducing the regression:

https://github.com/D-Programming-Language/dmd/pull/1439

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

Reply via email to