[Issue 1528] [tdpl] overloading template and non-template functions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jun 28 12:17:50 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=1528
--- Comment #37 from github-bugzilla at puremagic.com 2013-06-28 12:17:44 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/edd0f6fbeeff70eccd7d2e15429b20418360eca5
fix Issue 1528 - [tdpl] overloading template and non-template functions
- Improve `resolveFuncCall` for integrated function call resolution.
All of error reporting is done in here.
- Remove `overloadResolve` and `deduceFuncitonTemplate`
The works was in `overloadResolve` are moved to `resolveFuncCall`,
and things was in `deduceFuncitonTemplate` are divided to
`templateResolve` and `resolveFuncCall`.
- Change the name from `overloadResolveX` to `functionResolve`
It is paired with `templateResolve`.
- Decide 'most specialized' function based on the two `MATCH` values derived
from `tiargs` and `fargs`.
With non template functions, `last matching level for tiargs` is treated as
`MATCHexact`.
----
The bug that is fixed at the same time:
fix Issue 9596 - Ambiguous match is incorrectly hidden by additional lesser
match
The change in test/runnable/template9.d is related.
https://github.com/D-Programming-Language/dmd/commit/fba440cc7dc1210b0450f8b01d18661ebbd0da55
Merge pull request #1409 from 9rnsr/fix1528
Issue 1528 - [tdpl] overloading template and non-template functions
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list