[PL] ABI compatibility tests for reworked partial linkage

This commit is contained in:
Dmitriy Dolovov
2023-03-22 13:59:33 +01:00
committed by Space Team
parent 2a4d880037
commit 4f1155b06f
262 changed files with 4278 additions and 1359 deletions
@@ -0,0 +1,21 @@
open class RemovedClass {
val p1 = "p1"
fun f1() = "f1"
}
interface RemovedInterface {
val p1: String
val p2 get() = "p2"
fun f1(): String
fun f2() = "f2"
}
class ClassWithChangedMembers {
fun removedFun() = "removedFun"
fun changedFun(x: String) = x
}
interface InterfaceWithChangedMembers {
fun removedFun() = "removedFun"
fun changedFun(x: String) = x
}
@@ -0,0 +1,23 @@
//open class RemovedClass {
// val p1 = "p1"
// fun f1() = "f1"
//}
//interface RemovedInterface {
// val p1: String
// val p2 get() = "p2"
// fun f1(): String
// fun f2() = "f2"
//}
class ClassWithChangedMembers {
// fun removedFun() = "removedFun"
// fun changedFun(x: String) = x
fun changedFun(x: Int) = x.toString()
}
interface InterfaceWithChangedMembers {
// fun removedFun() = "removedFun"
// fun changedFun(x: String) = x
fun changedFun(x: Int) = x.toString()
}
@@ -0,0 +1,6 @@
STEP 0:
dependencies: stdlib
STEP 1:
dependencies: stdlib
modifications:
U : l1.kt.1 -> l1.kt