[dmd-internals] [D-Programming-Language/dmd] 89f3ca: CTFE: aa.keys and aa.values should return a dup

noreply at github.com noreply at github.com
Fri May 27 21:48:38 PDT 2011


Branch: refs/heads/master
Home:   https://github.com/D-Programming-Language/dmd

Commit: 89f3cabad92df65db22151e33fc70b0fc6e0d1a0
    https://github.com/D-Programming-Language/dmd/commit/89f3cabad92df65db22151e33fc70b0fc6e0d1a0
Author: Don Clugston <dclugston at googlemail.com>
Date:   2011-05-26 (Thu, 26 May 2011)

Changed paths:
  M src/interpret.c

Log Message:
-----------
CTFE: aa.keys and aa.values should return a dup

Previously the AA literal was getting modified.


Commit: 9476bd71ef0ff07ad909181f92956a836d0d005b
    https://github.com/D-Programming-Language/dmd/commit/9476bd71ef0ff07ad909181f92956a836d0d005b
Author: Don Clugston <dclugston at googlemail.com>
Date:   2011-05-26 (Thu, 26 May 2011)

Changed paths:
  M test/compilable/interpret3.d

Log Message:
-----------
Test cases for assignment to AA keys + values.


Commit: 6acc4822c0b3c2a43d2bbe47c7018b078aee93c9
    https://github.com/D-Programming-Language/dmd/commit/6acc4822c0b3c2a43d2bbe47c7018b078aee93c9
Author: Don Clugston <dclugston at googlemail.com>
Date:   2011-05-27 (Fri, 27 May 2011)

Changed paths:
  M src/interpret.c

Log Message:
-----------
6054 [CTFE] ICE when returning a returned compile-time associative array containing a key of an idup-ed array literal

syntaxCopy doesn't work when copying AA literals (the type info gets lost).
Instead, every key and value needs to be copied.


Commit: d7c55175d3789b431b79edd1e6b487ea5f7a238b
    https://github.com/D-Programming-Language/dmd/commit/d7c55175d3789b431b79edd1e6b487ea5f7a238b
Author: Don Clugston <dclugston at googlemail.com>
Date:   2011-05-27 (Fri, 27 May 2011)

Changed paths:
  M test/compilable/interpret3.d

Log Message:
-----------
Test case for 6054


Commit: de34cfdbf887097a717e8b27c88f605e852c8db9
    https://github.com/D-Programming-Language/dmd/commit/de34cfdbf887097a717e8b27c88f605e852c8db9
Author: Walter Bright <walter at walterbright.com>
Date:   2011-05-27 (Fri, 27 May 2011)

Changed paths:
  M src/interpret.c
  M test/compilable/interpret3.d

Log Message:
-----------
Merge pull request #76 from donc/ctfe5966

Fixes for three recent CTFE regressions


Compare: https://github.com/D-Programming-Language/dmd/compare/2f85bab...de34cfd


More information about the dmd-internals mailing list