Files
Pavel Kirpichenkov 2a46da906c Provide additional information about missing supertypes
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
2021-02-08 18:47:30 +03:00

9 lines
553 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.B, unresolved supertypes: test.A
Adding -Xextended-compiler-checks argument might provide additional information.
compiler/testData/compileKotlinAgainstCustomBinaries/incompleteHierarchyMissingInterface/source.kt:5:15: error: cannot access 'test.A' which is a supertype of 'test.B'. Check your module classpath for missing or conflicting dependencies
D.m(B.n())
^
COMPILATION_ERROR