[dmd-internals] [D-Programming-Language/dmd] e001f9: 6739 [CTFE] Cannot set a value to an outer AA of a...

noreply at github.com noreply at github.com
Fri Sep 30 14:24:35 PDT 2011


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

  Commit: e001f94d281eac901825739060aff2718ea2ee18
      https://github.com/D-Programming-Language/dmd/commit/e001f94d281eac901825739060aff2718ea2ee18
  Author: Don Clugston <dclugston at googlemail.com>
  Date:   2011-09-30 (Fri, 30 Sep 2011)

  Changed paths:
    M src/interpret.c

  Log Message:
  -----------
  6739 [CTFE] Cannot set a value to an outer AA of a nested AA

There are two special cases for nested AAs:
(1) the whole thing is null -- this was bug 6693
(2) an AA literal exists, but one of the early indices isn't in it.
This commit fixes the second case.


  Commit: 3dc6dd936a8c43a1ca3e555c2cb12af962db791a
      https://github.com/D-Programming-Language/dmd/commit/3dc6dd936a8c43a1ca3e555c2cb12af962db791a
  Author: Don Clugston <dclugston at googlemail.com>
  Date:   2011-09-30 (Fri, 30 Sep 2011)

  Changed paths:
    M test/compilable/interpret3.d

  Log Message:
  -----------
  Test case for 6739


  Commit: b50befdba56f00368ffaef0e9cbcd5f20c79899b
      https://github.com/D-Programming-Language/dmd/commit/b50befdba56f00368ffaef0e9cbcd5f20c79899b
  Author: Don Clugston <dclugston at googlemail.com>
  Date:   2011-09-30 (Fri, 30 Sep 2011)

  Changed paths:
    M src/interpret.c

  Log Message:
  -----------
  CTFE: Add .init location to the backtrace

If a function is called from inside an initializer, up to now the location
which invoked the initializer hasn't been displayed. This made bugs very
difficult to track down.


  Commit: e1a3863902335f49de8f8758895b94107cb5c19f
      https://github.com/D-Programming-Language/dmd/commit/e1a3863902335f49de8f8758895b94107cb5c19f
  Author: Don Clugston <dclugston at googlemail.com>
  Date:   2011-09-30 (Fri, 30 Sep 2011)

  Changed paths:
    M src/interpret.c

  Log Message:
  -----------
  CTFE: make recursion limit a #define

...instead of a magic number buried in the code.


  Commit: a61fd87d741ed0367e709c705e4646794c6f5006
      https://github.com/D-Programming-Language/dmd/commit/a61fd87d741ed0367e709c705e4646794c6f5006
  Author: Walter Bright <walter at walterbright.com>
  Date:   2011-09-30 (Fri, 30 Sep 2011)

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

  Log Message:
  -----------
  Merge pull request #421 from donc/ctfebreak

Fix CTFE ICE bugs 6672 and 2315; fix nested AAs 6739


Compare: https://github.com/D-Programming-Language/dmd/compare/fac2d51...a61fd87


More information about the dmd-internals mailing list