Thread overview | |||||
---|---|---|---|---|---|
|
April 12, 2013 [Issue 9925] New: Constructor with all arguments having a default value is not interpreted as a default constructor | ||||
---|---|---|---|---|
| ||||
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 --- Comment #0 from Leandro Lucarella <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: ------- |
April 12, 2013 [Issue 9925] Constructor with all arguments having a default value is not interpreted as a default constructor | ||||
---|---|---|---|---|
| ||||
Posted in reply to Leandro Lucarella | 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 --- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-04-12 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: ------- |
April 12, 2013 [Issue 9925] Constructor with all arguments having a default value is not interpreted as a default constructor | ||||
---|---|---|---|---|
| ||||
Posted in reply to Leandro Lucarella | http://d.puremagic.com/issues/show_bug.cgi?id=9925 --- Comment #2 from Leandro Lucarella <leandro.lucarella@sociomantic.com> 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: ------- |
Copyright © 1999-2021 by the D Language Foundation