[dmd-internals] [D-Programming-Language/dmd] 8637ea: Improve error propagation around template instanti...

GitHub noreply at github.com
Thu Sep 19 07:08:08 PDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 8637eafceabf94242f45515fa07be15bfedf84b2
      https://github.com/D-Programming-Language/dmd/commit/8637eafceabf94242f45515fa07be15bfedf84b2
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2013-09-19 (Thu, 19 Sep 2013)

  Changed paths:
    M src/cond.c
    M src/expression.c
    M src/template.c
    M test/fail_compilation/fail7862.d

  Log Message:
  -----------
  Improve error propagation around template instantiation and static-if condition

- Don't instantiate template body when "template signature semantics"
  (== findTemplateDeclaration, semanticTiargs, and findBestMatch) make errors.

- Don't save ErrorExp in StaticIfCondition::exp` during error gagging enabled.

- FuncExp should return ErrorExp when the lambda body makes errors.


  Commit: 9ee91f6d31c8333fe7bafee3b49d8a3773146946
      https://github.com/D-Programming-Language/dmd/commit/9ee91f6d31c8333fe7bafee3b49d8a3773146946
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2013-09-19 (Thu, 19 Sep 2013)

  Changed paths:
    A test/compilable/ice11054.d
    A test/compilable/imports/ice11054a.d

  Log Message:
  -----------
  fix Issue 11054 - ICE: interpret.c:357: virtual void Statement::ctfeCompile(CompiledCtfeFunction*): Assertion `0' failed.


  Commit: e80b9cfaedfa0c59f27ede4e79c38be6245f3d0d
      https://github.com/D-Programming-Language/dmd/commit/e80b9cfaedfa0c59f27ede4e79c38be6245f3d0d
  Author: Walter Bright <walter at walterbright.com>
  Date:   2013-09-19 (Thu, 19 Sep 2013)

  Changed paths:
    M src/cond.c
    M src/expression.c
    M src/template.c
    A test/compilable/ice11054.d
    A test/compilable/imports/ice11054a.d
    M test/fail_compilation/fail7862.d

  Log Message:
  -----------
  Merge pull request #2569 from 9rnsr/fix11054

Issue 11054 - ICE: interpret.c:357: virtual void Statement::ctfeCompile(CompiledCtfeFunction*): Assertion `0' failed.


Compare: https://github.com/D-Programming-Language/dmd/compare/9ff2c36ab25a...e80b9cfaedfa


More information about the dmd-internals mailing list