[Issue 10198] CTFE: Wrong code for multi-dimensional block assignment

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 5 01:59:43 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10198



--- Comment #2 from github-bugzilla at puremagic.com 2013-07-05 01:59:42 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/1962ce651883a323c73cfecbe01aa05c7bb16595
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.

https://github.com/D-Programming-Language/dmd/commit/b9b5c063d7f44b879d6fde74f400ff094ba85707
Merge pull request #2094 from donc/ctfe10198multiblock

Fix issue 10198 CTFE struct Multidimensional block assignment

-- 
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