July 31, 2011 [dmd-internals] [D-Programming-Language/dmd] 19de6b: 6399 [CTFE] struct member array.length -= x doesn'... | ||||
---|---|---|---|---|
| ||||
Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 19de6bfa3b9b547ed178be01140a396f411fe350 https://github.com/D-Programming-Language/dmd/commit/19de6bfa3b9b547ed178be01140a396f411fe350 Author: Don Clugston <dclugston at googlemail.com> Date: 2011-07-30 (Sat, 30 Jul 2011) Changed paths: M src/interpret.c Log Message: ----------- 6399 [CTFE] struct member array.length -= x doesn't work Compiler rewrites this to (*p).length = (*p).length - x. Need to add support for changing length through a pointer. Commit: 956a234e19194d4e3e2a835e696a2a021343f19e https://github.com/D-Programming-Language/dmd/commit/956a234e19194d4e3e2a835e696a2a021343f19e Author: Don Clugston <dclugston at googlemail.com> Date: 2011-07-30 (Sat, 30 Jul 2011) Changed paths: M test/compilable/interpret3.d Log Message: ----------- Test case for 6399 Commit: 45eaabec493136cef20efd33c87afdf33876d444 https://github.com/D-Programming-Language/dmd/commit/45eaabec493136cef20efd33c87afdf33876d444 Author: Walter Bright <walter at walterbright.com> Date: 2011-07-31 (Sun, 31 Jul 2011) Changed paths: M src/constfold.c M src/interpret.c M test/compilable/interpret3.d Log Message: ----------- Merge pull request #284 from donc/ctfebreak CTFE fixes for 4682 6250 6306 6386 6399 Compare: https://github.com/D-Programming-Language/dmd/compare/263cebd...45eaabe |
Copyright © 1999-2021 by the D Language Foundation