blob: 2a781268d98f69ba428fde7e62f70cb1e456dc76 [file]
error: incompatible classes were found in dependencies that could not be read by this version of the compiler. Consider updating the compiler version, removing the classes from the classpath, or using '-Xskip-metadata-version-check' to suppress this error.
compiler/testData/cli/jvm/wrongAbiVersionLib/bin/META-INF/main.kotlin_module: error: module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 0.30.0, expected version is $ABI_VERSION$.
compiler/testData/cli/jvm/wrongAbiVersion.kt:3:12: error: class 'ClassWithWrongAbiVersion' was compiled with an incompatible version of Kotlin. The actual metadata version is 0.30.0, but the compiler version $ABI_VERSION$ can read versions up to $ABI_VERSION_NEXT$.
The class is loaded from $TESTDATA_DIR$/wrongAbiVersionLib/bin/ClassWithWrongAbiVersion.class
fun foo(x: ClassWithWrongAbiVersion) {
^^^^^^^^^^^^^^^^^^^^^^^^
compiler/testData/cli/jvm/wrongAbiVersion.kt:4:5: error: unresolved reference 'bar'.
bar()
^^^
compiler/testData/cli/jvm/wrongAbiVersion.kt:6:7: error: candidate 'fun String.replaceIndent(newIndent: String = ...): String' is inapplicable because of a receiver type mismatch.
1.replaceIndent(2, 3)
^^^^^^^^^^^^^
COMPILATION_ERROR