8c52bb4212
Call checker and declaration checker are used in order to preserve backward compatibility. Attempt to use classifier usage checker was not good enouth, since not all errors found with it would actually be reported before. For example types and constructor calls don't cause supertypes to resolve, so missing supertypes would not lead to errors in case they are the only use of class name. Updated tests failing due to missing Java dependencies in superclasses.
18 lines
256 B
Java
Vendored
18 lines
256 B
Java
Vendored
package test;
|
|
|
|
public class C {
|
|
public static class D extends C {
|
|
public D() {
|
|
super();
|
|
}
|
|
|
|
public static int g() {
|
|
return 1;
|
|
}
|
|
}
|
|
|
|
public static D makeD() {
|
|
return new D();
|
|
}
|
|
}
|