[Issue 9272] opDispatch conflicts with UFCS on template functions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jan 5 06:33:57 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9272
Nils <nilsbossung at googlemail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |nilsbossung at googlemail.com
Resolution| |INVALID
--- Comment #1 from Nils <nilsbossung at googlemail.com> 2013-01-05 06:33:55 PST ---
No bug here, I think. opDispatch takes precedence and just fails to compile.
The same thing happens with
---
struct Foo {
void bar() {}
}
---
The error message could be improved though. foo.opDispatch is a template. It's
foo.opDispatch!"bar" that is not.
--
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