D - Bug: Template class inheriting from another template class.
- Andy Friesen (21/21) Jan 25 2004 Given:
- J Anderson (4/25) Jan 26 2004 Humm, works for me.
- Andy Friesen (3/6) Jan 26 2004 doh. It works in 0.79.
Given: class C() { void foo() { printf("C "); } } class E(T) : C!() { void foo() { printf("E "); super.foo(); } } alias E!(int) Eint; void main() { Eint eint = new Eint(); eint.foo(); } The compiler spits out: test2.d(23): Eint is used as a type -- andy
Jan 25 2004
Andy Friesen wrote:Given: class C() { void foo() { printf("C "); } } class E(T) : C!() { void foo() { printf("E "); super.foo(); } } alias E!(int) Eint; void main() { Eint eint = new Eint(); eint.foo(); } The compiler spits out: test2.d(23): Eint is used as a type -- andyHumm, works for me. -- -Anderson: http://badmama.com.au/~anderson/
Jan 26 2004
J Anderson wrote:Humm, works for me.doh. It works in 0.79. -- andy
Jan 26 2004