digitalmars.D.bugs - [Issue 9925] New: Constructor with all arguments having a default value is not interpreted as a default constructor
- d-bugmail puremagic.com (34/34) Apr 12 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9925
- d-bugmail puremagic.com (13/13) Apr 12 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9925
- d-bugmail puremagic.com (6/6) Apr 12 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9925
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: nobody puremagic.com
ReportedBy: leandro.lucarella sociomantic.com
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: -------
Apr 12 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9925
Andrej Mitrovic <andrej.mitrovich gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |andrej.mitrovich gmail.com
Resolution| |DUPLICATE
08:49:18 PDT ---
Fixed recently.
*** This issue has been marked as a duplicate of issue 9739 ***
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 12 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9925 2013-04-12 08:52:24 PDT --- Oh, I forgot to update my DMD2 before testing, but this is still present in D1. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 12 2013









d-bugmail puremagic.com 