https://d.puremagic.com/issues/show_bug.cgi?id=12120
--- Comment #6 from Kenji Hara <[email protected]> 2014-02-09 19:35:13 PST --- (In reply to comment #4) > If I understood this change correctly, I don't think it is a good change, as I > mentioned in the pull request: > https://github.com/D-Programming-Language/dmd/pull/3221 > > This issue only serves as further evidence towards that. I opened an enhancement issue 12124. (In reply to comment #5) > Kenji the idea that this syntax "Foo foo = Foo();" would not be supported if > another constructor is available is a bit too constraining. Do complex work with the syntax Foo() is not recommended in D language design. In D, Foo foo = Foo(); is normally equivalent with Foo foo;. It is important in generic code. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
