[dmd-internals] [D-Programming-Language/dmd] 9577d0: fix Issue 10056 - Strange Error with templates and...

GitHub noreply at github.com
Sat May 11 15:08:27 PDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 9577d0770cb3c721e6679267c634a58407ab0e20
      https://github.com/D-Programming-Language/dmd/commit/9577d0770cb3c721e6679267c634a58407ab0e20
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2013-05-11 (Sat, 11 May 2013)

  Changed paths:
    M src/clone.c
    M src/template.c
    A test/compilable/test10056.d

  Log Message:
  -----------
  fix Issue 10056 - Strange Error with templates and string.format

If IFTI error is gagged (`(flags&1) != 0` in deduceTemplateFunction), function body semantic should be delayed, as same as `FuncDeclaration::overloadResolve` do.

For the lazily function semantic, hasIdentity(Assign|Equals) should not allocate arguments `Expressions` on stack.


  Commit: 848dabb4680ddee00f69ab6c6b80278ea5d553e7
      https://github.com/D-Programming-Language/dmd/commit/848dabb4680ddee00f69ab6c6b80278ea5d553e7
  Author: Walter Bright <walter at walterbright.com>
  Date:   2013-05-11 (Sat, 11 May 2013)

  Changed paths:
    M src/clone.c
    M src/template.c
    A test/compilable/test10056.d

  Log Message:
  -----------
  Merge pull request #2013 from 9rnsr/fix10056

[REG2.063a] Issue 10056 - Strange Error with templates and string.format


Compare: https://github.com/D-Programming-Language/dmd/compare/506b7f8f8145...848dabb4680d


More information about the dmd-internals mailing list