Fix testData
This commit is contained in:
+1
-1
@@ -3,5 +3,5 @@ import wrong.*
|
||||
fun foo(x: ClassWithWrongAbiVersion) {
|
||||
bar()
|
||||
|
||||
1.printStackTrace(2, 3)
|
||||
1.replaceIndent(2, 3)
|
||||
}
|
||||
|
||||
+2
-4
@@ -3,11 +3,9 @@ compiler/testData/cli/jvm/wrongAbiVersion.kt:4:5: error: unresolved reference: b
|
||||
bar()
|
||||
^
|
||||
compiler/testData/cli/jvm/wrongAbiVersion.kt:6:7: error: unresolved reference. None of the following candidates is applicable because of receiver type mismatch:
|
||||
public fun kotlin.Throwable.printStackTrace(): kotlin.Unit defined in kotlin
|
||||
public fun kotlin.Throwable.printStackTrace(stream: java.io.PrintStream): kotlin.Unit defined in kotlin
|
||||
public fun kotlin.Throwable.printStackTrace(writer: java.io.PrintWriter): kotlin.Unit defined in kotlin
|
||||
public fun kotlin.String.replaceIndent(newIndent: kotlin.String = ...): kotlin.String defined in kotlin.text
|
||||
(note: this may be caused by the fact that some classes compiled with an incompatible version of Kotlin were found in the classpath. Such classes cannot be loaded properly by this version of Kotlin compiler. See below for more information)
|
||||
1.printStackTrace(2, 3)
|
||||
1.replaceIndent(2, 3)
|
||||
^
|
||||
compiler/testData/cli/jvm/wrongAbiVersionLib/bin/ClassWithWrongAbiVersion.class: error: class 'ClassWithWrongAbiVersion' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 0.30.0, expected version is $ABI_VERSION$
|
||||
COMPILATION_ERROR
|
||||
Reference in New Issue
Block a user