[dmd-internals] [D-Programming-Language/dmd] 6610ac: Fix regression introduced by issue 7793 fix.

GitHub noreply at github.com
Fri Jun 22 10:48:11 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 6610acf74883822609e165a470fbe6c812e03692
      https://github.com/D-Programming-Language/dmd/commit/6610acf74883822609e165a470fbe6c812e03692
  Author: David Nadlinger <code at klickverbot.at>
  Date:   2012-06-22 (Fri, 22 Jun 2012)

  Changed paths:
    M src/cond.c

  Log Message:
  -----------
  Fix regression introduced by issue 7793 fix.

In 3bfac13, inc is set to 2 instead of 0, which causes errors to go by unnoticed in some circumstances.

An alternative fix for 7793 would be to only skip invoking e->ctfeInterpret() if the type is not bool – I'm not sure why/if returning early is preferrable here.


  Commit: 7e501522c15ff03e4460e25cdba5c1ce2e85f445
      https://github.com/D-Programming-Language/dmd/commit/7e501522c15ff03e4460e25cdba5c1ce2e85f445
  Author: Walter Bright <walter at walterbright.com>
  Date:   2012-06-22 (Fri, 22 Jun 2012)

  Changed paths:
    M src/cond.c

  Log Message:
  -----------
  Merge pull request #1024 from klickverbot/7793-fix

Fix regression introduced by issue 7793 fix.


Compare: https://github.com/D-Programming-Language/dmd/compare/3bfac1394e3d...7e501522c15f


More information about the dmd-internals mailing list