[dmd-internals] [D-Programming-Language/dmd] cb8321: Fix issue 7890 [CTFE] - segfault for struct litera...

GitHub noreply at github.com
Tue Dec 4 16:21:25 PST 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: cb832187045782c786148db9a0bc19ace073a291
      https://github.com/D-Programming-Language/dmd/commit/cb832187045782c786148db9a0bc19ace073a291
  Author: Don Clugston <don.clugston at sociomantic.com>
  Date:   2012-12-03 (Mon, 03 Dec 2012)

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

  Log Message:
  -----------
  Fix issue 7890 [CTFE] - segfault for struct literal with AA field

The type of the AA was set incorrectly. When expression is x[n]=y, type of the AA
is x, not x[n].


  Commit: 094ea6ebfabc3c2d7dd1bda39b04e2a3f2309140
      https://github.com/D-Programming-Language/dmd/commit/094ea6ebfabc3c2d7dd1bda39b04e2a3f2309140
  Author: Hara Kenji <k.hara.pg+dev at gmail.com>
  Date:   2012-12-04 (Tue, 04 Dec 2012)

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

  Log Message:
  -----------
  Merge pull request #1348 from donc/segfault7890ctfeAAinStruct

Fix issue 7890 [CTFE] - segfault for struct literal with AA field


Compare: https://github.com/D-Programming-Language/dmd/compare/cf5a24784cf4...094ea6ebfabc


More information about the dmd-internals mailing list