[dmd-internals] [D-Programming-Language/dmd] 6c9f1c: Fix wrong line number in && and || error messages

GitHub noreply at github.com
Sat Nov 10 12:14:50 PST 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 6c9f1c7aaabd47728440a4fd57b207395012306c
      https://github.com/D-Programming-Language/dmd/commit/6c9f1c7aaabd47728440a4fd57b207395012306c
  Author: Don Clugston <don.clugston at sociomantic.com>
  Date:   2012-11-06 (Tue, 06 Nov 2012)

  Changed paths:
    M src/interpret.c

  Log Message:
  -----------
  Fix wrong line number in && and || error messages

No test case, because when this happens it's really an ICE.


  Commit: 517c80e609208e38b36be621642d8c8032038971
      https://github.com/D-Programming-Language/dmd/commit/517c80e609208e38b36be621642d8c8032038971
  Author: Don Clugston <don.clugston at sociomantic.com>
  Date:   2012-11-07 (Wed, 07 Nov 2012)

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

  Log Message:
  -----------
  Fix issue 8857 [CTFE] does not evaluate to a boolean, only with -inline

This is a situation where we've evaluated an Lvalue, but we actually
need an Rvalue. The bug report is one of the few circumstances where
it matters.


  Commit: 9adb5a0d034f988cb9c57f46b5e121e5f52cd4fb
      https://github.com/D-Programming-Language/dmd/commit/9adb5a0d034f988cb9c57f46b5e121e5f52cd4fb
  Author: Walter Bright <walter at walterbright.com>
  Date:   2012-11-10 (Sat, 10 Nov 2012)

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

  Log Message:
  -----------
  Merge pull request #1267 from donc/ctfe8857inlineAndAnd

8857 [CTFE] does not evaluate to a boolean, only with -inline 


Compare: https://github.com/D-Programming-Language/dmd/compare/b26f49c89ee3...9adb5a0d034f


More information about the dmd-internals mailing list