Prototypes not declared optional should be considered an interface
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3125
Reported by Martin Nilsson, IDA nilsson@pike.ida.liu.se
The following code does not produce a compilation error.
class Interface {
void bar();
}
class Implementation {
inherit Interface;
}
Interface x = Implementation();
void main() {}