[Issue 10526] opDispatch with IFTI should not disable UFCS

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 5 11:20:31 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10526



--- Comment #2 from github-bugzilla at puremagic.com 2013-07-05 11:20:31 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/10ce85d0d9c661843ad8bd77c23f229bf5732ca1
fix Issue 10526 - opDispatch with IFTI should not disable UFCS

When opDispatch result is a function template that requires IFTI, it would be
kept on `DotTemplateInstanceExp` so `ti->needsTypeInference(sc)` returns TRUE
in its semantic().

UFCS dispatch should check that the opDispatch result is really valid or not,
by instantiating the function template.

https://github.com/D-Programming-Language/dmd/commit/11d22d63ac22eb5980b6370f5f93a2a22e995e29
Merge pull request #2292 from 9rnsr/fix_ufcs

Issue 10526 - opDispatch with IFTI should not disable UFCS

-- 
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