Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: 9982f52fee882bd78143ce76e8547ef59c8e8454
https://github.com/D-Programming-Language/dmd/commit/9982f52fee882bd78143ce76e8547ef59c8e8454
Author: k-hara <[email protected]>
Date: 2015-04-04 (Sat, 04 Apr 2015)
Changed paths:
M src/expression.c
M test/runnable/variadic.d
Log Message:
-----------
fix Issue 14395 - Typesafe variadic function call collapsed if being used for
default value
Out of function body `__arrayArg` was not initialized by the array literal,
because `VarDeclaraton::semantic()` does not wrap the initializer expression
with ConstructExp when `sc->func == NULL`.
To fix the issue, remove use of temporary variable for typesafe variadic
argument.
Commit: e926becf170376bdefccb5fb1812c0214c7db324
https://github.com/D-Programming-Language/dmd/commit/e926becf170376bdefccb5fb1812c0214c7db324
Author: Walter Bright <[email protected]>
Date: 2015-04-04 (Sat, 04 Apr 2015)
Changed paths:
M src/expression.c
M test/runnable/variadic.d
Log Message:
-----------
Merge pull request #4551 from 9rnsr/fix14395
[REG2.067] Issue 14395 - Typesafe variadic function call collapsed if being
used for default value
Compare:
https://github.com/D-Programming-Language/dmd/compare/b99758d01518...e926becf1703_______________________________________________
dmd-internals mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-internals