[Issue 15352] template arguments matching error with delegates

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Nov 28 12:38:30 PST 2015


https://issues.dlang.org/show_bug.cgi?id=15352

--- Comment #3 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/d8eb30c8da082cb7533a95c3930be46f818edadf
fix Issue 15352 - template arguments matching error with delegates

1. `match()` function relies on `Expression.equals()`. Add `FuncExp.equals` for
the identity comparison of two `FuncExp`s.

2. When a `FuncLiteralDeclaration` is listed directly in template arguments, it
needs to be converted to `FuncExp` to be able to match
`TemplateValueParameter`.

https://github.com/D-Programming-Language/dmd/commit/a498e675b5a685494a2168a9438fe34b0467650a
Merge pull request #5275 from 9rnsr/fix15352

Issue 15352 - template arguments matching error with delegates

--


More information about the Digitalmars-d-bugs mailing list