[Issue 9739] DMD not considering ctor with default args as default ctor
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Mar 16 20:46:06 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9739
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrej.mitrovich at gmail.com,
| |k.hara.pg at gmail.com
--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-03-16 20:46:04 PDT ---
This is caused by:
https://github.com/D-Programming-Language/dmd/pull/1439
I think I've already tried to change how the 'defaultCtor' field is set, but I
think that change got rejected, or maybe it was part of a pull that wasn't yet
merged.
In hindsight I should have written more elaborate tests.
@Kenji: Do you know why the code which sets `ad->defaultCtor = this;` doesn't
check for defaulted parameters? That code is at the end of
`CtorDeclaration::semantic`
--
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