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

10 lines
686 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.SubClass, unresolved supertypes: test.Super
class test.SubObject, unresolved supertypes: test.Super
Adding -Xextended-compiler-checks argument might provide additional information.
compiler/testData/compileKotlinAgainstCustomBinaries/incompleteHierarchyOfEnclosingClass/source.kt:6:16: error: cannot access 'test.Super' which is a supertype of 'test.SubClass'. Check your module classpath for missing or conflicting dependencies
SubClass().Inner() // Error - dispatch receiver misses supertype
^
COMPILATION_ERROR