[dmd-internals] [D-Programming-Language/dmd] 012222: fix Issue 15500 - default construction disabled fo...
GitHub via dmd-internals
dmd-internals at puremagic.com
Sun Jan 24 14:47:46 PST 2016
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: 0122225c1eb7b4c92a5060fefbc5cae498818d39
https://github.com/D-Programming-Language/dmd/commit/0122225c1eb7b4c92a5060fefbc5cae498818d39
Author: Martin Nowak <code at dawg.eu>
Date: 2016-01-05 (Tue, 05 Jan 2016)
Changed paths:
M src/func.d
M test/compilable/compile1.d
M test/fail_compilation/diag3438.d
A test/fail_compilation/diag3438b.d
Log Message:
-----------
fix Issue 15500 - default construction disabled for struct constructor with default arguments
- fix implementation of #5185, the new check should only
be a deprecation warning for now, but inadvertently
disabled default initialization (`S s;`) by setting
sd.noDefaultCtor
- simplify logic and control flow (only need to check whether
the first parameter has a default argument)
- still allow any kind of variadic constructor (doesn't make
sense to distinguish C from D-style variadics)
We might deprecate those called w/ zero arguments
(`auto s = S();`) on the call-site, but disallowing them
in general seems to drastic.
- Use a deprecation instead of a warning, since using
the -dw switch as default we agreed to no longer abuse
warnings for deprecations, so that people can cleanly compile
with -w. Edgy people insisting on using -de have to immediately
deal w/ deprecations.
Commit: e50f8aa63356b767c713b50c4d944e9b28345de7
https://github.com/D-Programming-Language/dmd/commit/e50f8aa63356b767c713b50c4d944e9b28345de7
Author: David Nadlinger <code at klickverbot.at>
Date: 2016-01-05 (Tue, 05 Jan 2016)
Changed paths:
M src/func.d
M test/compilable/compile1.d
M test/fail_compilation/diag3438.d
A test/fail_compilation/diag3438b.d
Log Message:
-----------
Merge pull request #5331 from MartinNowak/fix15500
fix Issue 15500 - default construction disabled for struct constructor with default arguments
Commit: 8399e29190a31746f695ae517cc28ec29806ae8a
https://github.com/D-Programming-Language/dmd/commit/8399e29190a31746f695ae517cc28ec29806ae8a
Author: Daniel Murphy <yebblies at gmail.com>
Date: 2016-01-06 (Wed, 06 Jan 2016)
Changed paths:
M src/nspace.d
A test/compilable/test15389_x.d
A test/compilable/test15389_y.d
Log Message:
-----------
Merge pull request #5330 from WalterBright/fix15389
fix Issue 15389 - extern(C++) forward referencing problem
Commit: d22b6aeb98d7163a9e003538f36d4ea078b85d64
https://github.com/D-Programming-Language/dmd/commit/d22b6aeb98d7163a9e003538f36d4ea078b85d64
Author: Martin Nowak <code at dawg.eu>
Date: 2016-01-17 (Sun, 17 Jan 2016)
Changed paths:
M src/func.d
M test/compilable/compile1.d
M test/fail_compilation/diag3438.d
A test/fail_compilation/diag3438b.d
Log Message:
-----------
Merge remote-tracking branch 'upstream/stable' into merge_stable
Commit: 1adb2f057918862b0d26a949ac60f73227ac87a4
https://github.com/D-Programming-Language/dmd/commit/1adb2f057918862b0d26a949ac60f73227ac87a4
Author: Martin Nowak <code at dawg.eu>
Date: 2016-01-24 (Sun, 24 Jan 2016)
Changed paths:
M src/func.d
M test/compilable/compile1.d
M test/fail_compilation/diag3438.d
A test/fail_compilation/diag3438b.d
Log Message:
-----------
Merge pull request #5357 from MartinNowak/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
Compare: https://github.com/D-Programming-Language/dmd/compare/3c1e4d53671d...1adb2f057918
More information about the dmd-internals
mailing list