digitalmars.D.bugs - Mixin methods do not satisfy interfaces
- Andy Friesen (17/17) May 17 2004 test.d:
test.d:
template Impl() {
void foo() { printf("foo here\n"); }
}
interface Iface {
void foo();
}
class Bar : Iface {
mixin Impl;
}
int main() {
Bar bar = new Bar();
bar.foo();
return 0;
}
test.d(10): class Bar interface function Iface.foo is not implemented
-- andy
May 17 2004








Andy Friesen <andy ikagames.com>