For example,
public interface Test {
void foo(int i);
}
public class Super {
public static int x = 33;
}
public class Main : Test, Super{
public Main(): super(super.x){
}
public Main(Main m){
}
public static void main( String[] args){
System.out.println("DONE");
}
}
the compiler returns:
error 287: Class 'pt.test.Main' cannot have multiple base classes:
'pt.test.Super' and '<null>'
and the message should not show "<null>".
Original issue reported on code.google.com by ice.ta...@gmail.com on 3 Jul 2010 at 2:03
Original issue reported on code.google.com by
ice.ta...@gmail.com
on 3 Jul 2010 at 2:03