[dmd-internals] [D-Programming-Language/dmd] 767708: 6984 CTFE generates a torrent of spurious errors, ...

noreply at github.com noreply at github.com
Wed Dec 21 14:17:31 PST 2011


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

  Commit: 767708299a408b4a234ee9ad4f45b0e6e0c21e6d
      https://github.com/D-Programming-Language/dmd/commit/767708299a408b4a234ee9ad4f45b0e6e0c21e6d
  Author: Don Clugston <dclugston at googlemail.com>
  Date:   2011-12-21 (Wed, 21 Dec 2011)

  Changed paths:
    M src/declaration.h
  M src/func.c
  M src/interpret.c

  Log Message:
  -----------
  6984 CTFE generates a torrent of spurious errors, if any previous error

Instead of preventing CTFE when any error occured, only give up if an error
occured while running semantic3 on the function being called. This brings us
a lot closer to the ultimate goal of one error message per bug.


  Commit: 1042789d8d77c0f1b2c8b48544e60aaffd1e8348
      https://github.com/D-Programming-Language/dmd/commit/1042789d8d77c0f1b2c8b48544e60aaffd1e8348
  Author: Don Clugston <dclugston at googlemail.com>
  Date:   2011-12-21 (Wed, 21 Dec 2011)

  Changed paths:
    M src/interpret.c

  Log Message:
  -----------
  7143 [CTFE] cannot compare class references with "is"

== doesn't work either, but for different reasons.


  Commit: 312a6c95a8400dcda99660d0605b666a31ad3ac5
      https://github.com/D-Programming-Language/dmd/commit/312a6c95a8400dcda99660d0605b666a31ad3ac5
  Author: Don Clugston <dclugston at googlemail.com>
  Date:   2011-12-21 (Wed, 21 Dec 2011)

  Changed paths:
    M test/compilable/interpret3.d

  Log Message:
  -----------
  Test case for 7143


  Commit: 879a20856a957fb7d066dc2ca7dbb84436cedabe
      https://github.com/D-Programming-Language/dmd/commit/879a20856a957fb7d066dc2ca7dbb84436cedabe
  Author: Don Clugston <dclugston at googlemail.com>
  Date:   2011-12-21 (Wed, 21 Dec 2011)

  Changed paths:
    M src/interpret.c

  Log Message:
  -----------
  7144 [CTFE] base class does not call overridden members

We need to do the vtable lookup, even if called directly from 'this'.


  Commit: e59b8806691579f8253993ee62fa0c10f9656552
      https://github.com/D-Programming-Language/dmd/commit/e59b8806691579f8253993ee62fa0c10f9656552
  Author: Don Clugston <dclugston at googlemail.com>
  Date:   2011-12-21 (Wed, 21 Dec 2011)

  Changed paths:
    M test/compilable/interpret3.d

  Log Message:
  -----------
  Test case for 7147


  Commit: feac8ea4c4fcc43b3a370fc90d1e2155c6ce0376
      https://github.com/D-Programming-Language/dmd/commit/feac8ea4c4fcc43b3a370fc90d1e2155c6ce0376
  Author: Walter Bright <walter at walterbright.com>
  Date:   2011-12-21 (Wed, 21 Dec 2011)

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

  Log Message:
  -----------
  Merge pull request #573 from donc/ctfe6984

CTFE: 6984 7143 7144


Compare: https://github.com/D-Programming-Language/dmd/compare/641c83f...feac8ea


More information about the dmd-internals mailing list