2a46da906c
Add -X flag to report extra compiler diagnostics which migth break compatibility. Use the flag to unconditionally check constructors without fear of prematurely evaluating lazy supertypes. KT-19234 KT-42404 KT-44583
21 lines
1.7 KiB
Plaintext
Vendored
21 lines
1.7 KiB
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
|
|
class test.SubKt, unresolved supertypes: test.Super
|
|
|
|
compiler/testData/compileKotlinAgainstCustomBinaries/incompleteHierarchyWithExtendedCompilerChecks/source.kt:12:32: error: cannot access 'test.Super' which is a supertype of 'Sub'. Check your module classpath for missing or conflicting dependencies
|
|
fun simpleFun(arg: Sub): Sub = Sub()
|
|
^
|
|
compiler/testData/compileKotlinAgainstCustomBinaries/incompleteHierarchyWithExtendedCompilerChecks/source.kt:19:18: error: cannot access 'test.Super' which is a supertype of 'Sub'. Check your module classpath for missing or conflicting dependencies
|
|
val x: Sub = Sub()
|
|
^
|
|
compiler/testData/compileKotlinAgainstCustomBinaries/incompleteHierarchyWithExtendedCompilerChecks/source.kt:21:18: error: cannot access 'test.Super' which is a supertype of 'Sub'. Check your module classpath for missing or conflicting dependencies
|
|
useCallRef(::Sub)
|
|
^
|
|
compiler/testData/compileKotlinAgainstCustomBinaries/incompleteHierarchyWithExtendedCompilerChecks/source.kt:22:15: error: cannot access 'test.Super' which is a supertype of 'Sub'. Check your module classpath for missing or conflicting dependencies
|
|
simpleFun(Sub())
|
|
^
|
|
compiler/testData/compileKotlinAgainstCustomBinaries/incompleteHierarchyWithExtendedCompilerChecks/source.kt:23:20: error: cannot access 'test.Super' which is a supertype of 'Sub'. Check your module classpath for missing or conflicting dependencies
|
|
inlineFun<Sub>(Sub())
|
|
^
|
|
COMPILATION_ERROR
|