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.
14 lines
918 B
Plaintext
Vendored
14 lines
918 B
Plaintext
Vendored
error: supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath:
|
|
class test.Sub, unresolved supertypes: test.Super
|
|
|
|
compiler/testData/compileKotlinAgainstCustomBinaries/incompleteHierarchyInJava/source.kt:3:1: error: cannot access 'test.Super' which is a supertype of 'SubSub'. Check your module classpath for missing or conflicting dependencies
|
|
class SubSub : Sub()
|
|
^
|
|
compiler/testData/compileKotlinAgainstCustomBinaries/incompleteHierarchyInJava/source.kt:5:22: error: unresolved reference: foo
|
|
fun bar() = SubSub().foo()
|
|
^
|
|
compiler/testData/compileKotlinAgainstCustomBinaries/incompleteHierarchyInJava/source.kt:5:22: error: cannot access 'test.Super' which is a supertype of 'SubSub'. Check your module classpath for missing or conflicting dependencies
|
|
fun bar() = SubSub().foo()
|
|
^
|
|
COMPILATION_ERROR
|