[dmd-internals] [D-Programming-Language/dmd] 89ca0a: fix Issue 12390 - "has no effect in expression" di...

GitHub noreply at github.com
Mon Apr 7 10:39:47 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 89ca0a14eb2b0a3e232a2eded5f43693d02510e3
      https://github.com/D-Programming-Language/dmd/commit/89ca0a14eb2b0a3e232a2eded5f43693d02510e3
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2014-04-07 (Mon, 07 Apr 2014)

  Changed paths:
    M src/sideeffect.c
    A test/fail_compilation/fail12390.d

  Log Message:
  -----------
  fix Issue 12390 - "has no effect in expression" diagnostic regression

When value discarding check on statements, the side-effect check should not be done deeply.


  Commit: b80a6da17ac42c8976f5e552faff1b969593bdc0
      https://github.com/D-Programming-Language/dmd/commit/b80a6da17ac42c8976f5e552faff1b969593bdc0
  Author: Walter Bright <walter at walterbright.com>
  Date:   2014-04-07 (Mon, 07 Apr 2014)

  Changed paths:
    M src/sideeffect.c
    A test/fail_compilation/fail12390.d

  Log Message:
  -----------
  Merge pull request #3432 from 9rnsr/fix12390

[REG2.066a] Issue 12390 - "has no effect in expression" diagnostic regression


Compare: https://github.com/D-Programming-Language/dmd/compare/aee4e6d51ed3...b80a6da17ac4


More information about the dmd-internals mailing list