[Issue 10047] getOverloads cannot resolve UFCS
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed May 8 06:58:08 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10047
Kenji Hara <k.hara.pg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> 2013-05-08 06:58:07 PDT ---
Reduced test case.
struct Typedef(T)
{
template opDispatch(string name)
{
static assert(0);
}
}
struct A {}
void foo(Typedef!A a) { assert(0); }
void main()
{
Typedef!A a;
a.foo();
}
For the later UFCS name lookup, the errors in opDispatch instantiation should
be gagged.
--
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