www.digitalmars.com         C & C++   DMDScript  

D - BUG: another 2 to do with abstract

1. Attached example compiled as it is:

It compiles, but don't successfully link saying that the bar ctor
symbol is undefined. Commenting out the subclass and/or the
instantiation of the subclass, removes the error.

2. Attached example with the commented out statement enabled:

Compilation error saying that it isn't possible to instantiate
the abstract class subbar, although it is clearly not abstract, just
inheriting an abstract class. This seems to happen when the
abstract base class implements one of it's methods.

Lars Ivar Igesund



begin 666 abstractsub.d
M86)S=')A8W0 8VQA<W, 8F%R('L-" T*("!T:&ES*"D >WT-" T*(" O+R!V



`
end
Oct 08 2003