October 05, 2011 [dmd-internals] [D-Programming-Language/dmd] 85af04: 6769 [CTFE] AA.keys doesn't compile when -inline i... | ||||
---|---|---|---|---|
| ||||
Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 85af04b5f02277ae8ae49b3a7d11ce20180ce5cd https://github.com/D-Programming-Language/dmd/commit/85af04b5f02277ae8ae49b3a7d11ce20180ce5cd Author: Don Clugston <dclugston at googlemail.com> Date: 2011-10-05 (Wed, 05 Oct 2011) Changed paths: M src/interpret.c Log Message: ----------- 6769 [CTFE] AA.keys doesn't compile when -inline is used Undo the transformations which the inliner has done on the built-in AA properties. We really need to clean up the runtime, what it's doing is unnecessarily disgusting. A side-effect of the implementation is that casts from &int[7] to int[]* are now supported in CTFE. Commit: 2d71927e0cfb7e46232f227d825135c2d576d315 https://github.com/D-Programming-Language/dmd/commit/2d71927e0cfb7e46232f227d825135c2d576d315 Author: Don Clugston <dclugston at googlemail.com> Date: 2011-10-05 (Wed, 05 Oct 2011) Changed paths: M test/compilable/interpret3.d Log Message: ----------- Test case for 6769 Commit: 13431d21af92f622839e958caa7e3eb80f14fa1b https://github.com/D-Programming-Language/dmd/commit/13431d21af92f622839e958caa7e3eb80f14fa1b Author: Don Clugston <dclugston at googlemail.com> Date: 2011-10-05 (Wed, 05 Oct 2011) Changed paths: M src/interpret.c Log Message: ----------- CTFE: Combine D1 and D2 treatment of AAs A couple of minor changes is enough to make the code identical, allowing two functions to be completely removed. Also fixes a D1 bug in the type of .values and .keys. Commit: f203224b494c894eb708eaed32b3e753683dd75b https://github.com/D-Programming-Language/dmd/commit/f203224b494c894eb708eaed32b3e753683dd75b Author: Walter Bright <walter at walterbright.com> Date: 2011-10-05 (Wed, 05 Oct 2011) Changed paths: M src/interpret.c M test/compilable/interpret3.d Log Message: ----------- Merge pull request #432 from donc/ctfebreak Fix CTFE AA bug 6769, which is breaking the autotester. Compare: https://github.com/D-Programming-Language/dmd/compare/804f614...f203224 |
Copyright © 1999-2021 by the D Language Foundation