[dmd-internals] [D-Programming-Language/dmd] 2cbe9b: fix Issue 9806 - assertion failure in struct.c:668

GitHub noreply at github.com
Tue Apr 2 14:04:24 PDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 2cbe9b1b389f3617e70ffbdbe20f6b30aeac9d10
      https://github.com/D-Programming-Language/dmd/commit/2cbe9b1b389f3617e70ffbdbe20f6b30aeac9d10
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2013-04-02 (Tue, 02 Apr 2013)

  Changed paths:
    M src/class.c
    M src/declaration.c
    M src/optimize.c
    M src/struct.c
    M src/template.c
    A test/fail_compilation/ice9806.d
    M test/runnable/template9.d

  Log Message:
  -----------
  fix Issue 9806 - assertion failure in struct.c:668

- Save Scope object to resolve forward references
- Do constant folding in template value argument comparison

Additional:
Add assertions to check AST identity in `ClassDeclaration::semantic` and `InterfaceDeclaration::semantic`.


  Commit: ca458073b3bdb0a0bc768e4eb062fb533eaac995
      https://github.com/D-Programming-Language/dmd/commit/ca458073b3bdb0a0bc768e4eb062fb533eaac995
  Author: Walter Bright <walter at walterbright.com>
  Date:   2013-04-02 (Tue, 02 Apr 2013)

  Changed paths:
    M src/class.c
    M src/declaration.c
    M src/optimize.c
    M src/struct.c
    M src/template.c
    A test/fail_compilation/ice9806.d
    M test/runnable/template9.d

  Log Message:
  -----------
  Merge pull request #1822 from 9rnsr/fix9806

[REG2.063a] Issue 9806 - assertion failure in struct.c:668


Compare: https://github.com/D-Programming-Language/dmd/compare/cfb5842b496c...ca458073b3bd


More information about the dmd-internals mailing list