May 10, 2011 [dmd-internals] [D-Programming-Language/dmd] c4604f: 5972 CTFE: Can't assign to elements of arrays of s... | ||||
---|---|---|---|---|
| ||||
Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: c4604f136689660c8926b8eb06de0d1d104b7641 https://github.com/D-Programming-Language/dmd/commit/c4604f136689660c8926b8eb06de0d1d104b7641 Author: Don Clugston <dclugston at googlemail.com> Date: 2011-05-10 (Tue, 10 May 2011) Changed paths: M src/interpret.c Log Message: ----------- 5972 CTFE: Can't assign to elements of arrays of slices Array literals can contain slices, as well as other array literals. Thus, assignment to array elements and to array slices needs to consider the possibility that it is a slice which gets modified. This commit implements a general solution: it completes the implementation of lvalue returns for DotVar, Slice, and Index expressions. As a nice side-effect, the code size decreases. Commit: 7ff48a5e4c396e8615a5327a34614095001bab11 https://github.com/D-Programming-Language/dmd/commit/7ff48a5e4c396e8615a5327a34614095001bab11 Author: Don Clugston <dclugston at googlemail.com> Date: 2011-05-10 (Tue, 10 May 2011) Changed paths: M test/compilable/interpret3.d Log Message: ----------- Test cases for bug 5972 Commit: 808105a4c67550a25de86fefb11c6883ebfc9509 https://github.com/D-Programming-Language/dmd/commit/808105a4c67550a25de86fefb11c6883ebfc9509 Author: Don Clugston <dclugston at googlemail.com> Date: 2011-05-10 (Tue, 10 May 2011) Changed paths: M test/compilable/interpret3.d Log Message: ----------- Test cases for 4001 and 3779 Commit: 223c47fa0d494e0ecd7e266ae9489ce5d2daee39 https://github.com/D-Programming-Language/dmd/commit/223c47fa0d494e0ecd7e266ae9489ce5d2daee39 Author: Walter Bright <walter at walterbright.com> Date: 2011-05-10 (Tue, 10 May 2011) Changed paths: M src/interpret.c M test/compilable/interpret3.d Log Message: ----------- Merge pull request #65 from donc/ctfe5966 Fix for bug 5972: CTFE: Can't assign to elements of arrays of slices Compare: https://github.com/D-Programming-Language/dmd/compare/fb3c67b...223c47f |
Copyright © 1999-2021 by the D Language Foundation