[dmd-internals] [D-Programming-Language/dmd] 76c6ac: fix Issue 14818 - Unhelpful "does not match templa...

GitHub via dmd-internals dmd-internals at puremagic.com
Sun Aug 30 06:27:50 PDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 76c6ac64f25ac651c86837dd36056bc2c13b71f1
      https://github.com/D-Programming-Language/dmd/commit/76c6ac64f25ac651c86837dd36056bc2c13b71f1
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2015-08-30 (Sun, 30 Aug 2015)

  Changed paths:
    M src/declaration.d
    M src/declaration.h
    M src/dsymbol.d
    M src/dsymbol.h
    M src/dtemplate.d
    M src/func.d
    M src/traits.d
    A test/fail_compilation/diag14818.d
    M test/runnable/mangle.d

  Log Message:
  -----------
  fix Issue 14818 - Unhelpful "does not match template overload set" error

The returned OverloadSet object from Dsymbol::search should have the searched identifier.
Also, the overload objects OverDeclaration and OverloadSet that is generated by AliasDeclaration should have the alias identifier.


  Commit: 6f90c0d8abadf8f40ce1fdc3b4c3486049e82108
      https://github.com/D-Programming-Language/dmd/commit/6f90c0d8abadf8f40ce1fdc3b4c3486049e82108
  Author: Daniel Murphy <yebblies at gmail.com>
  Date:   2015-08-30 (Sun, 30 Aug 2015)

  Changed paths:
    M src/declaration.d
    M src/declaration.h
    M src/dsymbol.d
    M src/dsymbol.h
    M src/dtemplate.d
    M src/func.d
    M src/traits.d
    A test/fail_compilation/diag14818.d
    M test/runnable/mangle.d

  Log Message:
  -----------
  Merge pull request #4826 from 9rnsr/fix14818

Issue 14818 - Unhelpful "does not match template overload set" error


Compare: https://github.com/D-Programming-Language/dmd/compare/c7ae3ce74bcb...6f90c0d8abad


More information about the dmd-internals mailing list