Do not report errors about bytecode version

#KT-41758
This commit is contained in:
Alexander Udalov
2021-01-22 13:42:39 +01:00
parent fa2b2c8735
commit 862a9143da
13 changed files with 62 additions and 241 deletions
-7
View File
@@ -1,7 +0,0 @@
package library
class A {
fun member() {}
}
fun topLevel() {}
-6
View File
@@ -1,6 +0,0 @@
import library.*
fun test() {
A().member()
topLevel()
}
-3
View File
@@ -1,3 +0,0 @@
$TESTDATA_DIR$/library/A.class: error: class 'library/A' was compiled with an incompatible version of Kotlin. The binary version of its bytecode is 42.0.0, expected version is $ABI_VERSION$
$TESTDATA_DIR$/library/AKt.class: error: class 'library/AKt' was compiled with an incompatible version of Kotlin. The binary version of its bytecode is 42.0.0, expected version is $ABI_VERSION$
COMPILATION_ERROR