diff --git a/compiler/testData/codegen/boxInline/defaultValues/inlineLambdaInNoInlineDefault.kt b/compiler/testData/codegen/boxInline/defaultValues/inlineLambdaInNoInlineDefault.kt index 196c9c6a91c..8ef44caa041 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/inlineLambdaInNoInlineDefault.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/inlineLambdaInNoInlineDefault.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -14,4 +13,4 @@ import test.* fun box(): String { return inlineFun({ "OK" }) -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundFunctionReference.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundFunctionReference.kt index 7978d5947fd..00255dd2337 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundFunctionReference.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundFunctionReference.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -18,4 +17,4 @@ import test.* fun box(): String { return inlineFun(A("OK")) -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundFunctionReferenceOnInt.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundFunctionReferenceOnInt.kt index 1e25fd006dd..df5dd4c59da 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundFunctionReferenceOnInt.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundFunctionReferenceOnInt.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -15,4 +14,4 @@ import test.* fun box(): String { val result = inlineFun(2) return if (result == 3) return "OK" else "fail $result" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundFunctionReferenceOnLong.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundFunctionReferenceOnLong.kt index 1e25fd006dd..df5dd4c59da 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundFunctionReferenceOnLong.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundFunctionReferenceOnLong.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -15,4 +14,4 @@ import test.* fun box(): String { val result = inlineFun(2) return if (result == 3) return "OK" else "fail $result" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundPropertyReference.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundPropertyReference.kt index 44865c261d9..d50dd77ad92 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundPropertyReference.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundPropertyReference.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -16,4 +15,4 @@ import test.* fun box(): String { return inlineFun(A("OK")) -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundPropertyReferenceOnInt.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundPropertyReferenceOnInt.kt index 03afe313d00..b6fe8f73ea5 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundPropertyReferenceOnInt.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundPropertyReferenceOnInt.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -19,4 +18,4 @@ import test.* fun box(): String { val result = inlineFun() return if (result == 2) return "OK" else "fail $result" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundPropertyReferenceOnLong.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundPropertyReferenceOnLong.kt index ddbff9c7779..2de16bf03a6 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundPropertyReferenceOnLong.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundPropertyReferenceOnLong.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -19,4 +18,4 @@ import test.* fun box(): String { val result = inlineFun() return if (result == 2L) return "OK" else "fail $result" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/constuctorReference.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/constuctorReference.kt index 4a858dc8388..31cce7b8b98 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/constuctorReference.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/constuctorReference.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -18,4 +17,4 @@ import test.* fun box(): String { return inlineFun("OK").value -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/functionImportedFromObject.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/functionImportedFromObject.kt index cb2841d8c68..2e8853db170 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/functionImportedFromObject.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/functionImportedFromObject.kt @@ -12,7 +12,6 @@ inline fun stub() {} // FILE: 2.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default import test.A.ok @@ -22,4 +21,4 @@ inline fun inlineFun(lambda: () -> String = ::ok): String { fun box(): String { return inlineFun() -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/functionReference.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/functionReference.kt index 4e299f521fd..3d1b0e247c8 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/functionReference.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/functionReference.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -16,4 +15,4 @@ import test.* fun box(): String { return inlineFun() -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/functionReferenceFromClass.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/functionReferenceFromClass.kt index db642704e42..65dadb262c3 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/functionReferenceFromClass.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/functionReferenceFromClass.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -18,4 +17,4 @@ import test.* fun box(): String { return inlineFun(A("OK")) -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/functionReferenceFromObject.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/functionReferenceFromObject.kt index ef74ee96c26..7bdb9562b7a 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/functionReferenceFromObject.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/functionReferenceFromObject.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -20,4 +19,4 @@ import test.* fun box(): String { return inlineFun() -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/innerClassConstuctorReference.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/innerClassConstuctorReference.kt index 197495daf5b..afff03007f2 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/innerClassConstuctorReference.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/innerClassConstuctorReference.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -21,4 +20,4 @@ import test.* fun box(): String { return inlineFun(A("OK")).ok() -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/privateFunctionReference.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/privateFunctionReference.kt index 78bb882d222..88a3e07a1b3 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/privateFunctionReference.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/privateFunctionReference.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -16,4 +15,4 @@ import test.* fun box(): String { return inlineFun() -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/privatePropertyReference.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/privatePropertyReference.kt index d3014c69816..4f0913f3ae4 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/privatePropertyReference.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/privatePropertyReference.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -16,4 +15,4 @@ import test.* fun box(): String { return inlineFun() -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/propertyImportedFromObject.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/propertyImportedFromObject.kt index 8792fd22a4a..65d1455b376 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/propertyImportedFromObject.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/propertyImportedFromObject.kt @@ -9,7 +9,6 @@ inline fun stub() {} // FILE: 2.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default import test.A.ok @@ -19,4 +18,4 @@ inline fun inlineFun(lambda: () -> String = ::ok): String { fun box(): String { return inlineFun() -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/propertyReference.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/propertyReference.kt index 4354fa4f2fb..56b41c9fc46 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/propertyReference.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/propertyReference.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -16,4 +15,4 @@ import test.* fun box(): String { return inlineFun() -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/propertyReferenceFromClass.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/propertyReferenceFromClass.kt index 4135f5fb654..192a4ba8399 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/propertyReferenceFromClass.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/propertyReferenceFromClass.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -16,4 +15,4 @@ import test.* fun box(): String { return inlineFun(A("OK")) -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/propertyReferenceFromObject.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/propertyReferenceFromObject.kt index bce433a2967..b5e39dcdd78 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/propertyReferenceFromObject.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/propertyReferenceFromObject.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -18,4 +17,4 @@ import test.* fun box(): String { return inlineFun() -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultLambdaInNoInline.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultLambdaInNoInline.kt index 921d27d17ff..66868edc6d2 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultLambdaInNoInline.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultLambdaInNoInline.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -15,4 +14,4 @@ import test.* fun box(): String { return inlineFun() -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInClass.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInClass.kt similarity index 92% rename from compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInClass.kt rename to compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInClass.kt index 3202f3ad340..6eb5562cbe2 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInClass.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInClass.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -18,4 +17,4 @@ import test.* // CHECK_CONTAINS_NO_CALLS: box fun box(): String { return A("OK").inlineFun() -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInInterface.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInInterface.kt similarity index 94% rename from compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInInterface.kt rename to compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInInterface.kt index 1db25cdf295..329d596696a 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInInterface.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInInterface.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default // CHECK_CONTAINS_NO_CALLS: test package test @@ -28,4 +27,4 @@ class B : A { fun box(): String { return B().test() -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/jvmStaticDefault.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/jvmStaticDefault.kt index 178d0a88356..ebb6f6d20c5 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/jvmStaticDefault.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/jvmStaticDefault.kt @@ -1,7 +1,6 @@ // IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default // IGNORE_BACKEND: JS, NATIVE //WITH_RUNTIME @@ -20,4 +19,4 @@ import test.* fun box(): String { return X.inlineFun("OK") -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/nonDefaultInlineInNoInline.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/nonDefaultInlineInNoInline.kt index a496ae59660..4bab8a9534c 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/nonDefaultInlineInNoInline.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/nonDefaultInlineInNoInline.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -15,4 +14,4 @@ import test.* fun box(): String { return inlineFun ({ "OK" }) -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClash.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClash.kt index 0750d85d5c3..c9dd55365d0 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClash.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClash.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -19,4 +18,4 @@ import test.* fun box(): String { val result = "OK".inlineFun() return if (result == "OKOK") "OK" else "fail 1: $result" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClash2.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClash2.kt index e9a810984df..62d2a439bb0 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClash2.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClash2.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -20,4 +19,4 @@ fun String.test(): String = "INLINE".inlineFun({ this }) fun box(): String { val result = "TEST".test() return if (result == "INLINE TEST INLINE") "OK" else "fail 1: $result" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass.kt index 882f0eb662b..d59c7db260f 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -22,4 +21,4 @@ import test.* fun box(): String { val result = with(A("VALUE")) { "OK".inlineFun() } return if (result == "VALUE OK OK") "OK" else "fail 1: $result" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass2.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass2.kt index 82bb2bee77b..3f39e069e91 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass2.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass2.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -24,4 +23,4 @@ fun String.test(): String = with(A("VALUE")) { "INLINE".inlineFun({ this@test }) fun box(): String { val result = "TEST".test() return if (result == "VALUE INLINE TEST INLINE") "OK" else "fail 1: $result" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simple.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simple.kt index 48056b2c25a..fd48acd95bc 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simple.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simple.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -15,4 +14,4 @@ import test.* fun box(): String { return inlineFun("OK") -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simpleErased.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simpleErased.kt index db0c1312d33..4c0c01a3f9c 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simpleErased.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simpleErased.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -15,4 +14,4 @@ import test.* fun box(): String { return inlineFun("OK") as String -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simpleErasedStaticInstance.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simpleErasedStaticInstance.kt index 689657429da..7606ab0f739 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simpleErasedStaticInstance.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simpleErasedStaticInstance.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -15,4 +14,4 @@ import test.* fun box(): String { return inlineFun() as String -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simpleExtension.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simpleExtension.kt index 0c34cca01e8..7256cc628e8 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simpleExtension.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simpleExtension.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -15,4 +14,4 @@ import test.* fun box(): String { return inlineFun("OK") -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simpleGeneric.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simpleGeneric.kt index d1b48961606..ce11874cc73 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simpleGeneric.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simpleGeneric.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -19,4 +18,4 @@ import test.* fun box(): String { return inlineFun(B("O")).value + inlineFun(A("K")).value -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simpleStaticInstance.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simpleStaticInstance.kt index 2bac23c631e..07f5fcb1da1 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simpleStaticInstance.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simpleStaticInstance.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -15,4 +14,4 @@ import test.* fun box(): String { return inlineFun() -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/thisClash.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/thisClash.kt index 0b747ca9d54..67f5405e154 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/thisClash.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/thisClash.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -21,4 +20,4 @@ import test.* fun box(): String { val result = "OK".inlineFun() return if (result == "OKOK") "OK" else "fail 1: $result" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/thisClashInClass.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/thisClashInClass.kt index 5846750ba3a..d2f560afd72 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/thisClashInClass.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/thisClashInClass.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default package test @@ -23,4 +22,4 @@ import test.* fun box(): String { val result = with(A("VALUE")) { "OK".inlineFun() } return if (result == "OKOK") "OK" else "fail 1: $result" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/boxInline/jvmPackageName/simple.kt b/compiler/testData/codegen/boxInline/jvmPackageName/simple.kt index ef6172d02f9..a63140171fa 100644 --- a/compiler/testData/codegen/boxInline/jvmPackageName/simple.kt +++ b/compiler/testData/codegen/boxInline/jvmPackageName/simple.kt @@ -1,8 +1,6 @@ // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME -// LANGUAGE_VERSION: 1.2 - // FILE: 1.kt @file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER") diff --git a/compiler/testData/codegen/boxInline/reified/defaultLambda/chain.kt b/compiler/testData/codegen/boxInline/reified/defaultLambda/chain.kt index 8bd9e563c8c..c21eab40a93 100644 --- a/compiler/testData/codegen/boxInline/reified/defaultLambda/chain.kt +++ b/compiler/testData/codegen/boxInline/reified/defaultLambda/chain.kt @@ -1,9 +1,8 @@ // IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: NATIVE // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default -//WITH_RUNTIME +// WITH_RUNTIME package test class OK @@ -21,8 +20,6 @@ inline fun inlineFun2(): String { import test.* - - fun box(): String { return inlineFun2() } diff --git a/compiler/testData/codegen/boxInline/reified/defaultLambda/nested.kt b/compiler/testData/codegen/boxInline/reified/defaultLambda/nested.kt index f1f3f4552b3..f52009c7192 100644 --- a/compiler/testData/codegen/boxInline/reified/defaultLambda/nested.kt +++ b/compiler/testData/codegen/boxInline/reified/defaultLambda/nested.kt @@ -1,9 +1,8 @@ // IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: NATIVE // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default -//WITH_RUNTIME +// WITH_RUNTIME package test inline fun inlineFun(p: String, lambda: () -> String = { { p + T::class.java.simpleName } () }): String { diff --git a/compiler/testData/codegen/boxInline/reified/defaultLambda/nested2.kt b/compiler/testData/codegen/boxInline/reified/defaultLambda/nested2.kt index e17136d3437..f218f85a6f9 100644 --- a/compiler/testData/codegen/boxInline/reified/defaultLambda/nested2.kt +++ b/compiler/testData/codegen/boxInline/reified/defaultLambda/nested2.kt @@ -1,9 +1,8 @@ // IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: NATIVE // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default -//WITH_RUNTIME +// WITH_RUNTIME package test inline fun inlineFun(p: String, crossinline lambda: () -> String = { { p + T::class.java.simpleName } () }): String { diff --git a/compiler/testData/codegen/boxInline/reified/defaultLambda/nested2Static.kt b/compiler/testData/codegen/boxInline/reified/defaultLambda/nested2Static.kt index bb2cf307dff..3634bac894b 100644 --- a/compiler/testData/codegen/boxInline/reified/defaultLambda/nested2Static.kt +++ b/compiler/testData/codegen/boxInline/reified/defaultLambda/nested2Static.kt @@ -1,9 +1,8 @@ // IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: NATIVE // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default -//WITH_RUNTIME +// WITH_RUNTIME package test inline fun inlineFun(crossinline lambda: () -> String = { { T::class.java.simpleName } () }): String { diff --git a/compiler/testData/codegen/boxInline/reified/defaultLambda/nestedStatic.kt b/compiler/testData/codegen/boxInline/reified/defaultLambda/nestedStatic.kt index c9382b7289f..3683eddbd92 100644 --- a/compiler/testData/codegen/boxInline/reified/defaultLambda/nestedStatic.kt +++ b/compiler/testData/codegen/boxInline/reified/defaultLambda/nestedStatic.kt @@ -1,9 +1,8 @@ // IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: NATIVE // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default -//WITH_RUNTIME +// WITH_RUNTIME package test inline fun inlineFun(lambda: () -> String = { { T::class.java.simpleName } () }): String { diff --git a/compiler/testData/codegen/boxInline/reified/defaultLambda/simple.kt b/compiler/testData/codegen/boxInline/reified/defaultLambda/simple.kt index 35c26e9f1eb..5c8eca4d1cd 100644 --- a/compiler/testData/codegen/boxInline/reified/defaultLambda/simple.kt +++ b/compiler/testData/codegen/boxInline/reified/defaultLambda/simple.kt @@ -1,9 +1,8 @@ // IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: NATIVE // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default -//WITH_RUNTIME +// WITH_RUNTIME package test inline fun inlineFun(lambda: () -> String = { T::class.java.simpleName }): String { diff --git a/compiler/testData/codegen/boxInline/reified/defaultLambda/transitiveChain.kt b/compiler/testData/codegen/boxInline/reified/defaultLambda/transitiveChain.kt index c6f6ba3fa84..0f88dc56a10 100644 --- a/compiler/testData/codegen/boxInline/reified/defaultLambda/transitiveChain.kt +++ b/compiler/testData/codegen/boxInline/reified/defaultLambda/transitiveChain.kt @@ -1,9 +1,8 @@ // IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: NATIVE // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default -//WITH_RUNTIME +// WITH_RUNTIME package test class K diff --git a/compiler/testData/codegen/boxInline/reified/defaultLambda/transitiveChainStatic.kt b/compiler/testData/codegen/boxInline/reified/defaultLambda/transitiveChainStatic.kt index fa96e86079d..d72677efadb 100644 --- a/compiler/testData/codegen/boxInline/reified/defaultLambda/transitiveChainStatic.kt +++ b/compiler/testData/codegen/boxInline/reified/defaultLambda/transitiveChainStatic.kt @@ -1,9 +1,8 @@ // IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: NATIVE // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default -//WITH_RUNTIME +// WITH_RUNTIME package test class OK @@ -21,8 +20,6 @@ inline fun inlineFun2(): String { import test.* - - fun box(): String { return inlineFun2() } diff --git a/compiler/testData/codegen/boxInline/smap/defaultLambda/nested.kt b/compiler/testData/codegen/boxInline/smap/defaultLambda/nested.kt index 491a1fb4aaa..8326d2bba2b 100644 --- a/compiler/testData/codegen/boxInline/smap/defaultLambda/nested.kt +++ b/compiler/testData/codegen/boxInline/smap/defaultLambda/nested.kt @@ -1,7 +1,7 @@ // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default // IGNORE_BACKEND: JVM_IR + package test inline fun inlineFun(capturedParam: String, crossinline lambda: () -> String = { capturedParam }): String { return { @@ -88,4 +88,4 @@ test/_1Kt$inlineFun$1 *L 1#1,12:1 6#2:13 -*E \ No newline at end of file +*E diff --git a/compiler/testData/codegen/boxInline/smap/defaultLambda/simple.kt b/compiler/testData/codegen/boxInline/smap/defaultLambda/simple.kt index 8cfdddcd674..6164d0e52d3 100644 --- a/compiler/testData/codegen/boxInline/smap/defaultLambda/simple.kt +++ b/compiler/testData/codegen/boxInline/smap/defaultLambda/simple.kt @@ -1,7 +1,7 @@ // FILE: 1.kt -// LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default // IGNORE_BACKEND: JVM_IR + package test inline fun inlineFun(capturedParam: String, lambda: () -> String = { capturedParam }): String { return lambda() @@ -65,4 +65,4 @@ _2Kt *L 6#1,2:10 6#1:12 -*E \ No newline at end of file +*E diff --git a/compiler/testData/codegen/boxInline/suspend/kt26658.kt b/compiler/testData/codegen/boxInline/suspend/kt26658.kt index 379cd4b94d3..64715a3816c 100644 --- a/compiler/testData/codegen/boxInline/suspend/kt26658.kt +++ b/compiler/testData/codegen/boxInline/suspend/kt26658.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM_IR // FILE: inlined.kt -// LANGUAGE_VERSION: 1.3 // WITH_RUNTIME // NO_CHECK_LAMBDA_INLINING import kotlin.coroutines.* diff --git a/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxInlineCodegenTestGenerated.java b/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxInlineCodegenTestGenerated.java index e92d9650ee0..2e8ecccd8bb 100644 --- a/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxInlineCodegenTestGenerated.java +++ b/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxInlineCodegenTestGenerated.java @@ -1209,14 +1209,14 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/genericLambda.kt"); } - @TestMetadata("instanceCapuredInClass.kt") - public void testInstanceCapuredInClass() throws Exception { - runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInClass.kt"); + @TestMetadata("instanceCapturedInClass.kt") + public void testInstanceCapturedInClass() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInClass.kt"); } - @TestMetadata("instanceCapuredInInterface.kt") - public void testInstanceCapuredInInterface() throws Exception { - runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInInterface.kt"); + @TestMetadata("instanceCapturedInInterface.kt") + public void testInstanceCapturedInInterface() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInInterface.kt"); } @TestMetadata("jvmStaticDefault.kt") diff --git a/compiler/tests/org/jetbrains/kotlin/codegen/CompileKotlinAgainstInlineKotlinTestGenerated.java b/compiler/tests/org/jetbrains/kotlin/codegen/CompileKotlinAgainstInlineKotlinTestGenerated.java index 0391a31d0f0..2a2f3182389 100644 --- a/compiler/tests/org/jetbrains/kotlin/codegen/CompileKotlinAgainstInlineKotlinTestGenerated.java +++ b/compiler/tests/org/jetbrains/kotlin/codegen/CompileKotlinAgainstInlineKotlinTestGenerated.java @@ -1209,14 +1209,14 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/genericLambda.kt"); } - @TestMetadata("instanceCapuredInClass.kt") - public void testInstanceCapuredInClass() throws Exception { - runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInClass.kt"); + @TestMetadata("instanceCapturedInClass.kt") + public void testInstanceCapturedInClass() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInClass.kt"); } - @TestMetadata("instanceCapuredInInterface.kt") - public void testInstanceCapuredInInterface() throws Exception { - runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInInterface.kt"); + @TestMetadata("instanceCapturedInInterface.kt") + public void testInstanceCapturedInInterface() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInInterface.kt"); } @TestMetadata("jvmStaticDefault.kt") diff --git a/compiler/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxInlineCodegenTestGenerated.java b/compiler/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxInlineCodegenTestGenerated.java index 41db1e5a255..2363ae1ee46 100644 --- a/compiler/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxInlineCodegenTestGenerated.java +++ b/compiler/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxInlineCodegenTestGenerated.java @@ -1209,14 +1209,14 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/genericLambda.kt"); } - @TestMetadata("instanceCapuredInClass.kt") - public void testInstanceCapuredInClass() throws Exception { - runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInClass.kt"); + @TestMetadata("instanceCapturedInClass.kt") + public void testInstanceCapturedInClass() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInClass.kt"); } - @TestMetadata("instanceCapuredInInterface.kt") - public void testInstanceCapuredInInterface() throws Exception { - runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInInterface.kt"); + @TestMetadata("instanceCapturedInInterface.kt") + public void testInstanceCapturedInInterface() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInInterface.kt"); } @TestMetadata("jvmStaticDefault.kt") diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/InlineDefaultValuesTestsGenerated.java b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/InlineDefaultValuesTestsGenerated.java index 9b2d2035f50..6a90da52dfe 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/InlineDefaultValuesTestsGenerated.java +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/InlineDefaultValuesTestsGenerated.java @@ -181,14 +181,14 @@ public class InlineDefaultValuesTestsGenerated extends AbstractInlineDefaultValu runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/genericLambda.kt"); } - @TestMetadata("instanceCapuredInClass.kt") - public void testInstanceCapuredInClass() throws Exception { - runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInClass.kt"); + @TestMetadata("instanceCapturedInClass.kt") + public void testInstanceCapturedInClass() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInClass.kt"); } - @TestMetadata("instanceCapuredInInterface.kt") - public void testInstanceCapuredInInterface() throws Exception { - runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInInterface.kt"); + @TestMetadata("instanceCapturedInInterface.kt") + public void testInstanceCapturedInInterface() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInInterface.kt"); } @TestMetadata("jvmStaticDefault.kt") diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/IrInlineDefaultValuesTestsGenerated.java b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/IrInlineDefaultValuesTestsGenerated.java index e4ed3aa9fa0..a199dcc6828 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/IrInlineDefaultValuesTestsGenerated.java +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/IrInlineDefaultValuesTestsGenerated.java @@ -181,14 +181,14 @@ public class IrInlineDefaultValuesTestsGenerated extends AbstractIrInlineDefault runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/genericLambda.kt"); } - @TestMetadata("instanceCapuredInClass.kt") - public void testInstanceCapuredInClass() throws Exception { - runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInClass.kt"); + @TestMetadata("instanceCapturedInClass.kt") + public void testInstanceCapturedInClass() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInClass.kt"); } - @TestMetadata("instanceCapuredInInterface.kt") - public void testInstanceCapuredInInterface() throws Exception { - runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInInterface.kt"); + @TestMetadata("instanceCapturedInInterface.kt") + public void testInstanceCapturedInInterface() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInInterface.kt"); } @TestMetadata("jvmStaticDefault.kt")