[PL] ABI compatibility tests for reworked partial linkage
This commit is contained in:
committed by
Space Team
parent
2a4d880037
commit
4f1155b06f
@@ -0,0 +1,26 @@
|
||||
package lib1
|
||||
|
||||
abstract class AbstractClassWithFunctions {
|
||||
fun foo(): Int = 42
|
||||
open fun bar(): Int = 42
|
||||
open fun baz(): Int = 42
|
||||
}
|
||||
|
||||
interface InterfaceWithFunctions {
|
||||
fun foo(): Int = 42
|
||||
fun bar(): Int = 42
|
||||
}
|
||||
|
||||
abstract class AbstractClassWithProperties {
|
||||
val foo1: Int = 42
|
||||
val foo2: Int get() = 42
|
||||
open val bar1: Int = 42
|
||||
open val bar2: Int get() = 42
|
||||
open val baz1: Int = 42
|
||||
open val baz2: Int get() = 42
|
||||
}
|
||||
|
||||
interface InterfaceWithProperties {
|
||||
val foo: Int get() = 42
|
||||
val bar: Int get() = 42
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
package lib1
|
||||
|
||||
abstract class AbstractClassWithFunctions {
|
||||
abstract fun foo(): Int
|
||||
abstract fun bar(): Int
|
||||
abstract fun baz(): Int
|
||||
}
|
||||
|
||||
interface InterfaceWithFunctions {
|
||||
fun foo(): Int
|
||||
fun bar(): Int
|
||||
}
|
||||
|
||||
abstract class AbstractClassWithProperties {
|
||||
abstract val foo1: Int
|
||||
abstract val foo2: Int
|
||||
abstract val bar1: Int
|
||||
abstract val bar2: Int
|
||||
abstract val baz1: Int
|
||||
abstract val baz2: Int
|
||||
}
|
||||
|
||||
interface InterfaceWithProperties {
|
||||
val foo: Int
|
||||
val bar: Int
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
STEP 0:
|
||||
dependencies: stdlib
|
||||
modifications:
|
||||
U : l1.kt.0 -> l1.kt
|
||||
STEP 1:
|
||||
dependencies: stdlib
|
||||
modifications:
|
||||
U : l1.kt.1 -> l1.kt
|
||||
STEP 2:
|
||||
dependencies: stdlib
|
||||
modifications:
|
||||
U : l1.kt.0 -> l1.kt
|
||||
Reference in New Issue
Block a user