May 18, 2004 mixin bug with interface | ||||
---|---|---|---|---|
| ||||
interface A { void f(); } template Foo() { void f() { printf("in C.f()\n"); }} class C : A { mixin Foo; } void main() { C c = new C(); c.f(); } => won't compile => error: class C interface function A.f is not implemented => suppressing the interface inheritance let's me compile and execute bye, reol |
May 18, 2004 Re: mixin bug with interface | ||||
---|---|---|---|---|
| ||||
Posted in reply to Roel Mathys | Roel Mathys wrote: <snip> > => error: class C interface function A.f is not implemented > => suppressing the interface inheritance let's me compile and execute *** This bug has been marked as a duplicate of http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D.bugs/203 *** Stewart. -- My e-mail is valid but not my primary mailbox, aside from its being the unfortunate victim of intensive mail-bombing at the moment. Please keep replies on the 'group where everyone may benefit. |
Copyright © 1999-2021 by the D Language Foundation