2011/10/24 David Simcha <[email protected]>:
> Was there some change made to error checking for virtual
> functions/interfaces? I just tried to compile gtkD with the beta and I got
> the error message "Ambiguous Virtual Function Call". IDK if gtkD was
> relying on a DMD bug that was fixed or if this is a regression in DMD. What
> does this error message mean?
It is probably gtkD bug.
"Ambiguous Virtual Function Call" error causes with like following code:
// from dmd/test/fail_compilation/fail2740.d
interface IFoo
{
int foo();
}
mixin template MFoo(int N)
{
int foo() { return N; }
}
class Foo : IFoo
{
mixin MFoo!(1) t1;
mixin MFoo!(2) t2;
}
Kenji Hara
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta