[dmd-internals] [D-Programming-Language/dmd] 1962ce: Fix issue 10198 CTFE struct Multidimensional block...
GitHub
noreply at github.com
Fri Jul 5 01:59:37 PDT 2013
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: 1962ce651883a323c73cfecbe01aa05c7bb16595
https://github.com/D-Programming-Language/dmd/commit/1962ce651883a323c73cfecbe01aa05c7bb16595
Author: Don Clugston <emailsdontbelong at inarepository.com>
Date: 2013-07-02 (Tue, 02 Jul 2013)
Changed paths:
M src/ctfeexpr.c
M src/todt.c
M test/compilable/interpret3.d
M test/runnable/test42.d
Log Message:
-----------
Fix issue 10198 CTFE struct Multidimensional block assignment
There are two bugs. (1) The code in todt.c ignored the possibility
that an initializer could be explicitly specified in the struct literal.
This is not the same as an initializer specified in the declaration of
the field.
This wrong behaviour was actually coded into a test in test42.d.
(2) The CTFE code didn't consider the multidimensional case.
Commit: b9b5c063d7f44b879d6fde74f400ff094ba85707
https://github.com/D-Programming-Language/dmd/commit/b9b5c063d7f44b879d6fde74f400ff094ba85707
Author: Walter Bright <walter at walterbright.com>
Date: 2013-07-05 (Fri, 05 Jul 2013)
Changed paths:
M src/ctfeexpr.c
M src/todt.c
M test/compilable/interpret3.d
M test/runnable/test42.d
Log Message:
-----------
Merge pull request #2094 from donc/ctfe10198multiblock
Fix issue 10198 CTFE struct Multidimensional block assignment
Compare: https://github.com/D-Programming-Language/dmd/compare/fcf2ed507123...b9b5c063d7f4
More information about the dmd-internals
mailing list