[Tests] Ensure `@ExcludedFromFirstStageInlining` setters are not inlined
^KT-80565 Fixed
diff --git a/compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/lib1/l1.kt b/compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/lib1/l1.kt
new file mode 100644
index 0000000..5e4f781
--- /dev/null
+++ b/compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/lib1/l1.kt
@@ -0,0 +1,71 @@
+import kotlin.internal.ExcludedFromFirstStageInlining
+
+var _excludedInlineProperty = ""
+@ExcludedFromFirstStageInlining
+inline var excludedInlineProperty: String
+ get() = _excludedInlineProperty
+ set(value) {
+ _excludedInlineProperty = value + ".v1"
+ }
+
+var _excludedInlineExtensionProperty = ""
+@ExcludedFromFirstStageInlining
+context(c: String)
+inline var String.excludedInlineExtensionProperty: String
+ get() = _excludedInlineExtensionProperty
+ set(value) {
+ _excludedInlineExtensionProperty = "$this.$value.v1 with context $c"
+ }
+
+var _excludedInlinePropertySetter = ""
+inline var excludedInlinePropertySetter: String
+ get() = _excludedInlinePropertySetter
+ @ExcludedFromFirstStageInlining
+ set(value) {
+ _excludedInlinePropertySetter = value + ".v1"
+ }
+
+var _excludedInlineExtensionPropertySetter = ""
+context(c: String)
+inline var String.excludedInlineExtensionPropertySetter: String
+ get() = _excludedInlineExtensionPropertySetter
+ @ExcludedFromFirstStageInlining
+ set(value) {
+ _excludedInlineExtensionPropertySetter = "$this.$value.v1 with context $c"
+ }
+
+class C {
+ var _excludedInlineClassProperty = ""
+ @ExcludedFromFirstStageInlining
+ inline var excludedInlineClassProperty: String
+ get() = _excludedInlineClassProperty
+ set(value) {
+ _excludedInlineClassProperty = value + ".v1"
+ }
+
+ var _excludedInlineClassExtensionProperty = ""
+ @ExcludedFromFirstStageInlining
+ context(c: String)
+ inline var String.excludedInlineClassExtensionProperty: String
+ get() = _excludedInlineClassExtensionProperty
+ set(value) {
+ _excludedInlineClassExtensionProperty = "$this.$value.v1 with context $c"
+ }
+
+ var _excludedInlineClassPropertySetter = ""
+ inline var excludedInlineClassPropertySetter: String
+ get() = _excludedInlineClassPropertySetter
+ @ExcludedFromFirstStageInlining
+ set(value) {
+ _excludedInlineClassPropertySetter = value + ".v1"
+ }
+
+ var _excludedInlineClassExtensionPropertySetter = ""
+ context(c: String)
+ inline var String.excludedInlineClassExtensionPropertySetter: String
+ get() = _excludedInlineClassExtensionPropertySetter
+ @ExcludedFromFirstStageInlining
+ set(value) {
+ _excludedInlineClassExtensionPropertySetter = "$this.$value.v1 with context $c"
+ }
+}
\ No newline at end of file
diff --git a/compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/lib1/l1.kt.1 b/compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/lib1/l1.kt.1
new file mode 100644
index 0000000..971aa33
--- /dev/null
+++ b/compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/lib1/l1.kt.1
@@ -0,0 +1,71 @@
+import kotlin.internal.ExcludedFromFirstStageInlining
+
+var _excludedInlineProperty = ""
+@ExcludedFromFirstStageInlining
+inline var excludedInlineProperty: String
+ get() = _excludedInlineProperty
+ set(value) {
+ _excludedInlineProperty = value + ".v2"
+ }
+
+var _excludedInlineExtensionProperty = ""
+@ExcludedFromFirstStageInlining
+context(c: String)
+inline var String.excludedInlineExtensionProperty: String
+ get() = _excludedInlineExtensionProperty
+ set(value) {
+ _excludedInlineExtensionProperty = "$this.$value.v2 with context $c"
+ }
+
+var _excludedInlinePropertySetter = ""
+inline var excludedInlinePropertySetter: String
+ get() = _excludedInlinePropertySetter
+ @ExcludedFromFirstStageInlining
+ set(value) {
+ _excludedInlinePropertySetter = value + ".v2"
+ }
+
+var _excludedInlineExtensionPropertySetter = ""
+context(c: String)
+inline var String.excludedInlineExtensionPropertySetter: String
+ get() = _excludedInlineExtensionPropertySetter
+ @ExcludedFromFirstStageInlining
+ set(value) {
+ _excludedInlineExtensionPropertySetter = "$this.$value.v2 with context $c"
+ }
+
+class C {
+ var _excludedInlineClassProperty = ""
+ @ExcludedFromFirstStageInlining
+ inline var excludedInlineClassProperty: String
+ get() = _excludedInlineClassProperty
+ set(value) {
+ _excludedInlineClassProperty = value + ".v2"
+ }
+
+ var _excludedInlineClassExtensionProperty = ""
+ @ExcludedFromFirstStageInlining
+ context(c: String)
+ inline var String.excludedInlineClassExtensionProperty: String
+ get() = _excludedInlineClassExtensionProperty
+ set(value) {
+ _excludedInlineClassExtensionProperty = "$this.$value.v2 with context $c"
+ }
+
+ var _excludedInlineClassPropertySetter = ""
+ inline var excludedInlineClassPropertySetter: String
+ get() = _excludedInlineClassPropertySetter
+ @ExcludedFromFirstStageInlining
+ set(value) {
+ _excludedInlineClassPropertySetter = value + ".v2"
+ }
+
+ var _excludedInlineClassExtensionPropertySetter = ""
+ context(c: String)
+ inline var String.excludedInlineClassExtensionPropertySetter: String
+ get() = _excludedInlineClassExtensionPropertySetter
+ @ExcludedFromFirstStageInlining
+ set(value) {
+ _excludedInlineClassExtensionPropertySetter = "$this.$value.v2 with context $c"
+ }
+}
\ No newline at end of file
diff --git a/compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/lib1/module.info b/compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/lib1/module.info
new file mode 100644
index 0000000..d17daf8
--- /dev/null
+++ b/compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/lib1/module.info
@@ -0,0 +1,8 @@
+STEP 0:
+ arguments: -Xklib-ir-inliner=full -Xcontext-parameters -Xfriend-modules=libraries/stdlib
+ dependencies: stdlib
+STEP 1:
+ arguments: -Xklib-ir-inliner=full -Xcontext-parameters -Xfriend-modules=libraries/stdlib
+ dependencies: stdlib
+ modifications:
+ U : l1.kt.1 -> l1.kt
\ No newline at end of file
diff --git a/compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/main/l2.kt b/compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/main/l2.kt
new file mode 100644
index 0000000..696f82d
--- /dev/null
+++ b/compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/main/l2.kt
@@ -0,0 +1,199 @@
+object PropertyAnnotated {
+ fun directCall1(): String {
+ excludedInlineProperty = "directSetterValue"
+ return excludedInlineProperty
+ }
+
+ fun directCall2(): String {
+ with("directContext") {
+ val s = "directReceiver"
+ s.excludedInlineExtensionProperty = "directSetterValue"
+ return s.excludedInlineExtensionProperty
+ }
+ }
+
+ fun directCall3(): String {
+ val c = C()
+ c.excludedInlineClassProperty = "directSetterValue"
+ return c.excludedInlineClassProperty
+ }
+
+ fun directCall4(): String {
+ C().run {
+ with("directClassContext") {
+ val s = "directClassReceiver"
+ s.excludedInlineClassExtensionProperty = "directSetterValue"
+ return s.excludedInlineClassExtensionProperty
+ }
+ }
+ }
+
+ fun directCall5(): String = inlineCall1()
+ fun directCall6(): String = inlineCall2()
+ fun directCall7(): String = inlineCall3()
+ fun directCall8(): String = inlineCall4()
+ fun directCall9(): String = lambdaCall1()
+ fun directCall10(): String = lambdaCall2()
+ fun directCall11(): String = lambdaCall3()
+ fun directCall12(): String = lambdaCall4()
+
+ inline fun inlineCall1(): String {
+ excludedInlineProperty = "inlineSetterValue"
+ return excludedInlineProperty
+ }
+
+ inline fun inlineCall2(): String {
+ with("inlineContext") {
+ val s = "inlineReceiver"
+ s.excludedInlineExtensionProperty = "inlineSetterValue"
+ return s.excludedInlineExtensionProperty
+ }
+ }
+
+ inline fun inlineCall3(): String {
+ val c = C()
+ c.excludedInlineClassProperty = "inlineSetterValue"
+ return c.excludedInlineClassProperty
+ }
+
+ inline fun inlineCall4(): String {
+ C().run {
+ with("inlineClassContext") {
+ val s = "inlineClassReceiver"
+ s.excludedInlineClassExtensionProperty = "inlineSetterValue"
+ return s.excludedInlineClassExtensionProperty
+ }
+ }
+ }
+
+ inline fun useLambda(f: () -> String) = f()
+
+ inline fun lambdaCall1(): String = useLambda {
+ excludedInlineProperty = "lambdaSetterValue"
+ excludedInlineProperty
+ }
+
+ inline fun lambdaCall2(): String = useLambda {
+ with("lambdaContext") {
+ val s = "lambdaReceiver"
+ s.excludedInlineExtensionProperty = "lambdaSetterValue"
+ s.excludedInlineExtensionProperty
+ }
+ }
+
+ inline fun lambdaCall3(): String = useLambda {
+ val c = C()
+ c.excludedInlineClassProperty = "lambdaSetterValue"
+ c.excludedInlineClassProperty
+ }
+
+ inline fun lambdaCall4(): String = useLambda {
+ C().run {
+ with("lambdaClassContext") {
+ val s = "lambdaClassReceiver"
+ s.excludedInlineClassExtensionProperty = "lambdaSetterValue"
+ s.excludedInlineClassExtensionProperty
+ }
+ }
+ }
+}
+
+object SetterAnnotated {
+ fun directCall1(): String {
+ excludedInlinePropertySetter = "directSetterValueAnnotatedSetter"
+ return excludedInlinePropertySetter
+ }
+
+ fun directCall2(): String {
+ with("directContextAnnotatedSetter") {
+ val s = "directReceiverAnnotatedSetter"
+ s.excludedInlineExtensionPropertySetter = "directSetterValueAnnotatedSetter"
+ return s.excludedInlineExtensionPropertySetter
+ }
+ }
+
+ fun directCall3(): String {
+ val c = C()
+ c.excludedInlineClassPropertySetter = "directSetterValueAnnotatedSetter"
+ return c.excludedInlineClassPropertySetter
+ }
+
+ fun directCall4(): String {
+ C().run {
+ with("directClassContextAnnotatedSetter") {
+ val s = "directClassReceiverAnnotatedSetter"
+ s.excludedInlineClassExtensionPropertySetter = "directSetterValueAnnotatedSetter"
+ return s.excludedInlineClassExtensionPropertySetter
+ }
+ }
+ }
+
+ fun directCall5(): String = inlineCall1()
+ fun directCall6(): String = inlineCall2()
+ fun directCall7(): String = inlineCall3()
+ fun directCall8(): String = inlineCall4()
+ fun directCall9(): String = lambdaCall1()
+ fun directCall10(): String = lambdaCall2()
+ fun directCall11(): String = lambdaCall3()
+ fun directCall12(): String = lambdaCall4()
+
+ inline fun inlineCall1(): String {
+ excludedInlinePropertySetter = "inlineSetterValueAnnotatedSetter"
+ return excludedInlinePropertySetter
+ }
+
+ inline fun inlineCall2(): String {
+ with("inlineContextAnnotatedSetter") {
+ val s = "inlineReceiverAnnotatedSetter"
+ s.excludedInlineExtensionPropertySetter = "inlineSetterValueAnnotatedSetter"
+ return s.excludedInlineExtensionPropertySetter
+ }
+ }
+
+ inline fun inlineCall3(): String {
+ val c = C()
+ c.excludedInlineClassPropertySetter = "inlineSetterValueAnnotatedSetter"
+ return c.excludedInlineClassPropertySetter
+ }
+
+ inline fun inlineCall4(): String {
+ C().run {
+ with("inlineClassContextAnnotatedSetter") {
+ val s = "inlineClassReceiverAnnotatedSetter"
+ s.excludedInlineClassExtensionPropertySetter = "inlineSetterValueAnnotatedSetter"
+ return s.excludedInlineClassExtensionPropertySetter
+ }
+ }
+ }
+
+ inline fun useLambda(f: () -> String) = f()
+
+ inline fun lambdaCall1(): String = useLambda {
+ excludedInlinePropertySetter = "lambdaSetterValueAnnotatedSetter"
+ excludedInlinePropertySetter
+ }
+
+ inline fun lambdaCall2(): String = useLambda {
+ with("lambdaContextAnnotatedSetter") {
+ val s = "lambdaReceiverAnnotatedSetter"
+ s.excludedInlineExtensionPropertySetter = "lambdaSetterValueAnnotatedSetter"
+ s.excludedInlineExtensionPropertySetter
+ }
+ }
+
+ inline fun lambdaCall3(): String = useLambda {
+ val c = C()
+ c.excludedInlineClassPropertySetter = "lambdaSetterValueAnnotatedSetter"
+ c.excludedInlineClassPropertySetter
+ }
+
+ inline fun lambdaCall4(): String = useLambda {
+ C().run {
+ with("lambdaClassContextAnnotatedSetter") {
+ val s = "lambdaClassReceiverAnnotatedSetter"
+ s.excludedInlineClassExtensionPropertySetter = "lambdaSetterValueAnnotatedSetter"
+ s.excludedInlineClassExtensionPropertySetter
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/main/m.kt b/compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/main/m.kt
new file mode 100644
index 0000000..2a5127ff
--- /dev/null
+++ b/compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/main/m.kt
@@ -0,0 +1,35 @@
+import abitestutils.abiTest
+
+fun box() = abiTest {
+ // Property annotated
+ expectSuccess("directSetterValue.v2") { PropertyAnnotated.directCall1() }
+ expectSuccess("directReceiver.directSetterValue.v2 with context directContext") { PropertyAnnotated.directCall2() }
+ expectSuccess("directSetterValue.v2") { PropertyAnnotated.directCall3() }
+ expectSuccess("directClassReceiver.directSetterValue.v2 with context directClassContext") { PropertyAnnotated.directCall4() }
+
+ expectSuccess("inlineSetterValue.v2") { PropertyAnnotated.directCall5() }
+ expectSuccess("inlineReceiver.inlineSetterValue.v2 with context inlineContext") { PropertyAnnotated.directCall6() }
+ expectSuccess("inlineSetterValue.v2") { PropertyAnnotated.directCall7() }
+ expectSuccess("inlineClassReceiver.inlineSetterValue.v2 with context inlineClassContext") { PropertyAnnotated.directCall8() }
+
+ expectSuccess("lambdaSetterValue.v2") { PropertyAnnotated.directCall9() }
+ expectSuccess("lambdaReceiver.lambdaSetterValue.v2 with context lambdaContext") { PropertyAnnotated.directCall10() }
+ expectSuccess("lambdaSetterValue.v2") { PropertyAnnotated.directCall11() }
+ expectSuccess("lambdaClassReceiver.lambdaSetterValue.v2 with context lambdaClassContext") { PropertyAnnotated.directCall12() }
+
+ // Setter annotated
+ expectSuccess("directSetterValueAnnotatedSetter.v2") { SetterAnnotated.directCall1() }
+ expectSuccess("directReceiverAnnotatedSetter.directSetterValueAnnotatedSetter.v2 with context directContextAnnotatedSetter") { SetterAnnotated.directCall2() }
+ expectSuccess("directSetterValueAnnotatedSetter.v2") { SetterAnnotated.directCall3() }
+ expectSuccess("directClassReceiverAnnotatedSetter.directSetterValueAnnotatedSetter.v2 with context directClassContextAnnotatedSetter") { SetterAnnotated.directCall4() }
+
+ expectSuccess("inlineSetterValueAnnotatedSetter.v2") { SetterAnnotated.directCall5() }
+ expectSuccess("inlineReceiverAnnotatedSetter.inlineSetterValueAnnotatedSetter.v2 with context inlineContextAnnotatedSetter") { SetterAnnotated.directCall6() }
+ expectSuccess("inlineSetterValueAnnotatedSetter.v2") { SetterAnnotated.directCall7() }
+ expectSuccess("inlineClassReceiverAnnotatedSetter.inlineSetterValueAnnotatedSetter.v2 with context inlineClassContextAnnotatedSetter") { SetterAnnotated.directCall8() }
+
+ expectSuccess("lambdaSetterValueAnnotatedSetter.v2") { SetterAnnotated.directCall9() }
+ expectSuccess("lambdaReceiverAnnotatedSetter.lambdaSetterValueAnnotatedSetter.v2 with context lambdaContextAnnotatedSetter") { SetterAnnotated.directCall10() }
+ expectSuccess("lambdaSetterValueAnnotatedSetter.v2") { SetterAnnotated.directCall11() }
+ expectSuccess("lambdaClassReceiverAnnotatedSetter.lambdaSetterValueAnnotatedSetter.v2 with context lambdaClassContextAnnotatedSetter") { SetterAnnotated.directCall12() }
+}
\ No newline at end of file
diff --git a/compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/main/module.info b/compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/main/module.info
new file mode 100644
index 0000000..b20eb71
--- /dev/null
+++ b/compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/main/module.info
@@ -0,0 +1,3 @@
+STEP 0:
+ arguments: -Xklib-ir-inliner=full -Xcontext-parameters
+ dependencies: stdlib, lib1
\ No newline at end of file
diff --git a/compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/project.info b/compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/project.info
new file mode 100644
index 0000000..4cea183
--- /dev/null
+++ b/compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/project.info
@@ -0,0 +1,10 @@
+IGNORE_BACKEND: NATIVE
+// ^^^ `-Xfriend-modules` flag is not supported
+
+MODULES: lib1, main
+
+STEP 0:
+ libs: lib1, main
+
+STEP 1:
+ libs: lib1
\ No newline at end of file
diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/JsPartialLinkageNoICES6TestCaseGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/JsPartialLinkageNoICES6TestCaseGenerated.java
index f8a2c60..e770c32 100644
--- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/JsPartialLinkageNoICES6TestCaseGenerated.java
+++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/JsPartialLinkageNoICES6TestCaseGenerated.java
@@ -184,6 +184,12 @@
}
@Test
+ @TestMetadata("propertySetterExcludedFromFirstStageInlining")
+ public void testPropertySetterExcludedFromFirstStageInlining() {
+ runTest("compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/");
+ }
+
+ @Test
@TestMetadata("referenceOperations")
public void testReferenceOperations() {
runTest("compiler/testData/klib/partial-linkage/referenceOperations/");
diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/JsPartialLinkageNoICTestCaseGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/JsPartialLinkageNoICTestCaseGenerated.java
index 50f1b09..940fa39 100644
--- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/JsPartialLinkageNoICTestCaseGenerated.java
+++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/JsPartialLinkageNoICTestCaseGenerated.java
@@ -183,6 +183,12 @@
}
@Test
+ @TestMetadata("propertySetterExcludedFromFirstStageInlining")
+ public void testPropertySetterExcludedFromFirstStageInlining() {
+ runTest("compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/");
+ }
+
+ @Test
@TestMetadata("referenceOperations")
public void testReferenceOperations() {
runTest("compiler/testData/klib/partial-linkage/referenceOperations/");
diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/JsPartialLinkageWithICTestCaseGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/JsPartialLinkageWithICTestCaseGenerated.java
index fdd1bba..11178cb 100644
--- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/JsPartialLinkageWithICTestCaseGenerated.java
+++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/JsPartialLinkageWithICTestCaseGenerated.java
@@ -183,6 +183,12 @@
}
@Test
+ @TestMetadata("propertySetterExcludedFromFirstStageInlining")
+ public void testPropertySetterExcludedFromFirstStageInlining() {
+ runTest("compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/");
+ }
+
+ @Test
@TestMetadata("referenceOperations")
public void testReferenceOperations() {
runTest("compiler/testData/klib/partial-linkage/referenceOperations/");
diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativePartialLinkageTestGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativePartialLinkageTestGenerated.java
index 0121e63..73a18820 100644
--- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativePartialLinkageTestGenerated.java
+++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativePartialLinkageTestGenerated.java
@@ -180,6 +180,12 @@
}
@Test
+ @TestMetadata("propertySetterExcludedFromFirstStageInlining")
+ public void testPropertySetterExcludedFromFirstStageInlining() {
+ runTest("compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/");
+ }
+
+ @Test
@TestMetadata("referenceOperations")
public void testReferenceOperations() {
runTest("compiler/testData/klib/partial-linkage/referenceOperations/");
diff --git a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/WasmPartialLinkageNoICTestCaseGenerated.java b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/WasmPartialLinkageNoICTestCaseGenerated.java
index f67ac3b..79ca901 100644
--- a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/WasmPartialLinkageNoICTestCaseGenerated.java
+++ b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/WasmPartialLinkageNoICTestCaseGenerated.java
@@ -181,6 +181,12 @@
}
@Test
+ @TestMetadata("propertySetterExcludedFromFirstStageInlining")
+ public void testPropertySetterExcludedFromFirstStageInlining() {
+ runTest("compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/");
+ }
+
+ @Test
@TestMetadata("referenceOperations")
public void testReferenceOperations() {
runTest("compiler/testData/klib/partial-linkage/referenceOperations/");
diff --git a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/WasmPartialLinkageWithICTestCaseGenerated.java b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/WasmPartialLinkageWithICTestCaseGenerated.java
index e15762d..9d02379 100644
--- a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/WasmPartialLinkageWithICTestCaseGenerated.java
+++ b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/WasmPartialLinkageWithICTestCaseGenerated.java
@@ -181,6 +181,12 @@
}
@Test
+ @TestMetadata("propertySetterExcludedFromFirstStageInlining")
+ public void testPropertySetterExcludedFromFirstStageInlining() {
+ runTest("compiler/testData/klib/partial-linkage/propertySetterExcludedFromFirstStageInlining/");
+ }
+
+ @Test
@TestMetadata("referenceOperations")
public void testReferenceOperations() {
runTest("compiler/testData/klib/partial-linkage/referenceOperations/");