Add JVM ABI K1/K2 consistency tests
This commit is contained in:
committed by
Space Team
parent
5a1fb78fcd
commit
34bac48541
+31
@@ -0,0 +1,31 @@
|
||||
MODULE main
|
||||
CLASS InternalToArray.class
|
||||
CLASS METADATA
|
||||
K1
|
||||
getSize()I
|
||||
K2
|
||||
---
|
||||
K1
|
||||
---
|
||||
K2
|
||||
size
|
||||
CLASS PrivateToArray.class
|
||||
CLASS METADATA
|
||||
K1
|
||||
getSize()I
|
||||
K2
|
||||
---
|
||||
K1
|
||||
---
|
||||
K2
|
||||
size
|
||||
CLASS PublicToArray.class
|
||||
CLASS METADATA
|
||||
K1
|
||||
getSize()I
|
||||
K2
|
||||
---
|
||||
K1
|
||||
---
|
||||
K2
|
||||
size
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// JVM_ABI_K1_K2_DIFF: KT-63828
|
||||
class InternalToArray(d: Collection<Any>): Collection<Any> by d {
|
||||
internal fun toArray(): Array<Int> = null!!
|
||||
}
|
||||
|
||||
compiler/testData/codegen/bytecodeListing/collectionStubs/toArray/internalGenericToArray.jvm_abi.txt
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
MODULE main
|
||||
CLASS InternalGenericToArray.class
|
||||
CLASS METADATA
|
||||
K1
|
||||
getSize()I
|
||||
K2
|
||||
---
|
||||
K1
|
||||
---
|
||||
K2
|
||||
size
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// JVM_ABI_K1_K2_DIFF: KT-63828
|
||||
class InternalGenericToArray<T>(d: Collection<T>): Collection<T> by d {
|
||||
internal fun <T> toArray(arr: Array<T>): Array<T> = null!!
|
||||
}
|
||||
Reference in New Issue
Block a user