diff --git a/compiler/testData/codegen/box/argumentOrder/argumentOrderInObjectSuperCall.kt b/compiler/testData/codegen/box/argumentOrder/argumentOrderInObjectSuperCall.kt index 4973593c572..b194d4365b3 100644 --- a/compiler/testData/codegen/box/argumentOrder/argumentOrderInObjectSuperCall.kt +++ b/compiler/testData/codegen/box/argumentOrder/argumentOrderInObjectSuperCall.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR var result = "fail" open class Base(val o: String, val k: String) diff --git a/compiler/testData/codegen/box/argumentOrder/argumentOrderInSuperCall.kt b/compiler/testData/codegen/box/argumentOrder/argumentOrderInSuperCall.kt index 97387f0a00e..042a5dcbae6 100644 --- a/compiler/testData/codegen/box/argumentOrder/argumentOrderInSuperCall.kt +++ b/compiler/testData/codegen/box/argumentOrder/argumentOrderInSuperCall.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR var result = "fail" open class Base(val o: String, val k: String) diff --git a/compiler/testData/codegen/box/argumentOrder/arguments.kt b/compiler/testData/codegen/box/argumentOrder/arguments.kt index 1db745d3f4b..f3d4d9b9b33 100644 --- a/compiler/testData/codegen/box/argumentOrder/arguments.kt +++ b/compiler/testData/codegen/box/argumentOrder/arguments.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun test(a: String, b: String): String { return a + b; diff --git a/compiler/testData/codegen/box/argumentOrder/defaults.kt b/compiler/testData/codegen/box/argumentOrder/defaults.kt index ecb35db0be5..ebf9b4d7d19 100644 --- a/compiler/testData/codegen/box/argumentOrder/defaults.kt +++ b/compiler/testData/codegen/box/argumentOrder/defaults.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR var invokeOrder: String = "" fun test(x: Double = { invokeOrder += "x"; 1.0 }(), a: String, y: Long = { invokeOrder += "y"; 1 }(), b: String): String { diff --git a/compiler/testData/codegen/box/argumentOrder/lambdaMigration.kt b/compiler/testData/codegen/box/argumentOrder/lambdaMigration.kt index e85a1f23a68..6ef53bff6ee 100644 --- a/compiler/testData/codegen/box/argumentOrder/lambdaMigration.kt +++ b/compiler/testData/codegen/box/argumentOrder/lambdaMigration.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { var res = ""; var call = test(a = {res += "K"; "K"}(), b = {res+="O"; "O"}(), c = {res += "L"; "L"}) diff --git a/compiler/testData/codegen/box/argumentOrder/lambdaMigrationInClass.kt b/compiler/testData/codegen/box/argumentOrder/lambdaMigrationInClass.kt index 44ccefb0545..7100b035e29 100644 --- a/compiler/testData/codegen/box/argumentOrder/lambdaMigrationInClass.kt +++ b/compiler/testData/codegen/box/argumentOrder/lambdaMigrationInClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { var res = ""; var call = Z("Z").test(a = {res += "K"; "K"}(), b = {res+="O"; "O"}(), c = {res += "L"; "L"}) diff --git a/compiler/testData/codegen/box/argumentOrder/simple.kt b/compiler/testData/codegen/box/argumentOrder/simple.kt index 8fc4e9ccafc..112891c4d9a 100644 --- a/compiler/testData/codegen/box/argumentOrder/simple.kt +++ b/compiler/testData/codegen/box/argumentOrder/simple.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { var res = ""; var call = test(b = {res += "K"; "K"}(), a = {res+="O"; "O"}(), c = {res += "L"; "L"}) diff --git a/compiler/testData/codegen/box/argumentOrder/simpleInClass.kt b/compiler/testData/codegen/box/argumentOrder/simpleInClass.kt index 4c855e09d61..71bc1f7452c 100644 --- a/compiler/testData/codegen/box/argumentOrder/simpleInClass.kt +++ b/compiler/testData/codegen/box/argumentOrder/simpleInClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { var res = ""; var call = Z("Z").test(b = {res += "K"; "K"}(), a = {res+="O"; "O"}(), c = {res += "L"; "L"}) diff --git a/compiler/testData/codegen/box/arrays/kt4118.kt b/compiler/testData/codegen/box/arrays/kt4118.kt index 13319b0730c..71ebfb5578b 100644 --- a/compiler/testData/codegen/box/arrays/kt4118.kt +++ b/compiler/testData/codegen/box/arrays/kt4118.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR fun Array.test1(): Array { val func = { i:Int -> this} diff --git a/compiler/testData/codegen/box/arrays/primitiveArrays.kt b/compiler/testData/codegen/box/arrays/primitiveArrays.kt index a730494d74d..daa4046d4ed 100644 --- a/compiler/testData/codegen/box/arrays/primitiveArrays.kt +++ b/compiler/testData/codegen/box/arrays/primitiveArrays.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/arrays/stdlib.kt b/compiler/testData/codegen/box/arrays/stdlib.kt index c7feac737da..09812153e99 100644 --- a/compiler/testData/codegen/box/arrays/stdlib.kt +++ b/compiler/testData/codegen/box/arrays/stdlib.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR interface ISized { val size : Int diff --git a/compiler/testData/codegen/box/assert/alwaysEnable.kt b/compiler/testData/codegen/box/assert/alwaysEnable.kt index 9dbe9b884d4..68555d9a859 100644 --- a/compiler/testData/codegen/box/assert/alwaysEnable.kt +++ b/compiler/testData/codegen/box/assert/alwaysEnable.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS // KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=always-enable diff --git a/compiler/testData/codegen/box/assert/jvm/interfaceAssertionsEnabled.kt b/compiler/testData/codegen/box/assert/jvm/interfaceAssertionsEnabled.kt index 6e802266353..a4493034f02 100644 --- a/compiler/testData/codegen/box/assert/jvm/interfaceAssertionsEnabled.kt +++ b/compiler/testData/codegen/box/assert/jvm/interfaceAssertionsEnabled.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS // KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=jvm diff --git a/compiler/testData/codegen/box/assert/legacy.kt b/compiler/testData/codegen/box/assert/legacy.kt index 683695120c5..5a7fe8f7be2 100644 --- a/compiler/testData/codegen/box/assert/legacy.kt +++ b/compiler/testData/codegen/box/assert/legacy.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS // KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=legacy diff --git a/compiler/testData/codegen/box/callableReference/bound/coercionToUnit.kt b/compiler/testData/codegen/box/callableReference/bound/coercionToUnit.kt index 6a2a214776f..8baa905d065 100644 --- a/compiler/testData/codegen/box/callableReference/bound/coercionToUnit.kt +++ b/compiler/testData/codegen/box/callableReference/bound/coercionToUnit.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +NewInference -// IGNORE_BACKEND: JS_IR, JVM_IR +// IGNORE_BACKEND: JS_IR // WITH_RUNTIME class Foo diff --git a/compiler/testData/codegen/box/callableReference/bound/companionObjectReceiver.kt b/compiler/testData/codegen/box/callableReference/bound/companionObjectReceiver.kt index 4979da6f807..ddf856c54da 100644 --- a/compiler/testData/codegen/box/callableReference/bound/companionObjectReceiver.kt +++ b/compiler/testData/codegen/box/callableReference/bound/companionObjectReceiver.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A { companion object { fun ok() = "OK" diff --git a/compiler/testData/codegen/box/callableReference/bound/enumEntryMember.kt b/compiler/testData/codegen/box/callableReference/bound/enumEntryMember.kt index bab9b0ef193..ce40fb403cf 100644 --- a/compiler/testData/codegen/box/callableReference/bound/enumEntryMember.kt +++ b/compiler/testData/codegen/box/callableReference/bound/enumEntryMember.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS enum class E { A, B; diff --git a/compiler/testData/codegen/box/callableReference/bound/equals/receiverInEquals.kt b/compiler/testData/codegen/box/callableReference/bound/equals/receiverInEquals.kt index 2ff1747341b..245ca43ced3 100644 --- a/compiler/testData/codegen/box/callableReference/bound/equals/receiverInEquals.kt +++ b/compiler/testData/codegen/box/callableReference/bound/equals/receiverInEquals.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/callableReference/bound/inline/simple.kt b/compiler/testData/codegen/box/callableReference/bound/inline/simple.kt index 138bcf8ff85..ab672b23ac4 100644 --- a/compiler/testData/codegen/box/callableReference/bound/inline/simple.kt +++ b/compiler/testData/codegen/box/callableReference/bound/inline/simple.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR inline fun foo(x: () -> String) = x() fun String.id() = this diff --git a/compiler/testData/codegen/box/callableReference/bound/inline/simpleVal.kt b/compiler/testData/codegen/box/callableReference/bound/inline/simpleVal.kt index 443589e1b1d..fea3e21c688 100644 --- a/compiler/testData/codegen/box/callableReference/bound/inline/simpleVal.kt +++ b/compiler/testData/codegen/box/callableReference/bound/inline/simpleVal.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR inline fun go(f: () -> String) = f() fun String.id(): String = this diff --git a/compiler/testData/codegen/box/callableReference/bound/kCallableNameIntrinsic.kt b/compiler/testData/codegen/box/callableReference/bound/kCallableNameIntrinsic.kt index ea6d3222c87..68f336966a3 100644 --- a/compiler/testData/codegen/box/callableReference/bound/kCallableNameIntrinsic.kt +++ b/compiler/testData/codegen/box/callableReference/bound/kCallableNameIntrinsic.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // SKIP_SOURCEMAP_REMAPPING diff --git a/compiler/testData/codegen/box/callableReference/bound/kt12738.kt b/compiler/testData/codegen/box/callableReference/bound/kt12738.kt index 00af27f3884..0b5a89994f0 100644 --- a/compiler/testData/codegen/box/callableReference/bound/kt12738.kt +++ b/compiler/testData/codegen/box/callableReference/bound/kt12738.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR fun get(t: T): () -> String { return t::toString diff --git a/compiler/testData/codegen/box/callableReference/bound/kt15446.kt b/compiler/testData/codegen/box/callableReference/bound/kt15446.kt index 8d90ce9c49d..98f9ecaa40f 100644 --- a/compiler/testData/codegen/box/callableReference/bound/kt15446.kt +++ b/compiler/testData/codegen/box/callableReference/bound/kt15446.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR //WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/callableReference/bound/objectReceiver.kt b/compiler/testData/codegen/box/callableReference/bound/objectReceiver.kt index 3aad05dcf96..a03203792d5 100644 --- a/compiler/testData/codegen/box/callableReference/bound/objectReceiver.kt +++ b/compiler/testData/codegen/box/callableReference/bound/objectReceiver.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR object Singleton { fun ok() = "OK" } diff --git a/compiler/testData/codegen/box/callableReference/bound/primitiveReceiver.kt b/compiler/testData/codegen/box/callableReference/bound/primitiveReceiver.kt index dd1a7f37051..2b14a334719 100644 --- a/compiler/testData/codegen/box/callableReference/bound/primitiveReceiver.kt +++ b/compiler/testData/codegen/box/callableReference/bound/primitiveReceiver.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR fun Boolean.foo() = 1 fun Byte.foo() = 2 diff --git a/compiler/testData/codegen/box/callableReference/bound/simpleFunction.kt b/compiler/testData/codegen/box/callableReference/bound/simpleFunction.kt index b2c56d20599..05f99d7db85 100644 --- a/compiler/testData/codegen/box/callableReference/bound/simpleFunction.kt +++ b/compiler/testData/codegen/box/callableReference/bound/simpleFunction.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR fun box(): String { val f = "KOTLIN"::get diff --git a/compiler/testData/codegen/box/callableReference/function/abstractClassMember.kt b/compiler/testData/codegen/box/callableReference/function/abstractClassMember.kt index 9ba08574892..515b25914d0 100644 --- a/compiler/testData/codegen/box/callableReference/function/abstractClassMember.kt +++ b/compiler/testData/codegen/box/callableReference/function/abstractClassMember.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR abstract class A { abstract fun foo(): String } diff --git a/compiler/testData/codegen/box/callableReference/function/booleanNotIntrinsic.kt b/compiler/testData/codegen/box/callableReference/function/booleanNotIntrinsic.kt index 3ec19ecf086..277dee1499b 100644 --- a/compiler/testData/codegen/box/callableReference/function/booleanNotIntrinsic.kt +++ b/compiler/testData/codegen/box/callableReference/function/booleanNotIntrinsic.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR fun box(): String { if ((Boolean::not)(true) != false) return "Fail 1" diff --git a/compiler/testData/codegen/box/callableReference/function/classMemberFromClass.kt b/compiler/testData/codegen/box/callableReference/function/classMemberFromClass.kt index bb014bbbf5d..3ed816ee504 100644 --- a/compiler/testData/codegen/box/callableReference/function/classMemberFromClass.kt +++ b/compiler/testData/codegen/box/callableReference/function/classMemberFromClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A { fun foo(k: Int) = k diff --git a/compiler/testData/codegen/box/callableReference/function/classMemberFromExtension.kt b/compiler/testData/codegen/box/callableReference/function/classMemberFromExtension.kt index dcbae190851..9619233c943 100644 --- a/compiler/testData/codegen/box/callableReference/function/classMemberFromExtension.kt +++ b/compiler/testData/codegen/box/callableReference/function/classMemberFromExtension.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A { fun o() = 111 fun k(k: Int) = k diff --git a/compiler/testData/codegen/box/callableReference/function/classMemberFromTopLevelStringNoArgs.kt b/compiler/testData/codegen/box/callableReference/function/classMemberFromTopLevelStringNoArgs.kt index c39f1bc5b24..4ea10740594 100644 --- a/compiler/testData/codegen/box/callableReference/function/classMemberFromTopLevelStringNoArgs.kt +++ b/compiler/testData/codegen/box/callableReference/function/classMemberFromTopLevelStringNoArgs.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A { fun foo() = "OK" } diff --git a/compiler/testData/codegen/box/callableReference/function/classMemberFromTopLevelStringOneStringArg.kt b/compiler/testData/codegen/box/callableReference/function/classMemberFromTopLevelStringOneStringArg.kt index 5734b516a84..acdf2f897d5 100644 --- a/compiler/testData/codegen/box/callableReference/function/classMemberFromTopLevelStringOneStringArg.kt +++ b/compiler/testData/codegen/box/callableReference/function/classMemberFromTopLevelStringOneStringArg.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A { fun foo(result: String) = result } diff --git a/compiler/testData/codegen/box/callableReference/function/classMemberFromTopLevelUnitNoArgs.kt b/compiler/testData/codegen/box/callableReference/function/classMemberFromTopLevelUnitNoArgs.kt index 8fca6ced707..37ebbdb72eb 100644 --- a/compiler/testData/codegen/box/callableReference/function/classMemberFromTopLevelUnitNoArgs.kt +++ b/compiler/testData/codegen/box/callableReference/function/classMemberFromTopLevelUnitNoArgs.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A { var result = "Fail" diff --git a/compiler/testData/codegen/box/callableReference/function/classMemberFromTopLevelUnitOneStringArg.kt b/compiler/testData/codegen/box/callableReference/function/classMemberFromTopLevelUnitOneStringArg.kt index 9ef6827a140..3b280c28f34 100644 --- a/compiler/testData/codegen/box/callableReference/function/classMemberFromTopLevelUnitOneStringArg.kt +++ b/compiler/testData/codegen/box/callableReference/function/classMemberFromTopLevelUnitOneStringArg.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A { var result = "Fail" diff --git a/compiler/testData/codegen/box/callableReference/function/coercionToUnit.kt b/compiler/testData/codegen/box/callableReference/function/coercionToUnit.kt index d85344da9be..299413f7a2a 100644 --- a/compiler/testData/codegen/box/callableReference/function/coercionToUnit.kt +++ b/compiler/testData/codegen/box/callableReference/function/coercionToUnit.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +NewInference -// IGNORE_BACKEND: JVM_IR fun foo(s: String): Boolean { if (s != "kotlin") throw AssertionError(s) diff --git a/compiler/testData/codegen/box/callableReference/function/constructorFromTopLevelNoArgs.kt b/compiler/testData/codegen/box/callableReference/function/constructorFromTopLevelNoArgs.kt index c32f7714271..db7b7fd01ef 100644 --- a/compiler/testData/codegen/box/callableReference/function/constructorFromTopLevelNoArgs.kt +++ b/compiler/testData/codegen/box/callableReference/function/constructorFromTopLevelNoArgs.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A { var result = "OK" } diff --git a/compiler/testData/codegen/box/callableReference/function/constructorFromTopLevelOneStringArg.kt b/compiler/testData/codegen/box/callableReference/function/constructorFromTopLevelOneStringArg.kt index 688c506e522..63a861dbcf4 100644 --- a/compiler/testData/codegen/box/callableReference/function/constructorFromTopLevelOneStringArg.kt +++ b/compiler/testData/codegen/box/callableReference/function/constructorFromTopLevelOneStringArg.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A(val result: String) fun box() = (::A)("OK").result diff --git a/compiler/testData/codegen/box/callableReference/function/enumValueOfMethod.kt b/compiler/testData/codegen/box/callableReference/function/enumValueOfMethod.kt index 1e1930a08d0..21a53adfff3 100644 --- a/compiler/testData/codegen/box/callableReference/function/enumValueOfMethod.kt +++ b/compiler/testData/codegen/box/callableReference/function/enumValueOfMethod.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR enum class E { ENTRY } diff --git a/compiler/testData/codegen/box/callableReference/function/equalsIntrinsic.kt b/compiler/testData/codegen/box/callableReference/function/equalsIntrinsic.kt index f61dc65bd5e..ecdcdf70aff 100644 --- a/compiler/testData/codegen/box/callableReference/function/equalsIntrinsic.kt +++ b/compiler/testData/codegen/box/callableReference/function/equalsIntrinsic.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR class A diff --git a/compiler/testData/codegen/box/callableReference/function/extensionFromClass.kt b/compiler/testData/codegen/box/callableReference/function/extensionFromClass.kt index b62caa27065..0248c2f9f2c 100644 --- a/compiler/testData/codegen/box/callableReference/function/extensionFromClass.kt +++ b/compiler/testData/codegen/box/callableReference/function/extensionFromClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A { fun result() = (A::foo)(this, "OK") } diff --git a/compiler/testData/codegen/box/callableReference/function/extensionFromExtension.kt b/compiler/testData/codegen/box/callableReference/function/extensionFromExtension.kt index f63d8f7b961..103ceee5cbc 100644 --- a/compiler/testData/codegen/box/callableReference/function/extensionFromExtension.kt +++ b/compiler/testData/codegen/box/callableReference/function/extensionFromExtension.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A fun A.foo() = (A::bar)(this, "OK") diff --git a/compiler/testData/codegen/box/callableReference/function/extensionFromTopLevelStringNoArgs.kt b/compiler/testData/codegen/box/callableReference/function/extensionFromTopLevelStringNoArgs.kt index 1a37e2ef2f0..b5fd42ad9c6 100644 --- a/compiler/testData/codegen/box/callableReference/function/extensionFromTopLevelStringNoArgs.kt +++ b/compiler/testData/codegen/box/callableReference/function/extensionFromTopLevelStringNoArgs.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A fun A.foo() = "OK" diff --git a/compiler/testData/codegen/box/callableReference/function/extensionFromTopLevelStringOneStringArg.kt b/compiler/testData/codegen/box/callableReference/function/extensionFromTopLevelStringOneStringArg.kt index d2c41e96279..69db0311a69 100644 --- a/compiler/testData/codegen/box/callableReference/function/extensionFromTopLevelStringOneStringArg.kt +++ b/compiler/testData/codegen/box/callableReference/function/extensionFromTopLevelStringOneStringArg.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A fun A.foo(result: String) = result diff --git a/compiler/testData/codegen/box/callableReference/function/extensionFromTopLevelUnitNoArgs.kt b/compiler/testData/codegen/box/callableReference/function/extensionFromTopLevelUnitNoArgs.kt index 81258ce490c..b590ad2ec91 100644 --- a/compiler/testData/codegen/box/callableReference/function/extensionFromTopLevelUnitNoArgs.kt +++ b/compiler/testData/codegen/box/callableReference/function/extensionFromTopLevelUnitNoArgs.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A { var result = "Fail" } diff --git a/compiler/testData/codegen/box/callableReference/function/extensionFromTopLevelUnitOneStringArg.kt b/compiler/testData/codegen/box/callableReference/function/extensionFromTopLevelUnitOneStringArg.kt index 7d49badc21b..aa9d5505bbf 100644 --- a/compiler/testData/codegen/box/callableReference/function/extensionFromTopLevelUnitOneStringArg.kt +++ b/compiler/testData/codegen/box/callableReference/function/extensionFromTopLevelUnitOneStringArg.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A { var result = "Fail" } diff --git a/compiler/testData/codegen/box/callableReference/function/genericCallableReferenceArguments.kt b/compiler/testData/codegen/box/callableReference/function/genericCallableReferenceArguments.kt index 695876a56d9..82c4667271a 100644 --- a/compiler/testData/codegen/box/callableReference/function/genericCallableReferenceArguments.kt +++ b/compiler/testData/codegen/box/callableReference/function/genericCallableReferenceArguments.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/callableReference/function/genericCallableReferencesWithNullableTypes.kt b/compiler/testData/codegen/box/callableReference/function/genericCallableReferencesWithNullableTypes.kt index 869baccb278..93af80171e8 100644 --- a/compiler/testData/codegen/box/callableReference/function/genericCallableReferencesWithNullableTypes.kt +++ b/compiler/testData/codegen/box/callableReference/function/genericCallableReferencesWithNullableTypes.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/callableReference/function/genericCallableReferencesWithOverload.kt b/compiler/testData/codegen/box/callableReference/function/genericCallableReferencesWithOverload.kt index a993388342d..f7e2526e098 100644 --- a/compiler/testData/codegen/box/callableReference/function/genericCallableReferencesWithOverload.kt +++ b/compiler/testData/codegen/box/callableReference/function/genericCallableReferencesWithOverload.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/callableReference/function/genericMember.kt b/compiler/testData/codegen/box/callableReference/function/genericMember.kt index 746219540db..25dabc055f2 100644 --- a/compiler/testData/codegen/box/callableReference/function/genericMember.kt +++ b/compiler/testData/codegen/box/callableReference/function/genericMember.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A(val t: T) { fun foo(): T = t } diff --git a/compiler/testData/codegen/box/callableReference/function/genericWithDependentType.kt b/compiler/testData/codegen/box/callableReference/function/genericWithDependentType.kt index 25dbbb37eb8..e7cc88880f8 100644 --- a/compiler/testData/codegen/box/callableReference/function/genericWithDependentType.kt +++ b/compiler/testData/codegen/box/callableReference/function/genericWithDependentType.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/callableReference/function/getArityViaFunctionImpl.kt b/compiler/testData/codegen/box/callableReference/function/getArityViaFunctionImpl.kt index 27dde79ee8d..214f7bba8d4 100644 --- a/compiler/testData/codegen/box/callableReference/function/getArityViaFunctionImpl.kt +++ b/compiler/testData/codegen/box/callableReference/function/getArityViaFunctionImpl.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/callableReference/function/innerClassConstructorWithTwoReceivers.kt b/compiler/testData/codegen/box/callableReference/function/innerClassConstructorWithTwoReceivers.kt index c9d87a89d02..35fa6ffc598 100644 --- a/compiler/testData/codegen/box/callableReference/function/innerClassConstructorWithTwoReceivers.kt +++ b/compiler/testData/codegen/box/callableReference/function/innerClassConstructorWithTwoReceivers.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR abstract class A { inner class InnerInA { fun returnOk() = "OK" diff --git a/compiler/testData/codegen/box/callableReference/function/javaCollectionsStaticMethod.kt b/compiler/testData/codegen/box/callableReference/function/javaCollectionsStaticMethod.kt index e48c1497317..11ef6819dd8 100644 --- a/compiler/testData/codegen/box/callableReference/function/javaCollectionsStaticMethod.kt +++ b/compiler/testData/codegen/box/callableReference/function/javaCollectionsStaticMethod.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/callableReference/function/local/captureOuter.kt b/compiler/testData/codegen/box/callableReference/function/local/captureOuter.kt index aa9a53670a0..e653f8f0574 100644 --- a/compiler/testData/codegen/box/callableReference/function/local/captureOuter.kt +++ b/compiler/testData/codegen/box/callableReference/function/local/captureOuter.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class Outer { val result = "OK" diff --git a/compiler/testData/codegen/box/callableReference/function/local/classMember.kt b/compiler/testData/codegen/box/callableReference/function/local/classMember.kt index 80653a8a800..72bb8af6e81 100644 --- a/compiler/testData/codegen/box/callableReference/function/local/classMember.kt +++ b/compiler/testData/codegen/box/callableReference/function/local/classMember.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { class Local { fun foo() = "OK" diff --git a/compiler/testData/codegen/box/callableReference/function/local/closureWithSideEffect.kt b/compiler/testData/codegen/box/callableReference/function/local/closureWithSideEffect.kt index fa652cee03a..e58484c9479 100644 --- a/compiler/testData/codegen/box/callableReference/function/local/closureWithSideEffect.kt +++ b/compiler/testData/codegen/box/callableReference/function/local/closureWithSideEffect.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { var result = "Fail" diff --git a/compiler/testData/codegen/box/callableReference/function/local/constructor.kt b/compiler/testData/codegen/box/callableReference/function/local/constructor.kt index 5a917c13f05..291af016082 100644 --- a/compiler/testData/codegen/box/callableReference/function/local/constructor.kt +++ b/compiler/testData/codegen/box/callableReference/function/local/constructor.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { class A { val result = "OK" diff --git a/compiler/testData/codegen/box/callableReference/function/local/constructorWithInitializer.kt b/compiler/testData/codegen/box/callableReference/function/local/constructorWithInitializer.kt index 697633acf23..0e8c0a25839 100644 --- a/compiler/testData/codegen/box/callableReference/function/local/constructorWithInitializer.kt +++ b/compiler/testData/codegen/box/callableReference/function/local/constructorWithInitializer.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { class A { var result: String = "Fail"; diff --git a/compiler/testData/codegen/box/callableReference/function/local/equalsHashCode.kt b/compiler/testData/codegen/box/callableReference/function/local/equalsHashCode.kt index e28cf97c283..b547cb1ee3f 100644 --- a/compiler/testData/codegen/box/callableReference/function/local/equalsHashCode.kt +++ b/compiler/testData/codegen/box/callableReference/function/local/equalsHashCode.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS, NATIVE fun box(): String { diff --git a/compiler/testData/codegen/box/callableReference/function/local/extension.kt b/compiler/testData/codegen/box/callableReference/function/local/extension.kt index e60884b2aea..3919a320e81 100644 --- a/compiler/testData/codegen/box/callableReference/function/local/extension.kt +++ b/compiler/testData/codegen/box/callableReference/function/local/extension.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A fun box(): String { diff --git a/compiler/testData/codegen/box/callableReference/function/local/extensionToLocalClass.kt b/compiler/testData/codegen/box/callableReference/function/local/extensionToLocalClass.kt index a4fd30ddc2a..43537f177e9 100644 --- a/compiler/testData/codegen/box/callableReference/function/local/extensionToLocalClass.kt +++ b/compiler/testData/codegen/box/callableReference/function/local/extensionToLocalClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { class A fun A.foo() = "OK" diff --git a/compiler/testData/codegen/box/callableReference/function/local/extensionToPrimitive.kt b/compiler/testData/codegen/box/callableReference/function/local/extensionToPrimitive.kt index 50466988237..9cb84f4df07 100644 --- a/compiler/testData/codegen/box/callableReference/function/local/extensionToPrimitive.kt +++ b/compiler/testData/codegen/box/callableReference/function/local/extensionToPrimitive.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { fun Int.is42With(that: Int) = this + 2 * that == 42 return if ((Int::is42With)(16, 13)) "OK" else "Fail" diff --git a/compiler/testData/codegen/box/callableReference/function/local/extensionWithClosure.kt b/compiler/testData/codegen/box/callableReference/function/local/extensionWithClosure.kt index 76594cd6bca..cbbbcd219b1 100644 --- a/compiler/testData/codegen/box/callableReference/function/local/extensionWithClosure.kt +++ b/compiler/testData/codegen/box/callableReference/function/local/extensionWithClosure.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A fun box(): String { diff --git a/compiler/testData/codegen/box/callableReference/function/local/genericMember.kt b/compiler/testData/codegen/box/callableReference/function/local/genericMember.kt index dc4f454ce8e..12e60f50480 100644 --- a/compiler/testData/codegen/box/callableReference/function/local/genericMember.kt +++ b/compiler/testData/codegen/box/callableReference/function/local/genericMember.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { class Id { fun invoke(t: T) = t diff --git a/compiler/testData/codegen/box/callableReference/function/local/localClassMember.kt b/compiler/testData/codegen/box/callableReference/function/local/localClassMember.kt index 98a06960964..98f62fb5b40 100644 --- a/compiler/testData/codegen/box/callableReference/function/local/localClassMember.kt +++ b/compiler/testData/codegen/box/callableReference/function/local/localClassMember.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { val result = "OK" diff --git a/compiler/testData/codegen/box/callableReference/function/local/localLocal.kt b/compiler/testData/codegen/box/callableReference/function/local/localLocal.kt index adae18ff1b5..a34a24395b6 100644 --- a/compiler/testData/codegen/box/callableReference/function/local/localLocal.kt +++ b/compiler/testData/codegen/box/callableReference/function/local/localLocal.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { fun foo(): String { fun bar() = "OK" diff --git a/compiler/testData/codegen/box/callableReference/function/local/recursiveClosure.kt b/compiler/testData/codegen/box/callableReference/function/local/recursiveClosure.kt index d9a8a9bae60..75ca4009a47 100644 --- a/compiler/testData/codegen/box/callableReference/function/local/recursiveClosure.kt +++ b/compiler/testData/codegen/box/callableReference/function/local/recursiveClosure.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun foo(until: Int): String { fun bar(x: Int): String = if (x == until) "OK" else bar(x + 1) diff --git a/compiler/testData/codegen/box/callableReference/function/local/simple.kt b/compiler/testData/codegen/box/callableReference/function/local/simple.kt index eddc2014e84..789703872db 100644 --- a/compiler/testData/codegen/box/callableReference/function/local/simple.kt +++ b/compiler/testData/codegen/box/callableReference/function/local/simple.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { fun foo() = "OK" return (::foo)() diff --git a/compiler/testData/codegen/box/callableReference/function/local/simpleClosure.kt b/compiler/testData/codegen/box/callableReference/function/local/simpleClosure.kt index f0afa5bb95b..5aeb154fbdd 100644 --- a/compiler/testData/codegen/box/callableReference/function/local/simpleClosure.kt +++ b/compiler/testData/codegen/box/callableReference/function/local/simpleClosure.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { val result = "OK" diff --git a/compiler/testData/codegen/box/callableReference/function/local/simpleWithArg.kt b/compiler/testData/codegen/box/callableReference/function/local/simpleWithArg.kt index 2cfaec7b231..e45fce85e2e 100644 --- a/compiler/testData/codegen/box/callableReference/function/local/simpleWithArg.kt +++ b/compiler/testData/codegen/box/callableReference/function/local/simpleWithArg.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { fun foo(s: String) = s return (::foo)("OK") diff --git a/compiler/testData/codegen/box/callableReference/function/local/unitWithSideEffect.kt b/compiler/testData/codegen/box/callableReference/function/local/unitWithSideEffect.kt index 15fb27a845a..5da17e9d5e5 100644 --- a/compiler/testData/codegen/box/callableReference/function/local/unitWithSideEffect.kt +++ b/compiler/testData/codegen/box/callableReference/function/local/unitWithSideEffect.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR var state = 23 fun box(): String { diff --git a/compiler/testData/codegen/box/callableReference/function/nestedConstructorFromClass.kt b/compiler/testData/codegen/box/callableReference/function/nestedConstructorFromClass.kt index 54078fa3f1f..8e0439f4f03 100644 --- a/compiler/testData/codegen/box/callableReference/function/nestedConstructorFromClass.kt +++ b/compiler/testData/codegen/box/callableReference/function/nestedConstructorFromClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A { class Nested { val o = 111 diff --git a/compiler/testData/codegen/box/callableReference/function/nestedConstructorFromTopLevelNoArgs.kt b/compiler/testData/codegen/box/callableReference/function/nestedConstructorFromTopLevelNoArgs.kt index 58adfb880df..f99dd41ae86 100644 --- a/compiler/testData/codegen/box/callableReference/function/nestedConstructorFromTopLevelNoArgs.kt +++ b/compiler/testData/codegen/box/callableReference/function/nestedConstructorFromTopLevelNoArgs.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A { class Nested { val result = "OK" diff --git a/compiler/testData/codegen/box/callableReference/function/nestedConstructorFromTopLevelOneStringArg.kt b/compiler/testData/codegen/box/callableReference/function/nestedConstructorFromTopLevelOneStringArg.kt index f1c043b16be..3f0c03c67f3 100644 --- a/compiler/testData/codegen/box/callableReference/function/nestedConstructorFromTopLevelOneStringArg.kt +++ b/compiler/testData/codegen/box/callableReference/function/nestedConstructorFromTopLevelOneStringArg.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A { class Nested(val result: String) } diff --git a/compiler/testData/codegen/box/callableReference/function/newArray.kt b/compiler/testData/codegen/box/callableReference/function/newArray.kt index ccce9aa6312..b27d4e68ac9 100644 --- a/compiler/testData/codegen/box/callableReference/function/newArray.kt +++ b/compiler/testData/codegen/box/callableReference/function/newArray.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR private fun upcast(value: T): T = value fun box(): String { diff --git a/compiler/testData/codegen/box/callableReference/function/overloadedFun.kt b/compiler/testData/codegen/box/callableReference/function/overloadedFun.kt index a53b1cf71d9..418e67f5f74 100644 --- a/compiler/testData/codegen/box/callableReference/function/overloadedFun.kt +++ b/compiler/testData/codegen/box/callableReference/function/overloadedFun.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR fun foo(): String = "foo1" fun foo(i: Int): String = "foo2" diff --git a/compiler/testData/codegen/box/callableReference/function/privateClassMember.kt b/compiler/testData/codegen/box/callableReference/function/privateClassMember.kt index 23233d11553..f99ac7e3ad6 100644 --- a/compiler/testData/codegen/box/callableReference/function/privateClassMember.kt +++ b/compiler/testData/codegen/box/callableReference/function/privateClassMember.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A { private fun foo() = "OK" diff --git a/compiler/testData/codegen/box/callableReference/function/specialCalls.kt b/compiler/testData/codegen/box/callableReference/function/specialCalls.kt index c8c7883410f..bfebd392d74 100644 --- a/compiler/testData/codegen/box/callableReference/function/specialCalls.kt +++ b/compiler/testData/codegen/box/callableReference/function/specialCalls.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun baz(i: Int) = i fun bar(x: T): T = x diff --git a/compiler/testData/codegen/box/callableReference/function/topLevelFromClass.kt b/compiler/testData/codegen/box/callableReference/function/topLevelFromClass.kt index aa72cd55fa0..b8ad1d624bb 100644 --- a/compiler/testData/codegen/box/callableReference/function/topLevelFromClass.kt +++ b/compiler/testData/codegen/box/callableReference/function/topLevelFromClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun foo(o: Int, k: Int) = o + k class A { diff --git a/compiler/testData/codegen/box/callableReference/function/topLevelFromExtension.kt b/compiler/testData/codegen/box/callableReference/function/topLevelFromExtension.kt index 35964f0f89b..f86acf08a0a 100644 --- a/compiler/testData/codegen/box/callableReference/function/topLevelFromExtension.kt +++ b/compiler/testData/codegen/box/callableReference/function/topLevelFromExtension.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun foo(o: Int, k: Int) = o + k class A diff --git a/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelStringNoArgs.kt b/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelStringNoArgs.kt index 22bce17bdf0..b7f56d6be82 100644 --- a/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelStringNoArgs.kt +++ b/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelStringNoArgs.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun foo() = "OK" fun box(): String { diff --git a/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelStringOneStringArg.kt b/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelStringOneStringArg.kt index c33bf4f2d7a..78cb93f0873 100644 --- a/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelStringOneStringArg.kt +++ b/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelStringOneStringArg.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun foo(x: String) = x fun box(): String { diff --git a/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelUnitNoArgs.kt b/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelUnitNoArgs.kt index b3f0c46c32d..a388ed73d4e 100644 --- a/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelUnitNoArgs.kt +++ b/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelUnitNoArgs.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR var result = "Fail" fun foo() { diff --git a/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelUnitOneStringArg.kt b/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelUnitOneStringArg.kt index 315f81038cd..a15697e48b4 100644 --- a/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelUnitOneStringArg.kt +++ b/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelUnitOneStringArg.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR var result = "Fail" fun foo(newResult: String) { diff --git a/compiler/testData/codegen/box/callableReference/function/traitImplMethodWithClassReceiver.kt b/compiler/testData/codegen/box/callableReference/function/traitImplMethodWithClassReceiver.kt index f5ac670fc23..9171f0b094b 100644 --- a/compiler/testData/codegen/box/callableReference/function/traitImplMethodWithClassReceiver.kt +++ b/compiler/testData/codegen/box/callableReference/function/traitImplMethodWithClassReceiver.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR interface T { fun foo() = "OK" } diff --git a/compiler/testData/codegen/box/callableReference/function/traitMember.kt b/compiler/testData/codegen/box/callableReference/function/traitMember.kt index cbef8301cfd..88cf738eaa7 100644 --- a/compiler/testData/codegen/box/callableReference/function/traitMember.kt +++ b/compiler/testData/codegen/box/callableReference/function/traitMember.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR interface A { fun foo(): String } diff --git a/compiler/testData/codegen/box/callableReference/serializability/reflectedIsNotSerialized.kt b/compiler/testData/codegen/box/callableReference/serializability/reflectedIsNotSerialized.kt index df63aabe1e6..aa8d61fbaa3 100644 --- a/compiler/testData/codegen/box/callableReference/serializability/reflectedIsNotSerialized.kt +++ b/compiler/testData/codegen/box/callableReference/serializability/reflectedIsNotSerialized.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS, NATIVE // WITH_REFLECT diff --git a/compiler/testData/codegen/box/callableReference/varargAndDefaults/varargViewedAsArray.kt b/compiler/testData/codegen/box/callableReference/varargAndDefaults/varargViewedAsArray.kt index dd859458ab6..5c674f3517a 100644 --- a/compiler/testData/codegen/box/callableReference/varargAndDefaults/varargViewedAsArray.kt +++ b/compiler/testData/codegen/box/callableReference/varargAndDefaults/varargViewedAsArray.kt @@ -1,5 +1,5 @@ // KT-25514 Support usage of function reference with vararg where function of array is expected in new inference -// IGNORE_BACKEND: JVM_IR, JS_IR +// IGNORE_BACKEND: JS_IR fun foo(x: Int, vararg y: String): String = y[0] diff --git a/compiler/testData/codegen/box/casts/asForConstants.kt b/compiler/testData/codegen/box/casts/asForConstants.kt index cc48cd0e96d..698bee56383 100644 --- a/compiler/testData/codegen/box/casts/asForConstants.kt +++ b/compiler/testData/codegen/box/casts/asForConstants.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/casts/functions/asFunKSmall.kt b/compiler/testData/codegen/box/casts/functions/asFunKSmall.kt index 8b885c1ba91..3b05fed1f75 100644 --- a/compiler/testData/codegen/box/casts/functions/asFunKSmall.kt +++ b/compiler/testData/codegen/box/casts/functions/asFunKSmall.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/casts/functions/isFunKBig.kt b/compiler/testData/codegen/box/casts/functions/isFunKBig.kt index ef495c0baa9..f00dbbc3cce 100644 --- a/compiler/testData/codegen/box/casts/functions/isFunKBig.kt +++ b/compiler/testData/codegen/box/casts/functions/isFunKBig.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/casts/functions/safeAsFunKBig.kt b/compiler/testData/codegen/box/casts/functions/safeAsFunKBig.kt index 600d91e5a61..7b18e68a598 100644 --- a/compiler/testData/codegen/box/casts/functions/safeAsFunKBig.kt +++ b/compiler/testData/codegen/box/casts/functions/safeAsFunKBig.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/casts/functions/safeAsFunKSmall.kt b/compiler/testData/codegen/box/casts/functions/safeAsFunKSmall.kt index e6826580930..8c7e1dac0e4 100644 --- a/compiler/testData/codegen/box/casts/functions/safeAsFunKSmall.kt +++ b/compiler/testData/codegen/box/casts/functions/safeAsFunKSmall.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/casts/isNullablePrimitive.kt b/compiler/testData/codegen/box/casts/isNullablePrimitive.kt index f2b407c2f8e..6a820551736 100644 --- a/compiler/testData/codegen/box/casts/isNullablePrimitive.kt +++ b/compiler/testData/codegen/box/casts/isNullablePrimitive.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { val n: Any? = null diff --git a/compiler/testData/codegen/box/casts/lambdaToUnitCast.kt b/compiler/testData/codegen/box/casts/lambdaToUnitCast.kt index 140dfddb035..21ec170b472 100644 --- a/compiler/testData/codegen/box/casts/lambdaToUnitCast.kt +++ b/compiler/testData/codegen/box/casts/lambdaToUnitCast.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR val foo: () -> Unit = {} diff --git a/compiler/testData/codegen/box/casts/mutableCollections/isWithMutable.kt b/compiler/testData/codegen/box/casts/mutableCollections/isWithMutable.kt index e0e07522ca8..8a92b2f3880 100644 --- a/compiler/testData/codegen/box/casts/mutableCollections/isWithMutable.kt +++ b/compiler/testData/codegen/box/casts/mutableCollections/isWithMutable.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: NATIVE // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/classLiteral/bound/sideEffect.kt b/compiler/testData/codegen/box/classLiteral/bound/sideEffect.kt index 32b4d9881de..8e49969f7e8 100644 --- a/compiler/testData/codegen/box/classLiteral/bound/sideEffect.kt +++ b/compiler/testData/codegen/box/classLiteral/bound/sideEffect.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/classes/kt1247.kt b/compiler/testData/codegen/box/classes/kt1247.kt index 33025d146f6..4ba62b57487 100644 --- a/compiler/testData/codegen/box/classes/kt1247.kt +++ b/compiler/testData/codegen/box/classes/kt1247.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun f(a : Int?, b : Int.(Int)->Int) = a?.b(1) fun box(): String { diff --git a/compiler/testData/codegen/box/classes/kt1439.kt b/compiler/testData/codegen/box/classes/kt1439.kt index 69911d45614..f5cd98d49c4 100644 --- a/compiler/testData/codegen/box/classes/kt1439.kt +++ b/compiler/testData/codegen/box/classes/kt1439.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class MyClass(var fnc : () -> String) { fun test(): String { diff --git a/compiler/testData/codegen/box/classes/kt1578.kt b/compiler/testData/codegen/box/classes/kt1578.kt index 0934cd12c56..e485684b4da 100644 --- a/compiler/testData/codegen/box/classes/kt1578.kt +++ b/compiler/testData/codegen/box/classes/kt1578.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box() : String { var i = 0 { diff --git a/compiler/testData/codegen/box/classes/kt1611.kt b/compiler/testData/codegen/box/classes/kt1611.kt index 946aa39953e..b04a15ef70e 100644 --- a/compiler/testData/codegen/box/classes/kt1611.kt +++ b/compiler/testData/codegen/box/classes/kt1611.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { return Foo().doBar("OK") } diff --git a/compiler/testData/codegen/box/classes/kt1721.kt b/compiler/testData/codegen/box/classes/kt1721.kt index e58ad502ee0..c38869f87b8 100644 --- a/compiler/testData/codegen/box/classes/kt1721.kt +++ b/compiler/testData/codegen/box/classes/kt1721.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class T(val f : () -> Any?) { fun call() : Any? = f() } diff --git a/compiler/testData/codegen/box/classes/kt1726.kt b/compiler/testData/codegen/box/classes/kt1726.kt index e24e9aa633c..c718ea84028 100644 --- a/compiler/testData/codegen/box/classes/kt1726.kt +++ b/compiler/testData/codegen/box/classes/kt1726.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class Foo( var state : Int, val f : (Int) -> Int){ diff --git a/compiler/testData/codegen/box/classes/kt1918.kt b/compiler/testData/codegen/box/classes/kt1918.kt index e2969e784a7..1da1471e2d3 100644 --- a/compiler/testData/codegen/box/classes/kt1918.kt +++ b/compiler/testData/codegen/box/classes/kt1918.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class Bar { } diff --git a/compiler/testData/codegen/box/classes/kt1976.kt b/compiler/testData/codegen/box/classes/kt1976.kt index ae41d51425b..7e02add4ef3 100644 --- a/compiler/testData/codegen/box/classes/kt1976.kt +++ b/compiler/testData/codegen/box/classes/kt1976.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A { public val f : ()->String = {"OK"} } diff --git a/compiler/testData/codegen/box/classes/kt343.kt b/compiler/testData/codegen/box/classes/kt343.kt index 6dce7b983fe..065d3891a64 100644 --- a/compiler/testData/codegen/box/classes/kt343.kt +++ b/compiler/testData/codegen/box/classes/kt343.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR fun launch(f : () -> Unit) { f() diff --git a/compiler/testData/codegen/box/classes/privateOuterFunctions.kt b/compiler/testData/codegen/box/classes/privateOuterFunctions.kt index 284332c3359..b7bc7e0a5ad 100644 --- a/compiler/testData/codegen/box/classes/privateOuterFunctions.kt +++ b/compiler/testData/codegen/box/classes/privateOuterFunctions.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: NATIVE class C { private fun String.ext() : String = "" diff --git a/compiler/testData/codegen/box/classes/privateOuterProperty.kt b/compiler/testData/codegen/box/classes/privateOuterProperty.kt index 3797d8371e3..f3971e4c46f 100644 --- a/compiler/testData/codegen/box/classes/privateOuterProperty.kt +++ b/compiler/testData/codegen/box/classes/privateOuterProperty.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: NATIVE class C{ private var v : Int = 0 diff --git a/compiler/testData/codegen/box/closures/anonymousObjectAsLastExpressionInLambda.kt b/compiler/testData/codegen/box/closures/anonymousObjectAsLastExpressionInLambda.kt index cdcbc19fb4e..197f94bc725 100644 --- a/compiler/testData/codegen/box/closures/anonymousObjectAsLastExpressionInLambda.kt +++ b/compiler/testData/codegen/box/closures/anonymousObjectAsLastExpressionInLambda.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +NewInference -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/constructorParameterCapturedInLambdaInLocalClass.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/constructorParameterCapturedInLambdaInLocalClass.kt index 172ac92943d..7e9ab06f9da 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/constructorParameterCapturedInLambdaInLocalClass.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/constructorParameterCapturedInLambdaInLocalClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR open class Base(val fn: () -> String) fun box(): String { diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/kt4174.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/kt4174.kt index 79dd94f37ac..96d88a122f5 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/kt4174.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/kt4174.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR open class C(val f: () -> String) class B(val x: String) { diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLocalClass.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLocalClass.kt index 964b225a007..e4b5cc768e2 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLocalClass.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLocalClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR abstract class Base(val fn: () -> String) class Outer { diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/properValueCapturedByClosure1.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/properValueCapturedByClosure1.kt index 78f8acb0259..5cc5a863009 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/properValueCapturedByClosure1.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/properValueCapturedByClosure1.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR open class Outer(val fn: (() -> String)?) { companion object { val ok = "Fail: Companion.ok" diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/properValueCapturedByClosure2.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/properValueCapturedByClosure2.kt index 1a180de8965..5416746471e 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/properValueCapturedByClosure2.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/properValueCapturedByClosure2.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR open class Outer(val fn: (() -> String)?) { companion object { val ok = "OK" diff --git a/compiler/testData/codegen/box/closures/closureInsideClosure/propertyAndFunctionNameClash.kt b/compiler/testData/codegen/box/closures/closureInsideClosure/propertyAndFunctionNameClash.kt index d68b63d4ced..4e514638e2d 100644 --- a/compiler/testData/codegen/box/closures/closureInsideClosure/propertyAndFunctionNameClash.kt +++ b/compiler/testData/codegen/box/closures/closureInsideClosure/propertyAndFunctionNameClash.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR package d diff --git a/compiler/testData/codegen/box/closures/closureInsideClosure/varAsFunInsideLocalFun.kt b/compiler/testData/codegen/box/closures/closureInsideClosure/varAsFunInsideLocalFun.kt index aecac44786e..b925a0f08ff 100644 --- a/compiler/testData/codegen/box/closures/closureInsideClosure/varAsFunInsideLocalFun.kt +++ b/compiler/testData/codegen/box/closures/closureInsideClosure/varAsFunInsideLocalFun.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR //KT-3276 diff --git a/compiler/testData/codegen/box/closures/closureOnTopLevel1.kt b/compiler/testData/codegen/box/closures/closureOnTopLevel1.kt index fc75addfb10..16013731c04 100644 --- a/compiler/testData/codegen/box/closures/closureOnTopLevel1.kt +++ b/compiler/testData/codegen/box/closures/closureOnTopLevel1.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/closures/closureOnTopLevel2.kt b/compiler/testData/codegen/box/closures/closureOnTopLevel2.kt index 1d21048d1c4..c8ec18dab8f 100644 --- a/compiler/testData/codegen/box/closures/closureOnTopLevel2.kt +++ b/compiler/testData/codegen/box/closures/closureOnTopLevel2.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/closures/closureWithParameter.kt b/compiler/testData/codegen/box/closures/closureWithParameter.kt index ece182df57b..6e5d15af401 100644 --- a/compiler/testData/codegen/box/closures/closureWithParameter.kt +++ b/compiler/testData/codegen/box/closures/closureWithParameter.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box() : String { return apply( "OK", {arg: String -> arg } ) } diff --git a/compiler/testData/codegen/box/closures/closureWithParameterAndBoxing.kt b/compiler/testData/codegen/box/closures/closureWithParameterAndBoxing.kt index 23626d30b1c..a1a13fb62a6 100644 --- a/compiler/testData/codegen/box/closures/closureWithParameterAndBoxing.kt +++ b/compiler/testData/codegen/box/closures/closureWithParameterAndBoxing.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box() : String { return if (apply( 5, {arg: Int -> arg + 13 } ) == 18) "OK" else "fail" } diff --git a/compiler/testData/codegen/box/closures/doubleEnclosedLocalVariable.kt b/compiler/testData/codegen/box/closures/doubleEnclosedLocalVariable.kt index b242288658e..96ac7f2ef19 100644 --- a/compiler/testData/codegen/box/closures/doubleEnclosedLocalVariable.kt +++ b/compiler/testData/codegen/box/closures/doubleEnclosedLocalVariable.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box() : String { val cl = 39 return if (sum(200, { val ff = {cl}; ff() }) == 239) "OK" else "FAIL" diff --git a/compiler/testData/codegen/box/closures/enclosingLocalVariable.kt b/compiler/testData/codegen/box/closures/enclosingLocalVariable.kt index 4afccb56ec4..01e1a103ff2 100644 --- a/compiler/testData/codegen/box/closures/enclosingLocalVariable.kt +++ b/compiler/testData/codegen/box/closures/enclosingLocalVariable.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box() : String { val cl = 39 return if (sum(200, { val m = { val r = { cl }; r() }; m() }) == 239) "OK" else "FAIL" diff --git a/compiler/testData/codegen/box/closures/enclosingThis.kt b/compiler/testData/codegen/box/closures/enclosingThis.kt index 47b1dfb217c..787a4d89e4a 100644 --- a/compiler/testData/codegen/box/closures/enclosingThis.kt +++ b/compiler/testData/codegen/box/closures/enclosingThis.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class Point(val x:Int, val y:Int) { fun mul() : (scalar:Int)->Point { return { scalar:Int -> Point(x * scalar, y * scalar) } diff --git a/compiler/testData/codegen/box/closures/extensionClosure.kt b/compiler/testData/codegen/box/closures/extensionClosure.kt index c1c6293b002..d4c73c7bcfe 100644 --- a/compiler/testData/codegen/box/closures/extensionClosure.kt +++ b/compiler/testData/codegen/box/closures/extensionClosure.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class Point(val x : Int, val y : Int) fun box() : String { diff --git a/compiler/testData/codegen/box/closures/kt3738.kt b/compiler/testData/codegen/box/closures/kt3738.kt index cad17eed6e0..a05dbde0ae1 100644 --- a/compiler/testData/codegen/box/closures/kt3738.kt +++ b/compiler/testData/codegen/box/closures/kt3738.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A { fun foo() {} fun bar(f: A.() -> Unit = {}) {} diff --git a/compiler/testData/codegen/box/closures/kt3905.kt b/compiler/testData/codegen/box/closures/kt3905.kt index b533c8997dc..fafd87700d3 100644 --- a/compiler/testData/codegen/box/closures/kt3905.kt +++ b/compiler/testData/codegen/box/closures/kt3905.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box() : String { fun foo(t:() -> T) : T = t() diff --git a/compiler/testData/codegen/box/closures/kt4106.kt b/compiler/testData/codegen/box/closures/kt4106.kt index 12a55aa1969..f190819f8d5 100644 --- a/compiler/testData/codegen/box/closures/kt4106.kt +++ b/compiler/testData/codegen/box/closures/kt4106.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class Foo(private val s: String) { inner class Inner { private val x = { diff --git a/compiler/testData/codegen/box/closures/kt4137.kt b/compiler/testData/codegen/box/closures/kt4137.kt index 2bc36ef9f22..ea401a6fe80 100644 --- a/compiler/testData/codegen/box/closures/kt4137.kt +++ b/compiler/testData/codegen/box/closures/kt4137.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR open class A(val s: Int) { } diff --git a/compiler/testData/codegen/box/closures/localClassLambdaClosure.kt b/compiler/testData/codegen/box/closures/localClassLambdaClosure.kt index dc9d26181ba..61fcbb61243 100644 --- a/compiler/testData/codegen/box/closures/localClassLambdaClosure.kt +++ b/compiler/testData/codegen/box/closures/localClassLambdaClosure.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { val o = "O" val ok_L = {o + "K"} diff --git a/compiler/testData/codegen/box/closures/localReturn.kt b/compiler/testData/codegen/box/closures/localReturn.kt index b6c38182c27..cf6e749f41f 100644 --- a/compiler/testData/codegen/box/closures/localReturn.kt +++ b/compiler/testData/codegen/box/closures/localReturn.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { val a = 1 val explicitlyReturned = run1 f@{ diff --git a/compiler/testData/codegen/box/closures/localReturnWithAutolabel.kt b/compiler/testData/codegen/box/closures/localReturnWithAutolabel.kt index f705ec9f7cc..577f2100352 100644 --- a/compiler/testData/codegen/box/closures/localReturnWithAutolabel.kt +++ b/compiler/testData/codegen/box/closures/localReturnWithAutolabel.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { val a = 1 val explicitlyReturned = run1 { diff --git a/compiler/testData/codegen/box/closures/simplestClosure.kt b/compiler/testData/codegen/box/closures/simplestClosure.kt index 4cb2ab780bc..7a9f3b439cf 100644 --- a/compiler/testData/codegen/box/closures/simplestClosure.kt +++ b/compiler/testData/codegen/box/closures/simplestClosure.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box() : String { return invoker( {"OK"} ) } diff --git a/compiler/testData/codegen/box/closures/simplestClosureAndBoxing.kt b/compiler/testData/codegen/box/closures/simplestClosureAndBoxing.kt index 792483394f2..50f22fbeb8d 100644 --- a/compiler/testData/codegen/box/closures/simplestClosureAndBoxing.kt +++ b/compiler/testData/codegen/box/closures/simplestClosureAndBoxing.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box() : String { return if (int_invoker( { 7 } ) == 7) "OK" else "fail" } diff --git a/compiler/testData/codegen/box/closures/underscoreParameters.kt b/compiler/testData/codegen/box/closures/underscoreParameters.kt index 9f3760039d6..02b96fd24f0 100644 --- a/compiler/testData/codegen/box/closures/underscoreParameters.kt +++ b/compiler/testData/codegen/box/closures/underscoreParameters.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun foo(block: (String, String, String) -> String): String = block("O", "fail", "K") fun box() = foo { x, _, y -> x + y } diff --git a/compiler/testData/codegen/box/constants/privateConst.kt b/compiler/testData/codegen/box/constants/privateConst.kt index 46d98b33a8e..041cc94e9fd 100644 --- a/compiler/testData/codegen/box/constants/privateConst.kt +++ b/compiler/testData/codegen/box/constants/privateConst.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR private const val z = "OK"; fun box(): String { diff --git a/compiler/testData/codegen/box/controlStructures/kt2597.kt b/compiler/testData/codegen/box/controlStructures/kt2597.kt index d5708057700..af5af144a86 100644 --- a/compiler/testData/codegen/box/controlStructures/kt2597.kt +++ b/compiler/testData/codegen/box/controlStructures/kt2597.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { var i = 0 { diff --git a/compiler/testData/codegen/box/controlStructures/parameterWithNameForFunctionType.kt b/compiler/testData/codegen/box/controlStructures/parameterWithNameForFunctionType.kt index d103a514dd4..3796119d725 100644 --- a/compiler/testData/codegen/box/controlStructures/parameterWithNameForFunctionType.kt +++ b/compiler/testData/codegen/box/controlStructures/parameterWithNameForFunctionType.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun test(a: T, b: T, operation: (x: T) -> T) { operation(if (3 > 2) a else b) } diff --git a/compiler/testData/codegen/box/defaultArguments/protected.kt b/compiler/testData/codegen/box/defaultArguments/protected.kt index 4bb99301901..be1243f96c6 100644 --- a/compiler/testData/codegen/box/defaultArguments/protected.kt +++ b/compiler/testData/codegen/box/defaultArguments/protected.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: Foo.kt package foo diff --git a/compiler/testData/codegen/box/destructuringDeclInLambdaParam/extensionComponents.kt b/compiler/testData/codegen/box/destructuringDeclInLambdaParam/extensionComponents.kt index 1bc83fad441..201e2cb3a60 100644 --- a/compiler/testData/codegen/box/destructuringDeclInLambdaParam/extensionComponents.kt +++ b/compiler/testData/codegen/box/destructuringDeclInLambdaParam/extensionComponents.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A(val x: String, val y: String, val z: T) fun foo(a: A, block: (A) -> String): String = block(a) diff --git a/compiler/testData/codegen/box/destructuringDeclInLambdaParam/generic.kt b/compiler/testData/codegen/box/destructuringDeclInLambdaParam/generic.kt index 9ab95ca97b5..4dadddb91cd 100644 --- a/compiler/testData/codegen/box/destructuringDeclInLambdaParam/generic.kt +++ b/compiler/testData/codegen/box/destructuringDeclInLambdaParam/generic.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR data class A(val x: T, val y: F) fun foo(a: A, block: (A) -> String) = block(a) diff --git a/compiler/testData/codegen/box/destructuringDeclInLambdaParam/otherParameters.kt b/compiler/testData/codegen/box/destructuringDeclInLambdaParam/otherParameters.kt index b02e3dcbc9c..f973aca1710 100644 --- a/compiler/testData/codegen/box/destructuringDeclInLambdaParam/otherParameters.kt +++ b/compiler/testData/codegen/box/destructuringDeclInLambdaParam/otherParameters.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR data class A(val x: String, val y: String) fun foo(a: A, block: (Int, A, String) -> String): String = block(1, a, "#") diff --git a/compiler/testData/codegen/box/destructuringDeclInLambdaParam/simple.kt b/compiler/testData/codegen/box/destructuringDeclInLambdaParam/simple.kt index 666d1c20040..50523e3fec4 100644 --- a/compiler/testData/codegen/box/destructuringDeclInLambdaParam/simple.kt +++ b/compiler/testData/codegen/box/destructuringDeclInLambdaParam/simple.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR data class A(val x: String, val y: String) fun foo(a: A, block: (A) -> String): String = block(a) diff --git a/compiler/testData/codegen/box/destructuringDeclInLambdaParam/underscoreNames.kt b/compiler/testData/codegen/box/destructuringDeclInLambdaParam/underscoreNames.kt index d86387b1fd1..8db07f7778e 100644 --- a/compiler/testData/codegen/box/destructuringDeclInLambdaParam/underscoreNames.kt +++ b/compiler/testData/codegen/box/destructuringDeclInLambdaParam/underscoreNames.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A { operator fun component1() = "O" operator fun component2(): String = throw RuntimeException("fail 0") diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realIteratorFoldl.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realIteratorFoldl.kt index f83ca55753b..d380b10588e 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realIteratorFoldl.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realIteratorFoldl.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // DONT_RUN_GENERATED_CODE: JS diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLambda.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLambda.kt index 96c514d2393..62453b99399 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLambda.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLambda.kt @@ -1,5 +1,4 @@ // !DIAGNOSTICS: -UNUSED_PARAMETER -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not diff --git a/compiler/testData/codegen/box/extensionFunctions/executionOrder.kt b/compiler/testData/codegen/box/extensionFunctions/executionOrder.kt index 736fcc1a2e0..38cdf5f0d5b 100644 --- a/compiler/testData/codegen/box/extensionFunctions/executionOrder.kt +++ b/compiler/testData/codegen/box/extensionFunctions/executionOrder.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR var result = "" fun getReceiver() : Int { diff --git a/compiler/testData/codegen/box/extensionFunctions/kt1061.kt b/compiler/testData/codegen/box/extensionFunctions/kt1061.kt index f840bacb3eb..051768c9c74 100644 --- a/compiler/testData/codegen/box/extensionFunctions/kt1061.kt +++ b/compiler/testData/codegen/box/extensionFunctions/kt1061.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR //KT-1061 Can't call function defined as a val object X { diff --git a/compiler/testData/codegen/box/extensionFunctions/kt1249.kt b/compiler/testData/codegen/box/extensionFunctions/kt1249.kt index 86997cc6d1b..8078f5443fe 100644 --- a/compiler/testData/codegen/box/extensionFunctions/kt1249.kt +++ b/compiler/testData/codegen/box/extensionFunctions/kt1249.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR //KT-1249 IllegalStateException invoking function property class TestClass(val body : () -> Unit) : Any() { fun run() { diff --git a/compiler/testData/codegen/box/extensionFunctions/kt1290.kt b/compiler/testData/codegen/box/extensionFunctions/kt1290.kt index 8bde4e77a67..19f03dc8883 100644 --- a/compiler/testData/codegen/box/extensionFunctions/kt1290.kt +++ b/compiler/testData/codegen/box/extensionFunctions/kt1290.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR //KT-1290 Method property in constructor causes NPE class Foo(val filter: (T) -> Boolean) { diff --git a/compiler/testData/codegen/box/extensionFunctions/kt13312.kt b/compiler/testData/codegen/box/extensionFunctions/kt13312.kt index debcd3e26d2..4109d0d3bd4 100644 --- a/compiler/testData/codegen/box/extensionFunctions/kt13312.kt +++ b/compiler/testData/codegen/box/extensionFunctions/kt13312.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR fun test1(f: (Int) -> Int) = f(1) diff --git a/compiler/testData/codegen/box/extensionFunctions/kt3285.kt b/compiler/testData/codegen/box/extensionFunctions/kt3285.kt index 085f8d73310..2874bcdb2e8 100644 --- a/compiler/testData/codegen/box/extensionFunctions/kt3285.kt +++ b/compiler/testData/codegen/box/extensionFunctions/kt3285.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR var sayResult = "" class NoiseMaker { diff --git a/compiler/testData/codegen/box/extensionFunctions/kt3298.kt b/compiler/testData/codegen/box/extensionFunctions/kt3298.kt index 1c337cf3f25..d0f83531a69 100644 --- a/compiler/testData/codegen/box/extensionFunctions/kt3298.kt +++ b/compiler/testData/codegen/box/extensionFunctions/kt3298.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR var result = "" fun result(r: String) { result = r } diff --git a/compiler/testData/codegen/box/extensionFunctions/kt3646.kt b/compiler/testData/codegen/box/extensionFunctions/kt3646.kt index 516690deebc..c3f758cf9a5 100644 --- a/compiler/testData/codegen/box/extensionFunctions/kt3646.kt +++ b/compiler/testData/codegen/box/extensionFunctions/kt3646.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun test(cl: Int.() -> Int):Int = 11.cl() class Foo { diff --git a/compiler/testData/codegen/box/extensionFunctions/kt4228.kt b/compiler/testData/codegen/box/extensionFunctions/kt4228.kt index da6d3425871..9906d20305f 100644 --- a/compiler/testData/codegen/box/extensionFunctions/kt4228.kt +++ b/compiler/testData/codegen/box/extensionFunctions/kt4228.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A { companion object } diff --git a/compiler/testData/codegen/box/extensionFunctions/kt606.kt b/compiler/testData/codegen/box/extensionFunctions/kt606.kt index d469e098b33..05db432964a 100644 --- a/compiler/testData/codegen/box/extensionFunctions/kt606.kt +++ b/compiler/testData/codegen/box/extensionFunctions/kt606.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/extensionFunctions/nested2.kt b/compiler/testData/codegen/box/extensionFunctions/nested2.kt index 4fddd881449..9c0aecd0ffb 100644 --- a/compiler/testData/codegen/box/extensionFunctions/nested2.kt +++ b/compiler/testData/codegen/box/extensionFunctions/nested2.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box() : String { val y = 12 val op = { x:Int -> (x + y).toString() } diff --git a/compiler/testData/codegen/box/finally/kt4134.kt b/compiler/testData/codegen/box/finally/kt4134.kt index f783b44bc0e..24e4750d089 100644 --- a/compiler/testData/codegen/box/finally/kt4134.kt +++ b/compiler/testData/codegen/box/finally/kt4134.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun io(s: R, a: (R) -> T): T { try { return a(s) diff --git a/compiler/testData/codegen/box/fullJdk/intCountDownLatchExtension.kt b/compiler/testData/codegen/box/fullJdk/intCountDownLatchExtension.kt index 0106fdb639b..de02f10104e 100644 --- a/compiler/testData/codegen/box/fullJdk/intCountDownLatchExtension.kt +++ b/compiler/testData/codegen/box/fullJdk/intCountDownLatchExtension.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // FULL_JDK diff --git a/compiler/testData/codegen/box/fullJdk/native/nativePropertyAccessors.kt b/compiler/testData/codegen/box/fullJdk/native/nativePropertyAccessors.kt index 5e8c87a8091..e2f74aa5afb 100644 --- a/compiler/testData/codegen/box/fullJdk/native/nativePropertyAccessors.kt +++ b/compiler/testData/codegen/box/fullJdk/native/nativePropertyAccessors.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/functions/functionExpression/functionExpression.kt b/compiler/testData/codegen/box/functions/functionExpression/functionExpression.kt index ae492d8c71a..0936de3f951 100644 --- a/compiler/testData/codegen/box/functions/functionExpression/functionExpression.kt +++ b/compiler/testData/codegen/box/functions/functionExpression/functionExpression.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR val foo1 = fun Any.(): String { return "239" + this } diff --git a/compiler/testData/codegen/box/functions/functionExpression/functionLiteralExpression.kt b/compiler/testData/codegen/box/functions/functionExpression/functionLiteralExpression.kt index a9de16d1fd8..5ee7f510702 100644 --- a/compiler/testData/codegen/box/functions/functionExpression/functionLiteralExpression.kt +++ b/compiler/testData/codegen/box/functions/functionExpression/functionLiteralExpression.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun Any.foo1() : ()-> String { return { "239" + this } } diff --git a/compiler/testData/codegen/box/functions/functionExpression/underscoreParameters.kt b/compiler/testData/codegen/box/functions/functionExpression/underscoreParameters.kt index a698703866d..b25ca696000 100644 --- a/compiler/testData/codegen/box/functions/functionExpression/underscoreParameters.kt +++ b/compiler/testData/codegen/box/functions/functionExpression/underscoreParameters.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun foo(block: (String, String, String) -> String): String = block("O", "fail", "K") fun box() = foo(fun(x: String, _: String, y: String) = x + y) diff --git a/compiler/testData/codegen/box/functions/invoke/castFunctionToExtension.kt b/compiler/testData/codegen/box/functions/invoke/castFunctionToExtension.kt index d90fd9fb923..cb638d7b24f 100644 --- a/compiler/testData/codegen/box/functions/invoke/castFunctionToExtension.kt +++ b/compiler/testData/codegen/box/functions/invoke/castFunctionToExtension.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { val f = fun (s: String): String = s val g = f as String.() -> String diff --git a/compiler/testData/codegen/box/functions/invoke/extensionInvokeOnExpr.kt b/compiler/testData/codegen/box/functions/invoke/extensionInvokeOnExpr.kt index 80d9c6f5e11..35496700fd7 100644 --- a/compiler/testData/codegen/box/functions/invoke/extensionInvokeOnExpr.kt +++ b/compiler/testData/codegen/box/functions/invoke/extensionInvokeOnExpr.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A class B { diff --git a/compiler/testData/codegen/box/functions/invoke/invoke.kt b/compiler/testData/codegen/box/functions/invoke/invoke.kt index c6bc5ccb179..15b6c093721 100644 --- a/compiler/testData/codegen/box/functions/invoke/invoke.kt +++ b/compiler/testData/codegen/box/functions/invoke/invoke.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR package invoke fun test1(predicate: (Int) -> Int, i: Int) = predicate(i) diff --git a/compiler/testData/codegen/box/functions/invoke/invokeOnExprByConvention.kt b/compiler/testData/codegen/box/functions/invoke/invokeOnExprByConvention.kt index 4b289b96bcf..16e174b8db5 100644 --- a/compiler/testData/codegen/box/functions/invoke/invokeOnExprByConvention.kt +++ b/compiler/testData/codegen/box/functions/invoke/invokeOnExprByConvention.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR //KT-3217 Invoke convention after function invocation doesn't work //KT-2728 Can't compile A()() diff --git a/compiler/testData/codegen/box/functions/invoke/kt3189.kt b/compiler/testData/codegen/box/functions/invoke/kt3189.kt index bba461d5738..be9a0f42107 100644 --- a/compiler/testData/codegen/box/functions/invoke/kt3189.kt +++ b/compiler/testData/codegen/box/functions/invoke/kt3189.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR //KT-3189 Function invoke is called with no reason fun box(): String { diff --git a/compiler/testData/codegen/box/functions/invoke/kt3297.kt b/compiler/testData/codegen/box/functions/invoke/kt3297.kt index aa0e2b77949..026ac7a3b37 100644 --- a/compiler/testData/codegen/box/functions/invoke/kt3297.kt +++ b/compiler/testData/codegen/box/functions/invoke/kt3297.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR //KT-3297 Calling the wrong function inside an extension method to the Function0 class infix fun Function0.or(alt: () -> R): R { diff --git a/compiler/testData/codegen/box/functions/invoke/kt3450getAndInvoke.kt b/compiler/testData/codegen/box/functions/invoke/kt3450getAndInvoke.kt index b4022d102f3..012853d3a69 100644 --- a/compiler/testData/codegen/box/functions/invoke/kt3450getAndInvoke.kt +++ b/compiler/testData/codegen/box/functions/invoke/kt3450getAndInvoke.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR //KT-3450 get and invoke are not parsed in one expression public class A(val s: String) { diff --git a/compiler/testData/codegen/box/functions/invoke/kt3772.kt b/compiler/testData/codegen/box/functions/invoke/kt3772.kt index a0c0d6a5f14..622f571b489 100644 --- a/compiler/testData/codegen/box/functions/invoke/kt3772.kt +++ b/compiler/testData/codegen/box/functions/invoke/kt3772.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR //KT-3772 Invoke and overload resolution ambiguity open class A { diff --git a/compiler/testData/codegen/box/functions/kt1739.kt b/compiler/testData/codegen/box/functions/kt1739.kt index 1d99e161ea7..8bae1437342 100644 --- a/compiler/testData/codegen/box/functions/kt1739.kt +++ b/compiler/testData/codegen/box/functions/kt1739.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/functions/kt2481.kt b/compiler/testData/codegen/box/functions/kt2481.kt index f1e442637fc..ea353c41cb1 100644 --- a/compiler/testData/codegen/box/functions/kt2481.kt +++ b/compiler/testData/codegen/box/functions/kt2481.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box() = B().method() diff --git a/compiler/testData/codegen/box/functions/kt3573.kt b/compiler/testData/codegen/box/functions/kt3573.kt index 850e86fadc6..e97d3620de0 100644 --- a/compiler/testData/codegen/box/functions/kt3573.kt +++ b/compiler/testData/codegen/box/functions/kt3573.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class Data fun newInit(f: Data.() -> Data) = Data().f() diff --git a/compiler/testData/codegen/box/functions/kt3724.kt b/compiler/testData/codegen/box/functions/kt3724.kt index 5945cf3395f..e1e5edac345 100644 --- a/compiler/testData/codegen/box/functions/kt3724.kt +++ b/compiler/testData/codegen/box/functions/kt3724.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class Comment() { var article = "" } diff --git a/compiler/testData/codegen/box/functions/kt395.kt b/compiler/testData/codegen/box/functions/kt395.kt index f7978a02635..310640226e0 100644 --- a/compiler/testData/codegen/box/functions/kt395.kt +++ b/compiler/testData/codegen/box/functions/kt395.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun Any.with(operation : Any.() -> Any) = operation().toString() val f = { a : Int -> } diff --git a/compiler/testData/codegen/box/functions/kt785.kt b/compiler/testData/codegen/box/functions/kt785.kt index 97c693cd616..e3073856d42 100644 --- a/compiler/testData/codegen/box/functions/kt785.kt +++ b/compiler/testData/codegen/box/functions/kt785.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A() { var x : Int = 0 diff --git a/compiler/testData/codegen/box/functions/localFunctions/definedWithinLambdaInnerUsage2.kt b/compiler/testData/codegen/box/functions/localFunctions/definedWithinLambdaInnerUsage2.kt index 166dfedccb8..158e845f9ad 100644 --- a/compiler/testData/codegen/box/functions/localFunctions/definedWithinLambdaInnerUsage2.kt +++ b/compiler/testData/codegen/box/functions/localFunctions/definedWithinLambdaInnerUsage2.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/functions/localFunctions/kt4119.kt b/compiler/testData/codegen/box/functions/localFunctions/kt4119.kt index bd738e05cec..746e41ee392 100644 --- a/compiler/testData/codegen/box/functions/localFunctions/kt4119.kt +++ b/compiler/testData/codegen/box/functions/localFunctions/kt4119.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun foo(f: (Int?) -> Int): Int { return f(0) } diff --git a/compiler/testData/codegen/box/functions/localFunctions/kt4514.kt b/compiler/testData/codegen/box/functions/localFunctions/kt4514.kt index c8aa3563b78..c767d3f0352 100644 --- a/compiler/testData/codegen/box/functions/localFunctions/kt4514.kt +++ b/compiler/testData/codegen/box/functions/localFunctions/kt4514.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { fun String.f() = this val vf: String.() -> String = { this } diff --git a/compiler/testData/codegen/box/functions/localReturnInsideFunctionExpression.kt b/compiler/testData/codegen/box/functions/localReturnInsideFunctionExpression.kt index 9cd3c662d58..5d3a5ad1a33 100644 --- a/compiler/testData/codegen/box/functions/localReturnInsideFunctionExpression.kt +++ b/compiler/testData/codegen/box/functions/localReturnInsideFunctionExpression.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun simple() = fun (): Boolean { return true } fun withLabel() = l@ fun (): Boolean { return@l true } diff --git a/compiler/testData/codegen/box/innerNested/createdNestedInOuterMember.kt b/compiler/testData/codegen/box/innerNested/createdNestedInOuterMember.kt index 741d8c954e2..f4c0640c7ab 100644 --- a/compiler/testData/codegen/box/innerNested/createdNestedInOuterMember.kt +++ b/compiler/testData/codegen/box/innerNested/createdNestedInOuterMember.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun foo(f: (Int) -> Int) = f(0) class Outer { diff --git a/compiler/testData/codegen/box/innerNested/superConstructorCall/localClassOuterDiffersFromInnerOuter.kt b/compiler/testData/codegen/box/innerNested/superConstructorCall/localClassOuterDiffersFromInnerOuter.kt index 5ea6265a32f..cf1db10e27c 100644 --- a/compiler/testData/codegen/box/innerNested/superConstructorCall/localClassOuterDiffersFromInnerOuter.kt +++ b/compiler/testData/codegen/box/innerNested/superConstructorCall/localClassOuterDiffersFromInnerOuter.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A { fun bar(): Any { return { diff --git a/compiler/testData/codegen/box/innerNested/superConstructorCall/objectOuterDiffersFromInnerOuter.kt b/compiler/testData/codegen/box/innerNested/superConstructorCall/objectOuterDiffersFromInnerOuter.kt index ab353421aad..e6fe2b05cf9 100644 --- a/compiler/testData/codegen/box/innerNested/superConstructorCall/objectOuterDiffersFromInnerOuter.kt +++ b/compiler/testData/codegen/box/innerNested/superConstructorCall/objectOuterDiffersFromInnerOuter.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A { fun bar(): Any { return { diff --git a/compiler/testData/codegen/box/intrinsics/javaObjectType.kt b/compiler/testData/codegen/box/intrinsics/javaObjectType.kt index 83a69c8bf0e..61cc65255aa 100644 --- a/compiler/testData/codegen/box/intrinsics/javaObjectType.kt +++ b/compiler/testData/codegen/box/intrinsics/javaObjectType.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/intrinsics/javaPrimitiveType.kt b/compiler/testData/codegen/box/intrinsics/javaPrimitiveType.kt index 7edc0685f5b..95be0a275a5 100644 --- a/compiler/testData/codegen/box/intrinsics/javaPrimitiveType.kt +++ b/compiler/testData/codegen/box/intrinsics/javaPrimitiveType.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/intrinsics/kt10131.kt b/compiler/testData/codegen/box/intrinsics/kt10131.kt index 52a3353d39f..577877711d2 100644 --- a/compiler/testData/codegen/box/intrinsics/kt10131.kt +++ b/compiler/testData/codegen/box/intrinsics/kt10131.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/intrinsics/kt10131a.kt b/compiler/testData/codegen/box/intrinsics/kt10131a.kt index b210eedd860..a7b01b09d34 100644 --- a/compiler/testData/codegen/box/intrinsics/kt10131a.kt +++ b/compiler/testData/codegen/box/intrinsics/kt10131a.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/intrinsics/throwableCallableReference.kt b/compiler/testData/codegen/box/intrinsics/throwableCallableReference.kt index 4d6a821b0f3..5ef35aeae52 100644 --- a/compiler/testData/codegen/box/intrinsics/throwableCallableReference.kt +++ b/compiler/testData/codegen/box/intrinsics/throwableCallableReference.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/ir/kt25405.kt b/compiler/testData/codegen/box/ir/kt25405.kt index 1631d7371ad..0db6848d1de 100644 --- a/compiler/testData/codegen/box/ir/kt25405.kt +++ b/compiler/testData/codegen/box/ir/kt25405.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun tableView(init: Table.() -> Unit) { Table().init() diff --git a/compiler/testData/codegen/box/javaInterop/lambdaInstanceOf.kt b/compiler/testData/codegen/box/javaInterop/lambdaInstanceOf.kt index d8389b8d9a4..65de6d7efe7 100644 --- a/compiler/testData/codegen/box/javaInterop/lambdaInstanceOf.kt +++ b/compiler/testData/codegen/box/javaInterop/lambdaInstanceOf.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/jvmField/captureClassFields.kt b/compiler/testData/codegen/box/jvmField/captureClassFields.kt index 958e82ad53c..c048536cfa3 100644 --- a/compiler/testData/codegen/box/jvmField/captureClassFields.kt +++ b/compiler/testData/codegen/box/jvmField/captureClassFields.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/jvmField/capturePackageFields.kt b/compiler/testData/codegen/box/jvmField/capturePackageFields.kt index a99ce6ae5a8..1611cf28547 100644 --- a/compiler/testData/codegen/box/jvmField/capturePackageFields.kt +++ b/compiler/testData/codegen/box/jvmField/capturePackageFields.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/jvmName/callableReference.kt b/compiler/testData/codegen/box/jvmName/callableReference.kt index ceebc93c16d..07621f35099 100644 --- a/compiler/testData/codegen/box/jvmName/callableReference.kt +++ b/compiler/testData/codegen/box/jvmName/callableReference.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/jvmStatic/closure.kt b/compiler/testData/codegen/box/jvmStatic/closure.kt index 7ef23c0e185..9afc2bc2c23 100644 --- a/compiler/testData/codegen/box/jvmStatic/closure.kt +++ b/compiler/testData/codegen/box/jvmStatic/closure.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/jvmStatic/kt21246a.kt b/compiler/testData/codegen/box/jvmStatic/kt21246a.kt index 5889c9a3122..2c188e8dfd3 100644 --- a/compiler/testData/codegen/box/jvmStatic/kt21246a.kt +++ b/compiler/testData/codegen/box/jvmStatic/kt21246a.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // TARGET_BACKEND: JVM diff --git a/compiler/testData/codegen/box/labels/propertyAccessorFunctionLiteral.kt b/compiler/testData/codegen/box/labels/propertyAccessorFunctionLiteral.kt index c4050d744f2..6d26e930ed2 100644 --- a/compiler/testData/codegen/box/labels/propertyAccessorFunctionLiteral.kt +++ b/compiler/testData/codegen/box/labels/propertyAccessorFunctionLiteral.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR val Int.getter: Int get() { return { diff --git a/compiler/testData/codegen/box/labels/propertyAccessorInnerExtensionFun.kt b/compiler/testData/codegen/box/labels/propertyAccessorInnerExtensionFun.kt index 6c2aa23157d..1a57fc6e039 100644 --- a/compiler/testData/codegen/box/labels/propertyAccessorInnerExtensionFun.kt +++ b/compiler/testData/codegen/box/labels/propertyAccessorInnerExtensionFun.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR val Int.getter: Int get() { val extFun: Int.() -> Int = { diff --git a/compiler/testData/codegen/box/localClasses/closureOfLambdaInLocalClass.kt b/compiler/testData/codegen/box/localClasses/closureOfLambdaInLocalClass.kt index fae25776f5c..ca6883635e3 100644 --- a/compiler/testData/codegen/box/localClasses/closureOfLambdaInLocalClass.kt +++ b/compiler/testData/codegen/box/localClasses/closureOfLambdaInLocalClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR fun box(): String { var log = "" diff --git a/compiler/testData/codegen/box/localClasses/kt2700.kt b/compiler/testData/codegen/box/localClasses/kt2700.kt index ff1c237b43d..3baacf0b21f 100644 --- a/compiler/testData/codegen/box/localClasses/kt2700.kt +++ b/compiler/testData/codegen/box/localClasses/kt2700.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR package a.b interface Test { diff --git a/compiler/testData/codegen/box/localClasses/kt2873.kt b/compiler/testData/codegen/box/localClasses/kt2873.kt index 6309a05689a..be5008511ac 100644 --- a/compiler/testData/codegen/box/localClasses/kt2873.kt +++ b/compiler/testData/codegen/box/localClasses/kt2873.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun foo() : String { val u = { class B(val data : String) diff --git a/compiler/testData/codegen/box/localClasses/localClassInParameterInitializer.kt b/compiler/testData/codegen/box/localClasses/localClassInParameterInitializer.kt index 04b5e5c50cf..2b5c62666e6 100644 --- a/compiler/testData/codegen/box/localClasses/localClassInParameterInitializer.kt +++ b/compiler/testData/codegen/box/localClasses/localClassInParameterInitializer.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A( val a: String = { open class B() { diff --git a/compiler/testData/codegen/box/multiDecl/ValCapturedInFunctionLiteral.kt b/compiler/testData/codegen/box/multiDecl/ValCapturedInFunctionLiteral.kt index 02b0ea31091..4bf9bdcd08c 100644 --- a/compiler/testData/codegen/box/multiDecl/ValCapturedInFunctionLiteral.kt +++ b/compiler/testData/codegen/box/multiDecl/ValCapturedInFunctionLiteral.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A { operator fun component1() = 1 operator fun component2() = 2 diff --git a/compiler/testData/codegen/box/multiDecl/VarCapturedInFunctionLiteral.kt b/compiler/testData/codegen/box/multiDecl/VarCapturedInFunctionLiteral.kt index 3b3479ead02..e0eb2cb5edd 100644 --- a/compiler/testData/codegen/box/multiDecl/VarCapturedInFunctionLiteral.kt +++ b/compiler/testData/codegen/box/multiDecl/VarCapturedInFunctionLiteral.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A { operator fun component1() = 1 operator fun component2() = 2 diff --git a/compiler/testData/codegen/box/nonLocalReturns/useWithException.kt b/compiler/testData/codegen/box/nonLocalReturns/useWithException.kt index 636db163062..b2c71884cb4 100644 --- a/compiler/testData/codegen/box/nonLocalReturns/useWithException.kt +++ b/compiler/testData/codegen/box/nonLocalReturns/useWithException.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/objects/anonymousObjectPropertyInitialization.kt b/compiler/testData/codegen/box/objects/anonymousObjectPropertyInitialization.kt index 3594b46cf9d..4765e8858ba 100644 --- a/compiler/testData/codegen/box/objects/anonymousObjectPropertyInitialization.kt +++ b/compiler/testData/codegen/box/objects/anonymousObjectPropertyInitialization.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR interface T { fun foo(): String } diff --git a/compiler/testData/codegen/box/objects/companionObjectAccess/privateCompanionObjectAccessedFromLambdaInNestedClass.kt b/compiler/testData/codegen/box/objects/companionObjectAccess/privateCompanionObjectAccessedFromLambdaInNestedClass.kt index 35fc814a6f4..661ab5543be 100644 --- a/compiler/testData/codegen/box/objects/companionObjectAccess/privateCompanionObjectAccessedFromLambdaInNestedClass.kt +++ b/compiler/testData/codegen/box/objects/companionObjectAccess/privateCompanionObjectAccessedFromLambdaInNestedClass.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +ProperVisibilityForCompanionObjectInstanceField -// IGNORE_BACKEND: JVM_IR class Outer { private companion object { diff --git a/compiler/testData/codegen/box/objects/compoundAssignmentToObjectFromCall.kt b/compiler/testData/codegen/box/objects/compoundAssignmentToObjectFromCall.kt index 02db4a081e5..b58ec446156 100644 --- a/compiler/testData/codegen/box/objects/compoundAssignmentToObjectFromCall.kt +++ b/compiler/testData/codegen/box/objects/compoundAssignmentToObjectFromCall.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR var log = "" class A(p: String) { diff --git a/compiler/testData/codegen/box/objects/objectLiteralInClosure.kt b/compiler/testData/codegen/box/objects/objectLiteralInClosure.kt index 3bae6d225a0..49e19260616 100644 --- a/compiler/testData/codegen/box/objects/objectLiteralInClosure.kt +++ b/compiler/testData/codegen/box/objects/objectLiteralInClosure.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR package p private class C(val y: Int) { diff --git a/compiler/testData/codegen/box/objects/selfReferenceToCompanionObjectInInlineLambdaInSuperConstructorCall.kt b/compiler/testData/codegen/box/objects/selfReferenceToCompanionObjectInInlineLambdaInSuperConstructorCall.kt index 030e6d1f4e9..4f8d39ba151 100644 --- a/compiler/testData/codegen/box/objects/selfReferenceToCompanionObjectInInlineLambdaInSuperConstructorCall.kt +++ b/compiler/testData/codegen/box/objects/selfReferenceToCompanionObjectInInlineLambdaInSuperConstructorCall.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR abstract class Base(val fn: () -> String) diff --git a/compiler/testData/codegen/box/objects/selfReferenceToCompanionObjectInLambdaInSuperConstructorCall.kt b/compiler/testData/codegen/box/objects/selfReferenceToCompanionObjectInLambdaInSuperConstructorCall.kt index 001e18903e2..ff1e7b7f631 100644 --- a/compiler/testData/codegen/box/objects/selfReferenceToCompanionObjectInLambdaInSuperConstructorCall.kt +++ b/compiler/testData/codegen/box/objects/selfReferenceToCompanionObjectInLambdaInSuperConstructorCall.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR abstract class Base(val fn: () -> String) class Host { diff --git a/compiler/testData/codegen/box/objects/selfReferenceToInterfaceCompanionObjectInInlineLambdaInSuperConstructorCall.kt b/compiler/testData/codegen/box/objects/selfReferenceToInterfaceCompanionObjectInInlineLambdaInSuperConstructorCall.kt index 02f28169476..26ee4696345 100644 --- a/compiler/testData/codegen/box/objects/selfReferenceToInterfaceCompanionObjectInInlineLambdaInSuperConstructorCall.kt +++ b/compiler/testData/codegen/box/objects/selfReferenceToInterfaceCompanionObjectInInlineLambdaInSuperConstructorCall.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR abstract class Base(val fn: () -> String) diff --git a/compiler/testData/codegen/box/objects/selfReferenceToInterfaceCompanionObjectInLambdaInSuperConstructorCall.kt b/compiler/testData/codegen/box/objects/selfReferenceToInterfaceCompanionObjectInLambdaInSuperConstructorCall.kt index a3871a32525..a6e6f034c26 100644 --- a/compiler/testData/codegen/box/objects/selfReferenceToInterfaceCompanionObjectInLambdaInSuperConstructorCall.kt +++ b/compiler/testData/codegen/box/objects/selfReferenceToInterfaceCompanionObjectInLambdaInSuperConstructorCall.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR abstract class Base(val fn: () -> String) interface Host { diff --git a/compiler/testData/codegen/box/objects/selfReferenceToObjectInInlineLambdaInSuperConstructorCall.kt b/compiler/testData/codegen/box/objects/selfReferenceToObjectInInlineLambdaInSuperConstructorCall.kt index a19619e5808..09ae203fcaa 100644 --- a/compiler/testData/codegen/box/objects/selfReferenceToObjectInInlineLambdaInSuperConstructorCall.kt +++ b/compiler/testData/codegen/box/objects/selfReferenceToObjectInInlineLambdaInSuperConstructorCall.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR abstract class Base(val fn: () -> String) diff --git a/compiler/testData/codegen/box/objects/selfReferenceToObjectInLambdaInSuperConstructorCall.kt b/compiler/testData/codegen/box/objects/selfReferenceToObjectInLambdaInSuperConstructorCall.kt index c7c84f0f0f9..e12b6882c7d 100644 --- a/compiler/testData/codegen/box/objects/selfReferenceToObjectInLambdaInSuperConstructorCall.kt +++ b/compiler/testData/codegen/box/objects/selfReferenceToObjectInLambdaInSuperConstructorCall.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR abstract class Base(val fn: () -> String) object Test : Base({ Test.ok() }) { diff --git a/compiler/testData/codegen/box/operatorConventions/kt14201.kt b/compiler/testData/codegen/box/operatorConventions/kt14201.kt index 72706c01971..3ee91af468f 100644 --- a/compiler/testData/codegen/box/operatorConventions/kt14201.kt +++ b/compiler/testData/codegen/box/operatorConventions/kt14201.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR interface Intf { val aValue: String } diff --git a/compiler/testData/codegen/box/operatorConventions/operatorSetLambda.kt b/compiler/testData/codegen/box/operatorConventions/operatorSetLambda.kt index 85428b512af..a791f7207c7 100644 --- a/compiler/testData/codegen/box/operatorConventions/operatorSetLambda.kt +++ b/compiler/testData/codegen/box/operatorConventions/operatorSetLambda.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // See KT-14999 object Obj { diff --git a/compiler/testData/codegen/box/package/privateTopLevelPropAndVarInInner.kt b/compiler/testData/codegen/box/package/privateTopLevelPropAndVarInInner.kt index 3a0fe8b70dd..b61fd243ab9 100644 --- a/compiler/testData/codegen/box/package/privateTopLevelPropAndVarInInner.kt +++ b/compiler/testData/codegen/box/package/privateTopLevelPropAndVarInInner.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR private var x = "O" private fun f() = "K" diff --git a/compiler/testData/codegen/box/primitiveTypes/kt1093.kt b/compiler/testData/codegen/box/primitiveTypes/kt1093.kt index 668c35525f1..f1b56508700 100644 --- a/compiler/testData/codegen/box/primitiveTypes/kt1093.kt +++ b/compiler/testData/codegen/box/primitiveTypes/kt1093.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR val f : (Any) -> String = { it.toString() } fun box() : String { diff --git a/compiler/testData/codegen/box/primitiveTypes/kt2251.kt b/compiler/testData/codegen/box/primitiveTypes/kt2251.kt index 1c477a35d33..d75041090e5 100644 --- a/compiler/testData/codegen/box/primitiveTypes/kt2251.kt +++ b/compiler/testData/codegen/box/primitiveTypes/kt2251.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A(var b: Byte) { fun c(d: Short) = (b + d.toByte()).toChar() } diff --git a/compiler/testData/codegen/box/privateConstructors/captured.kt b/compiler/testData/codegen/box/privateConstructors/captured.kt index c85988e9818..83b38054d77 100644 --- a/compiler/testData/codegen/box/privateConstructors/captured.kt +++ b/compiler/testData/codegen/box/privateConstructors/captured.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR public open class Outer private constructor(val s: String) { companion object { diff --git a/compiler/testData/codegen/box/properties/classFieldInsideLambda.kt b/compiler/testData/codegen/box/properties/classFieldInsideLambda.kt index edc328fb92c..121ac3426b4 100644 --- a/compiler/testData/codegen/box/properties/classFieldInsideLambda.kt +++ b/compiler/testData/codegen/box/properties/classFieldInsideLambda.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class My { val my: String = "O" get() = { field }() + "K" diff --git a/compiler/testData/codegen/box/properties/companionFieldInsideLambda.kt b/compiler/testData/codegen/box/properties/companionFieldInsideLambda.kt index 5748369098c..4e4f60b9df7 100644 --- a/compiler/testData/codegen/box/properties/companionFieldInsideLambda.kt +++ b/compiler/testData/codegen/box/properties/companionFieldInsideLambda.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class My { companion object { val my: String = "O" diff --git a/compiler/testData/codegen/box/properties/companionPrivateFieldInsideLambda.kt b/compiler/testData/codegen/box/properties/companionPrivateFieldInsideLambda.kt index a9842d574f1..7219fcd4d3d 100644 --- a/compiler/testData/codegen/box/properties/companionPrivateFieldInsideLambda.kt +++ b/compiler/testData/codegen/box/properties/companionPrivateFieldInsideLambda.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class My { companion object { private val my: String = "O" diff --git a/compiler/testData/codegen/box/properties/fieldInsideLambda.kt b/compiler/testData/codegen/box/properties/fieldInsideLambda.kt index d7068e91cdc..ebf3cb6cfb7 100644 --- a/compiler/testData/codegen/box/properties/fieldInsideLambda.kt +++ b/compiler/testData/codegen/box/properties/fieldInsideLambda.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR val my: String = "O" get() = { field }() + "K" diff --git a/compiler/testData/codegen/box/properties/kt10729.kt b/compiler/testData/codegen/box/properties/kt10729.kt index 00e3618cfbd..9b0db522f25 100644 --- a/compiler/testData/codegen/box/properties/kt10729.kt +++ b/compiler/testData/codegen/box/properties/kt10729.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class IntentionsBundle { companion object { fun message(key: String): String { diff --git a/compiler/testData/codegen/box/properties/kt1892.kt b/compiler/testData/codegen/box/properties/kt1892.kt index 95fa941065e..b43b8889d28 100644 --- a/compiler/testData/codegen/box/properties/kt1892.kt +++ b/compiler/testData/codegen/box/properties/kt1892.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR val Int.ext: () -> Int get() = { 5 } val Long.ext: Long get() = 4.ext().toLong() //(c.kt:4) diff --git a/compiler/testData/codegen/box/properties/kt2331.kt b/compiler/testData/codegen/box/properties/kt2331.kt index c0caa6fe079..a96dd67bf6d 100644 --- a/compiler/testData/codegen/box/properties/kt2331.kt +++ b/compiler/testData/codegen/box/properties/kt2331.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class P { var x : Int = 0 private set diff --git a/compiler/testData/codegen/box/properties/kt9603.kt b/compiler/testData/codegen/box/properties/kt9603.kt index a04ac74e537..ddbabfcc99b 100644 --- a/compiler/testData/codegen/box/properties/kt9603.kt +++ b/compiler/testData/codegen/box/properties/kt9603.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A { public var prop = "OK" private set diff --git a/compiler/testData/codegen/box/properties/lateinit/local/capturedLocalLateinit.kt b/compiler/testData/codegen/box/properties/lateinit/local/capturedLocalLateinit.kt index 09a8bfc54c6..03507ac8f5a 100644 --- a/compiler/testData/codegen/box/properties/lateinit/local/capturedLocalLateinit.kt +++ b/compiler/testData/codegen/box/properties/lateinit/local/capturedLocalLateinit.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // LANGUAGE_VERSION: 1.2 fun runNoInline(f: () -> Unit) = f() diff --git a/compiler/testData/codegen/box/properties/lateinit/privateSetterFromLambda.kt b/compiler/testData/codegen/box/properties/lateinit/privateSetterFromLambda.kt index 1cb6728699b..d3ade4535e3 100644 --- a/compiler/testData/codegen/box/properties/lateinit/privateSetterFromLambda.kt +++ b/compiler/testData/codegen/box/properties/lateinit/privateSetterFromLambda.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR class My { lateinit var x: String diff --git a/compiler/testData/codegen/box/properties/privatePropertyInConstructor.kt b/compiler/testData/codegen/box/properties/privatePropertyInConstructor.kt index 3554a25fc68..9a9e186c8de 100644 --- a/compiler/testData/codegen/box/properties/privatePropertyInConstructor.kt +++ b/compiler/testData/codegen/box/properties/privatePropertyInConstructor.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A( private val x: String, private var y: Double diff --git a/compiler/testData/codegen/box/properties/protectedJavaProperty.kt b/compiler/testData/codegen/box/properties/protectedJavaProperty.kt index d3599732b4b..b84c86fb27c 100644 --- a/compiler/testData/codegen/box/properties/protectedJavaProperty.kt +++ b/compiler/testData/codegen/box/properties/protectedJavaProperty.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/ranges/safeCallRangeTo.kt b/compiler/testData/codegen/box/ranges/safeCallRangeTo.kt index dd1bc0edb13..c7da4df8d11 100644 --- a/compiler/testData/codegen/box/ranges/safeCallRangeTo.kt +++ b/compiler/testData/codegen/box/ranges/safeCallRangeTo.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/reflection/call/bound/javaInstanceMethod.kt b/compiler/testData/codegen/box/reflection/call/bound/javaInstanceMethod.kt index d3dd2d3c36a..01f86957e11 100644 --- a/compiler/testData/codegen/box/reflection/call/bound/javaInstanceMethod.kt +++ b/compiler/testData/codegen/box/reflection/call/bound/javaInstanceMethod.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/reflection/call/bound/jvmStaticObjectFunction.kt b/compiler/testData/codegen/box/reflection/call/bound/jvmStaticObjectFunction.kt index 9dc231a4b5e..986fbeeb86b 100644 --- a/compiler/testData/codegen/box/reflection/call/bound/jvmStaticObjectFunction.kt +++ b/compiler/testData/codegen/box/reflection/call/bound/jvmStaticObjectFunction.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/reflection/call/bound/memberFunction.kt b/compiler/testData/codegen/box/reflection/call/bound/memberFunction.kt index 549797e8e0e..13640defe21 100644 --- a/compiler/testData/codegen/box/reflection/call/bound/memberFunction.kt +++ b/compiler/testData/codegen/box/reflection/call/bound/memberFunction.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/reflection/call/bound/objectFunction.kt b/compiler/testData/codegen/box/reflection/call/bound/objectFunction.kt index f6700e007e3..643a75801c5 100644 --- a/compiler/testData/codegen/box/reflection/call/bound/objectFunction.kt +++ b/compiler/testData/codegen/box/reflection/call/bound/objectFunction.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/reflection/constructors/constructorName.kt b/compiler/testData/codegen/box/reflection/constructors/constructorName.kt index e064b1ec671..4aa9398f5ba 100644 --- a/compiler/testData/codegen/box/reflection/constructors/constructorName.kt +++ b/compiler/testData/codegen/box/reflection/constructors/constructorName.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/reflection/createAnnotation/callByJava.kt b/compiler/testData/codegen/box/reflection/createAnnotation/callByJava.kt index dc00ffbf59b..d39434cb9e8 100644 --- a/compiler/testData/codegen/box/reflection/createAnnotation/callByJava.kt +++ b/compiler/testData/codegen/box/reflection/createAnnotation/callByJava.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/reflection/createAnnotation/callJava.kt b/compiler/testData/codegen/box/reflection/createAnnotation/callJava.kt index 7f51620dd51..8c5b602bc28 100644 --- a/compiler/testData/codegen/box/reflection/createAnnotation/callJava.kt +++ b/compiler/testData/codegen/box/reflection/createAnnotation/callJava.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/reflection/functions/functionReferenceErasedToKFunction.kt b/compiler/testData/codegen/box/reflection/functions/functionReferenceErasedToKFunction.kt index c2b21345a7f..6b81e27bee5 100644 --- a/compiler/testData/codegen/box/reflection/functions/functionReferenceErasedToKFunction.kt +++ b/compiler/testData/codegen/box/reflection/functions/functionReferenceErasedToKFunction.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/reflection/functions/javaMethodsSmokeTest.kt b/compiler/testData/codegen/box/reflection/functions/javaMethodsSmokeTest.kt index b95e0696d3a..513242ff191 100644 --- a/compiler/testData/codegen/box/reflection/functions/javaMethodsSmokeTest.kt +++ b/compiler/testData/codegen/box/reflection/functions/javaMethodsSmokeTest.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/functions/simpleNames.kt b/compiler/testData/codegen/box/reflection/functions/simpleNames.kt index 9a725a5999f..9df53d8ee51 100644 --- a/compiler/testData/codegen/box/reflection/functions/simpleNames.kt +++ b/compiler/testData/codegen/box/reflection/functions/simpleNames.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // WITH_REFLECT import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/reflection/genericSignature/functionLiteralGenericSignature.kt b/compiler/testData/codegen/box/reflection/genericSignature/functionLiteralGenericSignature.kt index a3e98964e46..7677abad424 100644 --- a/compiler/testData/codegen/box/reflection/genericSignature/functionLiteralGenericSignature.kt +++ b/compiler/testData/codegen/box/reflection/genericSignature/functionLiteralGenericSignature.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/reflection/isInstance/isInstanceCastAndSafeCast.kt b/compiler/testData/codegen/box/reflection/isInstance/isInstanceCastAndSafeCast.kt index 05d03b39107..ac724682dc3 100644 --- a/compiler/testData/codegen/box/reflection/isInstance/isInstanceCastAndSafeCast.kt +++ b/compiler/testData/codegen/box/reflection/isInstance/isInstanceCastAndSafeCast.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/reflection/mapping/types/overrideAnyWithPrimitive.kt b/compiler/testData/codegen/box/reflection/mapping/types/overrideAnyWithPrimitive.kt index 517d3387ec4..2fa25d3a6b8 100644 --- a/compiler/testData/codegen/box/reflection/mapping/types/overrideAnyWithPrimitive.kt +++ b/compiler/testData/codegen/box/reflection/mapping/types/overrideAnyWithPrimitive.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/reflection/mapping/types/rawTypeArgument.kt b/compiler/testData/codegen/box/reflection/mapping/types/rawTypeArgument.kt index b7b0e8f4c04..dff36ee7e4e 100644 --- a/compiler/testData/codegen/box/reflection/mapping/types/rawTypeArgument.kt +++ b/compiler/testData/codegen/box/reflection/mapping/types/rawTypeArgument.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/mapping/types/typeParameters.kt b/compiler/testData/codegen/box/reflection/mapping/types/typeParameters.kt index 5081307ff00..d3f7d43fb85 100644 --- a/compiler/testData/codegen/box/reflection/mapping/types/typeParameters.kt +++ b/compiler/testData/codegen/box/reflection/mapping/types/typeParameters.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/builtinFunctionsToString.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/builtinFunctionsToString.kt index 1dbdd9577b4..23b764bd51f 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/builtinFunctionsToString.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/builtinFunctionsToString.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JVM_IR, JS_IR, JS, NATIVE +// IGNORE_BACKEND: JS_IR, JS, NATIVE // FULL_JDK // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/functionEqualsHashCode.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/functionEqualsHashCode.kt index 4e8360afcf5..4ce5e6124c1 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/functionEqualsHashCode.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/functionEqualsHashCode.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/functionFromStdlibMultiFileFacade.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/functionFromStdlibMultiFileFacade.kt index 45a61f5eeff..5d7c3f548ef 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/functionFromStdlibMultiFileFacade.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/functionFromStdlibMultiFileFacade.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // KT-12630 KotlinReflectionInternalError on referencing some functions from stdlib diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/functionFromStdlibSingleFileFacade.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/functionFromStdlibSingleFileFacade.kt index 48d594bd0f4..b32d59a1224 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/functionFromStdlibSingleFileFacade.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/functionFromStdlibSingleFileFacade.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // KT-12630 KotlinReflectionInternalError on referencing some functions from stdlib diff --git a/compiler/testData/codegen/box/reflection/modifiers/javaVisibility.kt b/compiler/testData/codegen/box/reflection/modifiers/javaVisibility.kt index 6ff0defa416..8a15ae5e2a8 100644 --- a/compiler/testData/codegen/box/reflection/modifiers/javaVisibility.kt +++ b/compiler/testData/codegen/box/reflection/modifiers/javaVisibility.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/reflection/types/platformTypeClassifier.kt b/compiler/testData/codegen/box/reflection/types/platformTypeClassifier.kt index 556604677ee..8487647d634 100644 --- a/compiler/testData/codegen/box/reflection/types/platformTypeClassifier.kt +++ b/compiler/testData/codegen/box/reflection/types/platformTypeClassifier.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/types/platformTypeToString.kt b/compiler/testData/codegen/box/reflection/types/platformTypeToString.kt index 273d480979c..e339364b397 100644 --- a/compiler/testData/codegen/box/reflection/types/platformTypeToString.kt +++ b/compiler/testData/codegen/box/reflection/types/platformTypeToString.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/regressions/functionLiteralAsLastExpressionInBlock.kt b/compiler/testData/codegen/box/regressions/functionLiteralAsLastExpressionInBlock.kt index 08ee3dc4aa5..13ed03338d2 100644 --- a/compiler/testData/codegen/box/regressions/functionLiteralAsLastExpressionInBlock.kt +++ b/compiler/testData/codegen/box/regressions/functionLiteralAsLastExpressionInBlock.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun box(): String { val p: (String) -> Boolean = if (true) { { true } diff --git a/compiler/testData/codegen/box/regressions/generic.kt b/compiler/testData/codegen/box/regressions/generic.kt index 6c2304519d8..c9e7507b5e0 100644 --- a/compiler/testData/codegen/box/regressions/generic.kt +++ b/compiler/testData/codegen/box/regressions/generic.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/regressions/intersectionAsLastLambda.kt b/compiler/testData/codegen/box/regressions/intersectionAsLastLambda.kt index f087ebf1155..a1938f07612 100644 --- a/compiler/testData/codegen/box/regressions/intersectionAsLastLambda.kt +++ b/compiler/testData/codegen/box/regressions/intersectionAsLastLambda.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/regressions/kt10934.kt b/compiler/testData/codegen/box/regressions/kt10934.kt index 546f60879be..bbc549b99c4 100644 --- a/compiler/testData/codegen/box/regressions/kt10934.kt +++ b/compiler/testData/codegen/box/regressions/kt10934.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR //KT-10934 compiler throws UninferredParameterTypeConstructor in when block that covers all types class Parser(val f: (TInput) -> Result) { diff --git a/compiler/testData/codegen/box/regressions/kt3903.kt b/compiler/testData/codegen/box/regressions/kt3903.kt index 4942f97df83..1d08051cded 100644 --- a/compiler/testData/codegen/box/regressions/kt3903.kt +++ b/compiler/testData/codegen/box/regressions/kt3903.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class Foo { fun bar(): String { fun foo(t:() -> T) : T = t() diff --git a/compiler/testData/codegen/box/regressions/lambdaAsLastExpressionInLambda.kt b/compiler/testData/codegen/box/regressions/lambdaAsLastExpressionInLambda.kt index b010c993df9..da98e00762d 100644 --- a/compiler/testData/codegen/box/regressions/lambdaAsLastExpressionInLambda.kt +++ b/compiler/testData/codegen/box/regressions/lambdaAsLastExpressionInLambda.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR val foo: ((String) -> String) = run { { it } diff --git a/compiler/testData/codegen/box/regressions/lambdaPostponeConstruction.kt b/compiler/testData/codegen/box/regressions/lambdaPostponeConstruction.kt index 977e28098ad..8da1e337a0c 100644 --- a/compiler/testData/codegen/box/regressions/lambdaPostponeConstruction.kt +++ b/compiler/testData/codegen/box/regressions/lambdaPostponeConstruction.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class MyList operator fun MyList.plusAssign(element: T) {} diff --git a/compiler/testData/codegen/box/regressions/lambdaWrongReturnType.kt b/compiler/testData/codegen/box/regressions/lambdaWrongReturnType.kt index a64f26c8487..01910008ab2 100644 --- a/compiler/testData/codegen/box/regressions/lambdaWrongReturnType.kt +++ b/compiler/testData/codegen/box/regressions/lambdaWrongReturnType.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR fun test() = foo({ line: String -> line }) diff --git a/compiler/testData/codegen/box/reified/reifiedInlineFunOfObject.kt b/compiler/testData/codegen/box/reified/reifiedInlineFunOfObject.kt index b14d22a311f..3f49343a101 100644 --- a/compiler/testData/codegen/box/reified/reifiedInlineFunOfObject.kt +++ b/compiler/testData/codegen/box/reified/reifiedInlineFunOfObject.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/reified/reifiedInlineIntoNonInlineableLambda.kt b/compiler/testData/codegen/box/reified/reifiedInlineIntoNonInlineableLambda.kt index 782ef79c311..d42d7abb612 100644 --- a/compiler/testData/codegen/box/reified/reifiedInlineIntoNonInlineableLambda.kt +++ b/compiler/testData/codegen/box/reified/reifiedInlineIntoNonInlineableLambda.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/safeCall/kt3430.kt b/compiler/testData/codegen/box/safeCall/kt3430.kt index 47f1a277d59..19620029283 100644 --- a/compiler/testData/codegen/box/safeCall/kt3430.kt +++ b/compiler/testData/codegen/box/safeCall/kt3430.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun f(b : Int.(Int)->Int) = 1?.b(1) fun box(): String { diff --git a/compiler/testData/codegen/box/safeCall/safeCallOnLong.kt b/compiler/testData/codegen/box/safeCall/safeCallOnLong.kt index 0236f0a9827..9937adc2991 100644 --- a/compiler/testData/codegen/box/safeCall/safeCallOnLong.kt +++ b/compiler/testData/codegen/box/safeCall/safeCallOnLong.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun f(b : Long.(Long)->Long) = 1L?.b(2L) fun box(): String { diff --git a/compiler/testData/codegen/box/secondaryConstructors/defaultParametersNotDuplicated.kt b/compiler/testData/codegen/box/secondaryConstructors/defaultParametersNotDuplicated.kt index ebcac9ecc01..409e42f9ec0 100644 --- a/compiler/testData/codegen/box/secondaryConstructors/defaultParametersNotDuplicated.kt +++ b/compiler/testData/codegen/box/secondaryConstructors/defaultParametersNotDuplicated.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR var global = 0 fun sideEffect() = global++ diff --git a/compiler/testData/codegen/box/secondaryConstructors/delegatedThisWithLambda.kt b/compiler/testData/codegen/box/secondaryConstructors/delegatedThisWithLambda.kt index 47f6bfd6f4b..b48d1356430 100644 --- a/compiler/testData/codegen/box/secondaryConstructors/delegatedThisWithLambda.kt +++ b/compiler/testData/codegen/box/secondaryConstructors/delegatedThisWithLambda.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class A(val f: () -> Int) { constructor() : this({ 23 }) } diff --git a/compiler/testData/codegen/box/smartCasts/lambdaArgumentWithoutType.kt b/compiler/testData/codegen/box/smartCasts/lambdaArgumentWithoutType.kt index 53de264f205..fc100a71664 100644 --- a/compiler/testData/codegen/box/smartCasts/lambdaArgumentWithoutType.kt +++ b/compiler/testData/codegen/box/smartCasts/lambdaArgumentWithoutType.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/statics/kt8089.kt b/compiler/testData/codegen/box/statics/kt8089.kt index c6f1f14d2f6..2fee361d80d 100644 --- a/compiler/testData/codegen/box/statics/kt8089.kt +++ b/compiler/testData/codegen/box/statics/kt8089.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class C { companion object { private val s: String diff --git a/compiler/testData/codegen/box/statics/protectedStatic.kt b/compiler/testData/codegen/box/statics/protectedStatic.kt index e7b070a1e41..fe1f4628592 100644 --- a/compiler/testData/codegen/box/statics/protectedStatic.kt +++ b/compiler/testData/codegen/box/statics/protectedStatic.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/statics/protectedStatic2.kt b/compiler/testData/codegen/box/statics/protectedStatic2.kt index c22f10b89bd..03042eccae2 100644 --- a/compiler/testData/codegen/box/statics/protectedStatic2.kt +++ b/compiler/testData/codegen/box/statics/protectedStatic2.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/super/kt4173.kt b/compiler/testData/codegen/box/super/kt4173.kt index e297ecebf1c..12ca4f5c6ee 100644 --- a/compiler/testData/codegen/box/super/kt4173.kt +++ b/compiler/testData/codegen/box/super/kt4173.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR open class C(val f: () -> Unit) { fun test() { f() diff --git a/compiler/testData/codegen/box/super/kt4173_2.kt b/compiler/testData/codegen/box/super/kt4173_2.kt index 779843b9a80..3bc81264f0c 100644 --- a/compiler/testData/codegen/box/super/kt4173_2.kt +++ b/compiler/testData/codegen/box/super/kt4173_2.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR open class X(var s: ()-> Unit) open class C(val f: X) { diff --git a/compiler/testData/codegen/box/super/kt4173_3.kt b/compiler/testData/codegen/box/super/kt4173_3.kt index 7a345367eef..8c23cf83f28 100644 --- a/compiler/testData/codegen/box/super/kt4173_3.kt +++ b/compiler/testData/codegen/box/super/kt4173_3.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR open class C(s: Int) { fun test() { diff --git a/compiler/testData/codegen/box/syntheticAccessors/accessorForGenericMethod.kt b/compiler/testData/codegen/box/syntheticAccessors/accessorForGenericMethod.kt index a6ef85a5374..a5ffca91336 100644 --- a/compiler/testData/codegen/box/syntheticAccessors/accessorForGenericMethod.kt +++ b/compiler/testData/codegen/box/syntheticAccessors/accessorForGenericMethod.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: test.kt import b.B diff --git a/compiler/testData/codegen/box/syntheticAccessors/accessorForGenericMethodWithDefaults.kt b/compiler/testData/codegen/box/syntheticAccessors/accessorForGenericMethodWithDefaults.kt index a70010d36e5..943d7e681cd 100644 --- a/compiler/testData/codegen/box/syntheticAccessors/accessorForGenericMethodWithDefaults.kt +++ b/compiler/testData/codegen/box/syntheticAccessors/accessorForGenericMethodWithDefaults.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: test.kt import b.B diff --git a/compiler/testData/codegen/box/syntheticAccessors/accessorForProtected.kt b/compiler/testData/codegen/box/syntheticAccessors/accessorForProtected.kt index 3144f6d30f9..6250b18d1ce 100644 --- a/compiler/testData/codegen/box/syntheticAccessors/accessorForProtected.kt +++ b/compiler/testData/codegen/box/syntheticAccessors/accessorForProtected.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt import b.B diff --git a/compiler/testData/codegen/box/syntheticAccessors/accessorForProtectedInvokeVirtual.kt b/compiler/testData/codegen/box/syntheticAccessors/accessorForProtectedInvokeVirtual.kt index 5a2cc2d3ab5..f68dda4d4b1 100644 --- a/compiler/testData/codegen/box/syntheticAccessors/accessorForProtectedInvokeVirtual.kt +++ b/compiler/testData/codegen/box/syntheticAccessors/accessorForProtectedInvokeVirtual.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // FILE: 1.kt diff --git a/compiler/testData/codegen/box/syntheticAccessors/jvmNameForAccessors.kt b/compiler/testData/codegen/box/syntheticAccessors/jvmNameForAccessors.kt index 95fbecee21a..a91e772d0e4 100644 --- a/compiler/testData/codegen/box/syntheticAccessors/jvmNameForAccessors.kt +++ b/compiler/testData/codegen/box/syntheticAccessors/jvmNameForAccessors.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS, NATIVE // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/syntheticAccessors/kt10047.kt b/compiler/testData/codegen/box/syntheticAccessors/kt10047.kt index 048d21b57d7..8317ac0f765 100644 --- a/compiler/testData/codegen/box/syntheticAccessors/kt10047.kt +++ b/compiler/testData/codegen/box/syntheticAccessors/kt10047.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: a.kt package test2 diff --git a/compiler/testData/codegen/box/syntheticAccessors/kt21258_indirect.kt b/compiler/testData/codegen/box/syntheticAccessors/kt21258_indirect.kt index c75b4843445..951d2ead0c9 100644 --- a/compiler/testData/codegen/box/syntheticAccessors/kt21258_indirect.kt +++ b/compiler/testData/codegen/box/syntheticAccessors/kt21258_indirect.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class Foo { private val fld: String = "O" get() = { field }() + "K" diff --git a/compiler/testData/codegen/box/syntheticAccessors/kt21258_simple.kt b/compiler/testData/codegen/box/syntheticAccessors/kt21258_simple.kt index 81570f409a3..df6d81ce1d2 100644 --- a/compiler/testData/codegen/box/syntheticAccessors/kt21258_simple.kt +++ b/compiler/testData/codegen/box/syntheticAccessors/kt21258_simple.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR class Foo { private val fld: String = "O" get() = { field }() + "K" diff --git a/compiler/testData/codegen/box/syntheticAccessors/protectedFromLambda.kt b/compiler/testData/codegen/box/syntheticAccessors/protectedFromLambda.kt index f7127117c86..a0cb7165308 100644 --- a/compiler/testData/codegen/box/syntheticAccessors/protectedFromLambda.kt +++ b/compiler/testData/codegen/box/syntheticAccessors/protectedFromLambda.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: A.kt package first diff --git a/compiler/testData/codegen/box/topLevelPrivate/syntheticAccessor.kt b/compiler/testData/codegen/box/topLevelPrivate/syntheticAccessor.kt index 516a872a59a..68d402f57bc 100644 --- a/compiler/testData/codegen/box/topLevelPrivate/syntheticAccessor.kt +++ b/compiler/testData/codegen/box/topLevelPrivate/syntheticAccessor.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR package test private val prop = "O" diff --git a/compiler/testData/codegen/box/typealias/simple.kt b/compiler/testData/codegen/box/typealias/simple.kt index d72814310c0..a5cd67b9ad7 100644 --- a/compiler/testData/codegen/box/typealias/simple.kt +++ b/compiler/testData/codegen/box/typealias/simple.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR typealias S = String typealias SF = (T) -> S diff --git a/compiler/testData/codegen/box/unit/closureReturnsNullableUnit.kt b/compiler/testData/codegen/box/unit/closureReturnsNullableUnit.kt index b2c681a5f5e..604b35ab71f 100644 --- a/compiler/testData/codegen/box/unit/closureReturnsNullableUnit.kt +++ b/compiler/testData/codegen/box/unit/closureReturnsNullableUnit.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR fun isNull(x: Unit?) = x == null fun box(): String { diff --git a/compiler/testData/codegen/box/vararg/kt6192.kt b/compiler/testData/codegen/box/vararg/kt6192.kt index 3cdf1af9058..b08c591090c 100644 --- a/compiler/testData/codegen/box/vararg/kt6192.kt +++ b/compiler/testData/codegen/box/vararg/kt6192.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR fun barB(vararg args: Byte) = args diff --git a/compiler/testData/codegen/box/vararg/varargsAndFunctionLiterals.kt b/compiler/testData/codegen/box/vararg/varargsAndFunctionLiterals.kt index 7994ce7e386..ce37992460d 100644 --- a/compiler/testData/codegen/box/vararg/varargsAndFunctionLiterals.kt +++ b/compiler/testData/codegen/box/vararg/varargsAndFunctionLiterals.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR fun foo(a: Int, vararg b: Int, f: (IntArray) -> String): String { return "test" + a + " " + f(b) diff --git a/compiler/testData/codegen/box/when/enumOptimization/functionLiteralInTopLevel.kt b/compiler/testData/codegen/box/when/enumOptimization/functionLiteralInTopLevel.kt index eaa26cca3e3..2266ce69a30 100644 --- a/compiler/testData/codegen/box/when/enumOptimization/functionLiteralInTopLevel.kt +++ b/compiler/testData/codegen/box/when/enumOptimization/functionLiteralInTopLevel.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // CHECK_CASES_COUNT: function=box$lambda count=0 // CHECK_IF_COUNT: function=box$lambda count=1 diff --git a/compiler/testData/codegen/box/when/enumOptimization/manyWhensWithinClass.kt b/compiler/testData/codegen/box/when/enumOptimization/manyWhensWithinClass.kt index 9b2971d4264..1319a662586 100644 --- a/compiler/testData/codegen/box/when/enumOptimization/manyWhensWithinClass.kt +++ b/compiler/testData/codegen/box/when/enumOptimization/manyWhensWithinClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // WITH_RUNTIME // CHECK_CASES_COUNT: function=bar1_u51tkt$ count=3 diff --git a/compiler/testData/codegen/box/when/switchOptimizationDense.kt b/compiler/testData/codegen/box/when/switchOptimizationDense.kt index 689ad39bdaf..f67c715d15d 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationDense.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationDense.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // WITH_RUNTIME // CHECK_CASES_COUNT: function=dense count=10 diff --git a/compiler/testData/codegen/box/when/switchOptimizationMultipleConditions.kt b/compiler/testData/codegen/box/when/switchOptimizationMultipleConditions.kt index 908d696b2eb..203b798ac76 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationMultipleConditions.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationMultipleConditions.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // WITH_RUNTIME // CHECK_CASES_COUNT: function=foo count=9 diff --git a/compiler/testData/codegen/box/when/switchOptimizationSparse.kt b/compiler/testData/codegen/box/when/switchOptimizationSparse.kt index a2b54035797..7a8d1fac925 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationSparse.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationSparse.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // WITH_RUNTIME // CHECK_CASES_COUNT: function=sparse count=3 diff --git a/compiler/testData/codegen/box/when/switchOptimizationStatement.kt b/compiler/testData/codegen/box/when/switchOptimizationStatement.kt index 87b88dab0b1..c3b7ba894ca 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationStatement.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationStatement.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // WITH_RUNTIME // CHECK_CASES_COUNT: function=exhaustive count=3 diff --git a/compiler/testData/codegen/box/when/switchOptimizationTypes.kt b/compiler/testData/codegen/box/when/switchOptimizationTypes.kt index 7274fa7d181..ebde485a14b 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationTypes.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationTypes.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // WITH_RUNTIME // CHECK_CASES_COUNT: function=intFoo count=3 diff --git a/compiler/testData/codegen/box/when/switchOptimizationUnordered.kt b/compiler/testData/codegen/box/when/switchOptimizationUnordered.kt index 8be17d98ece..47b15f2c0de 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationUnordered.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationUnordered.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // WITH_RUNTIME // CHECK_CASES_COUNT: function=foo count=3 diff --git a/compiler/testData/codegen/box/when/switchOptimizationWithGap.kt b/compiler/testData/codegen/box/when/switchOptimizationWithGap.kt index f8cfbd7c11f..6c7472ad2b3 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationWithGap.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationWithGap.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // WITH_RUNTIME // CHECK_CASES_COUNT: function=foo count=4 diff --git a/compiler/testData/codegen/box/when/whenSubjectVariable/captureSubjectVariable.kt b/compiler/testData/codegen/box/when/whenSubjectVariable/captureSubjectVariable.kt index 03af6e753bc..8cf748b3574 100644 --- a/compiler/testData/codegen/box/when/whenSubjectVariable/captureSubjectVariable.kt +++ b/compiler/testData/codegen/box/when/whenSubjectVariable/captureSubjectVariable.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +VariableDeclarationInWhenSubject -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS fun box(): String { diff --git a/compiler/testData/codegen/box/when/whenSubjectVariable/denseIntSwitchWithSubjectVariable.kt b/compiler/testData/codegen/box/when/whenSubjectVariable/denseIntSwitchWithSubjectVariable.kt index d55e0a702bd..8b161b99c9d 100644 --- a/compiler/testData/codegen/box/when/whenSubjectVariable/denseIntSwitchWithSubjectVariable.kt +++ b/compiler/testData/codegen/box/when/whenSubjectVariable/denseIntSwitchWithSubjectVariable.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +VariableDeclarationInWhenSubject -// IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // IGNORE_BACKEND: JS, JS_IR diff --git a/compiler/testData/codegen/box/when/whenSubjectVariable/sparseIntSwitchWithSubjectVariable.kt b/compiler/testData/codegen/box/when/whenSubjectVariable/sparseIntSwitchWithSubjectVariable.kt index fd4ecbcd17a..4bc4aaa5bb0 100644 --- a/compiler/testData/codegen/box/when/whenSubjectVariable/sparseIntSwitchWithSubjectVariable.kt +++ b/compiler/testData/codegen/box/when/whenSubjectVariable/sparseIntSwitchWithSubjectVariable.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +VariableDeclarationInWhenSubject -// IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // IGNORE_BACKEND: JS, JS_IR diff --git a/compiler/testData/codegen/boxAgainstJava/callableReference/constructor.kt b/compiler/testData/codegen/boxAgainstJava/callableReference/constructor.kt index be51a407a84..a2c3ad8ba04 100644 --- a/compiler/testData/codegen/boxAgainstJava/callableReference/constructor.kt +++ b/compiler/testData/codegen/boxAgainstJava/callableReference/constructor.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: A.java class A { diff --git a/compiler/testData/codegen/boxAgainstJava/callableReference/staticMethod.kt b/compiler/testData/codegen/boxAgainstJava/callableReference/staticMethod.kt index 0a3a748173d..c0a0f9f7441 100644 --- a/compiler/testData/codegen/boxAgainstJava/callableReference/staticMethod.kt +++ b/compiler/testData/codegen/boxAgainstJava/callableReference/staticMethod.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: A.java class A { diff --git a/compiler/testData/codegen/boxAgainstJava/property/referenceToJavaFieldViaBridge.kt b/compiler/testData/codegen/boxAgainstJava/property/referenceToJavaFieldViaBridge.kt index 228ea84e621..56dea581110 100644 --- a/compiler/testData/codegen/boxAgainstJava/property/referenceToJavaFieldViaBridge.kt +++ b/compiler/testData/codegen/boxAgainstJava/property/referenceToJavaFieldViaBridge.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: test/D.java package test; diff --git a/compiler/testData/codegen/boxInline/anonymousObject/kt17972.kt b/compiler/testData/codegen/boxInline/anonymousObject/kt17972.kt index 9b3429a308b..42272555489 100644 --- a/compiler/testData/codegen/boxInline/anonymousObject/kt17972.kt +++ b/compiler/testData/codegen/boxInline/anonymousObject/kt17972.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/anonymousObject/kt17972_3.kt b/compiler/testData/codegen/boxInline/anonymousObject/kt17972_3.kt index 870942aa1b4..d5550708d35 100644 --- a/compiler/testData/codegen/boxInline/anonymousObject/kt17972_3.kt +++ b/compiler/testData/codegen/boxInline/anonymousObject/kt17972_3.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/anonymousObject/kt17972_4.kt b/compiler/testData/codegen/boxInline/anonymousObject/kt17972_4.kt index 7583aa18112..63a24a7a48c 100644 --- a/compiler/testData/codegen/boxInline/anonymousObject/kt17972_4.kt +++ b/compiler/testData/codegen/boxInline/anonymousObject/kt17972_4.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/anonymousObject/kt17972_5.kt b/compiler/testData/codegen/boxInline/anonymousObject/kt17972_5.kt index a55b10eaff2..e244855dd3d 100644 --- a/compiler/testData/codegen/boxInline/anonymousObject/kt17972_5.kt +++ b/compiler/testData/codegen/boxInline/anonymousObject/kt17972_5.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/anonymousObject/kt17972_super.kt b/compiler/testData/codegen/boxInline/anonymousObject/kt17972_super.kt index 37d69276f48..81121ef7928 100644 --- a/compiler/testData/codegen/boxInline/anonymousObject/kt17972_super.kt +++ b/compiler/testData/codegen/boxInline/anonymousObject/kt17972_super.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/anonymousObject/kt17972_super2.kt b/compiler/testData/codegen/boxInline/anonymousObject/kt17972_super2.kt index c9c85b4be98..8f07e0d611e 100644 --- a/compiler/testData/codegen/boxInline/anonymousObject/kt17972_super2.kt +++ b/compiler/testData/codegen/boxInline/anonymousObject/kt17972_super2.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/anonymousObject/kt17972_super3.kt b/compiler/testData/codegen/boxInline/anonymousObject/kt17972_super3.kt index f3a626fd870..2e6ec71e3f4 100644 --- a/compiler/testData/codegen/boxInline/anonymousObject/kt17972_super3.kt +++ b/compiler/testData/codegen/boxInline/anonymousObject/kt17972_super3.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/anonymousObject/kt19723.kt b/compiler/testData/codegen/boxInline/anonymousObject/kt19723.kt index 60bc227e06c..b02b61375c8 100644 --- a/compiler/testData/codegen/boxInline/anonymousObject/kt19723.kt +++ b/compiler/testData/codegen/boxInline/anonymousObject/kt19723.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/argumentOrder/boundFunctionReference.kt b/compiler/testData/codegen/boxInline/argumentOrder/boundFunctionReference.kt index 13af7a9fa9c..0607fff5303 100644 --- a/compiler/testData/codegen/boxInline/argumentOrder/boundFunctionReference.kt +++ b/compiler/testData/codegen/boxInline/argumentOrder/boundFunctionReference.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // NO_CHECK_LAMBDA_INLINING // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/argumentOrder/boundFunctionReference2.kt b/compiler/testData/codegen/boxInline/argumentOrder/boundFunctionReference2.kt index 58812d8e716..afeec54fea1 100644 --- a/compiler/testData/codegen/boxInline/argumentOrder/boundFunctionReference2.kt +++ b/compiler/testData/codegen/boxInline/argumentOrder/boundFunctionReference2.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // NO_CHECK_LAMBDA_INLINING // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/argumentOrder/lambdaMigration.kt b/compiler/testData/codegen/boxInline/argumentOrder/lambdaMigration.kt index ffbacbbcad2..71d688725b8 100644 --- a/compiler/testData/codegen/boxInline/argumentOrder/lambdaMigration.kt +++ b/compiler/testData/codegen/boxInline/argumentOrder/lambdaMigration.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // NO_CHECK_LAMBDA_INLINING // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/argumentOrder/lambdaMigrationInClass.kt b/compiler/testData/codegen/boxInline/argumentOrder/lambdaMigrationInClass.kt index eec599a2478..e371e456f9f 100644 --- a/compiler/testData/codegen/boxInline/argumentOrder/lambdaMigrationInClass.kt +++ b/compiler/testData/codegen/boxInline/argumentOrder/lambdaMigrationInClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // NO_CHECK_LAMBDA_INLINING // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/argumentOrder/simple.kt b/compiler/testData/codegen/boxInline/argumentOrder/simple.kt index 650a52ee89e..e7dd36ac31a 100644 --- a/compiler/testData/codegen/boxInline/argumentOrder/simple.kt +++ b/compiler/testData/codegen/boxInline/argumentOrder/simple.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // NO_CHECK_LAMBDA_INLINING // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/argumentOrder/simpleInClass.kt b/compiler/testData/codegen/boxInline/argumentOrder/simpleInClass.kt index c5cfd142f15..ae7f9c84f67 100644 --- a/compiler/testData/codegen/boxInline/argumentOrder/simpleInClass.kt +++ b/compiler/testData/codegen/boxInline/argumentOrder/simpleInClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // NO_CHECK_LAMBDA_INLINING // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/callableReference/bound/emptyLhsFunction.kt b/compiler/testData/codegen/boxInline/callableReference/bound/emptyLhsFunction.kt index 1afdb643f7a..f2018802c6e 100644 --- a/compiler/testData/codegen/boxInline/callableReference/bound/emptyLhsFunction.kt +++ b/compiler/testData/codegen/boxInline/callableReference/bound/emptyLhsFunction.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/callableReference/bound/expression.kt b/compiler/testData/codegen/boxInline/callableReference/bound/expression.kt index ad0d0cd8441..5c83f97b312 100644 --- a/compiler/testData/codegen/boxInline/callableReference/bound/expression.kt +++ b/compiler/testData/codegen/boxInline/callableReference/bound/expression.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/callableReference/bound/extensionReceiver.kt b/compiler/testData/codegen/boxInline/callableReference/bound/extensionReceiver.kt index 7381944a235..c031c5192d7 100644 --- a/compiler/testData/codegen/boxInline/callableReference/bound/extensionReceiver.kt +++ b/compiler/testData/codegen/boxInline/callableReference/bound/extensionReceiver.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/callableReference/bound/filter.kt b/compiler/testData/codegen/boxInline/callableReference/bound/filter.kt index f631b56a66b..536f22a9184 100644 --- a/compiler/testData/codegen/boxInline/callableReference/bound/filter.kt +++ b/compiler/testData/codegen/boxInline/callableReference/bound/filter.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // WITH_RUNTIME // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/callableReference/bound/intrinsic.kt b/compiler/testData/codegen/boxInline/callableReference/bound/intrinsic.kt index 9f006a3bbda..185c6a8f5c4 100644 --- a/compiler/testData/codegen/boxInline/callableReference/bound/intrinsic.kt +++ b/compiler/testData/codegen/boxInline/callableReference/bound/intrinsic.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/callableReference/bound/kt18728.kt b/compiler/testData/codegen/boxInline/callableReference/bound/kt18728.kt index 7a60621db0e..2dee164a805 100644 --- a/compiler/testData/codegen/boxInline/callableReference/bound/kt18728.kt +++ b/compiler/testData/codegen/boxInline/callableReference/bound/kt18728.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/callableReference/bound/kt18728_2.kt b/compiler/testData/codegen/boxInline/callableReference/bound/kt18728_2.kt index d6ed28a7f7a..aec50298c25 100644 --- a/compiler/testData/codegen/boxInline/callableReference/bound/kt18728_2.kt +++ b/compiler/testData/codegen/boxInline/callableReference/bound/kt18728_2.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/callableReference/bound/map.kt b/compiler/testData/codegen/boxInline/callableReference/bound/map.kt index 43bd97c0e28..05d042f5ccc 100644 --- a/compiler/testData/codegen/boxInline/callableReference/bound/map.kt +++ b/compiler/testData/codegen/boxInline/callableReference/bound/map.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // WITH_RUNTIME // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/callableReference/bound/mixed.kt b/compiler/testData/codegen/boxInline/callableReference/bound/mixed.kt index 5d13724fa82..426984d7d1e 100644 --- a/compiler/testData/codegen/boxInline/callableReference/bound/mixed.kt +++ b/compiler/testData/codegen/boxInline/callableReference/bound/mixed.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/callableReference/bound/simple.kt b/compiler/testData/codegen/boxInline/callableReference/bound/simple.kt index 947589dd5f3..6b4306c4705 100644 --- a/compiler/testData/codegen/boxInline/callableReference/bound/simple.kt +++ b/compiler/testData/codegen/boxInline/callableReference/bound/simple.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/callableReference/classLevel.kt b/compiler/testData/codegen/boxInline/callableReference/classLevel.kt index ac53789cbc7..384931b1398 100644 --- a/compiler/testData/codegen/boxInline/callableReference/classLevel.kt +++ b/compiler/testData/codegen/boxInline/callableReference/classLevel.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/callableReference/classLevel2.kt b/compiler/testData/codegen/boxInline/callableReference/classLevel2.kt index 6e8586f80a7..893b834aed8 100644 --- a/compiler/testData/codegen/boxInline/callableReference/classLevel2.kt +++ b/compiler/testData/codegen/boxInline/callableReference/classLevel2.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/callableReference/constructor.kt b/compiler/testData/codegen/boxInline/callableReference/constructor.kt index 75d45783ff5..d16c19fb284 100644 --- a/compiler/testData/codegen/boxInline/callableReference/constructor.kt +++ b/compiler/testData/codegen/boxInline/callableReference/constructor.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/callableReference/intrinsic.kt b/compiler/testData/codegen/boxInline/callableReference/intrinsic.kt index 758d252af24..0974343e59f 100644 --- a/compiler/testData/codegen/boxInline/callableReference/intrinsic.kt +++ b/compiler/testData/codegen/boxInline/callableReference/intrinsic.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // Enable when callable references to builtin members and using lambdas as extension lambdas (KT-13312) is supported // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/callableReference/kt16411.kt b/compiler/testData/codegen/boxInline/callableReference/kt16411.kt index 45dc6eaadbf..d9465d269b3 100644 --- a/compiler/testData/codegen/boxInline/callableReference/kt16411.kt +++ b/compiler/testData/codegen/boxInline/callableReference/kt16411.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt inline fun startFlow( diff --git a/compiler/testData/codegen/boxInline/callableReference/topLevel.kt b/compiler/testData/codegen/boxInline/callableReference/topLevel.kt index fe93a776c64..87208f55ed4 100644 --- a/compiler/testData/codegen/boxInline/callableReference/topLevel.kt +++ b/compiler/testData/codegen/boxInline/callableReference/topLevel.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/callableReference/topLevelExtension.kt b/compiler/testData/codegen/boxInline/callableReference/topLevelExtension.kt index fc9dcc5f909..eaabbf11261 100644 --- a/compiler/testData/codegen/boxInline/callableReference/topLevelExtension.kt +++ b/compiler/testData/codegen/boxInline/callableReference/topLevelExtension.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/complex/closureChain.kt b/compiler/testData/codegen/boxInline/complex/closureChain.kt index 6670d497884..369c9e65d6e 100644 --- a/compiler/testData/codegen/boxInline/complex/closureChain.kt +++ b/compiler/testData/codegen/boxInline/complex/closureChain.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt class Inline() { diff --git a/compiler/testData/codegen/boxInline/defaultValues/kt18689.kt b/compiler/testData/codegen/boxInline/defaultValues/kt18689.kt index ada5359ddeb..f64cd2306d2 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/kt18689.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/kt18689.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/defaultValues/kt18689_2.kt b/compiler/testData/codegen/boxInline/defaultValues/kt18689_2.kt index 0686d1600c2..5ad6a07bf34 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/kt18689_2.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/kt18689_2.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/defaultValues/kt18689_3.kt b/compiler/testData/codegen/boxInline/defaultValues/kt18689_3.kt index ab09c44c59d..137eaa4138d 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/kt18689_3.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/kt18689_3.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/defaultValues/kt18689_4.kt b/compiler/testData/codegen/boxInline/defaultValues/kt18689_4.kt index a6e93dc0f83..23c19b4b11d 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/kt18689_4.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/kt18689_4.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/enum/kt18254.kt b/compiler/testData/codegen/boxInline/enum/kt18254.kt index 91e9c021c89..3d6b2ed7727 100644 --- a/compiler/testData/codegen/boxInline/enum/kt18254.kt +++ b/compiler/testData/codegen/boxInline/enum/kt18254.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // FILE: 1.kt // WITH_RUNTIME diff --git a/compiler/testData/codegen/boxInline/functionExpression/extension.kt b/compiler/testData/codegen/boxInline/functionExpression/extension.kt index db4695416fc..747e96a6b61 100644 --- a/compiler/testData/codegen/boxInline/functionExpression/extension.kt +++ b/compiler/testData/codegen/boxInline/functionExpression/extension.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt // WITH_RUNTIME inline fun Inline.calcExt(s: (Int) -> Int, p: Int) : Int { diff --git a/compiler/testData/codegen/boxInline/localFunInLambda/lambdaInLambdaCapturesAnotherFun.kt b/compiler/testData/codegen/boxInline/localFunInLambda/lambdaInLambdaCapturesAnotherFun.kt index 92f2f1b76fc..ba32dcfee23 100644 --- a/compiler/testData/codegen/boxInline/localFunInLambda/lambdaInLambdaCapturesAnotherFun.kt +++ b/compiler/testData/codegen/boxInline/localFunInLambda/lambdaInLambdaCapturesAnotherFun.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/noInline/noInline.kt b/compiler/testData/codegen/boxInline/noInline/noInline.kt index 467593b1171..8c313f6bba9 100644 --- a/compiler/testData/codegen/boxInline/noInline/noInline.kt +++ b/compiler/testData/codegen/boxInline/noInline/noInline.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt inline fun calc(s: (Int) -> Int, noinline p: (Int) -> Int) : Int { diff --git a/compiler/testData/codegen/boxInline/noInline/withoutInline.kt b/compiler/testData/codegen/boxInline/noInline/withoutInline.kt index 049def54be1..7508473e98b 100644 --- a/compiler/testData/codegen/boxInline/noInline/withoutInline.kt +++ b/compiler/testData/codegen/boxInline/noInline/withoutInline.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt class Inline { diff --git a/compiler/testData/codegen/boxInline/nonLocalReturns/noInlineLocalReturn.kt b/compiler/testData/codegen/boxInline/nonLocalReturns/noInlineLocalReturn.kt index 02cc2c89657..cc2c560762a 100644 --- a/compiler/testData/codegen/boxInline/nonLocalReturns/noInlineLocalReturn.kt +++ b/compiler/testData/codegen/boxInline/nonLocalReturns/noInlineLocalReturn.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/simple/extension.kt b/compiler/testData/codegen/boxInline/simple/extension.kt index 72879c06a50..ad48f1b993f 100644 --- a/compiler/testData/codegen/boxInline/simple/extension.kt +++ b/compiler/testData/codegen/boxInline/simple/extension.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // FILE: 1.kt // WITH_RUNTIME inline fun Inline.calcExt(s: (Int) -> Int, p: Int) : Int { diff --git a/compiler/testData/codegen/boxInline/smap/anonymous/lambdaOnCallSite.kt b/compiler/testData/codegen/boxInline/smap/anonymous/lambdaOnCallSite.kt index 1fcc95da89c..f7169da1615 100644 --- a/compiler/testData/codegen/boxInline/smap/anonymous/lambdaOnCallSite.kt +++ b/compiler/testData/codegen/boxInline/smap/anonymous/lambdaOnCallSite.kt @@ -1,5 +1,5 @@ // FILE: 1.kt -// IGNORE_BACKEND: JVM_IR + package builders inline fun call(crossinline init: () -> Unit) { diff --git a/compiler/testData/codegen/boxInline/smap/newsmap/mappingInSubInlineLambda.kt b/compiler/testData/codegen/boxInline/smap/newsmap/mappingInSubInlineLambda.kt index 81f8e6b54d9..593cc2ea506 100644 --- a/compiler/testData/codegen/boxInline/smap/newsmap/mappingInSubInlineLambda.kt +++ b/compiler/testData/codegen/boxInline/smap/newsmap/mappingInSubInlineLambda.kt @@ -1,7 +1,7 @@ // NO_CHECK_LAMBDA_INLINING // FILE: 1.kt -// IGNORE_BACKEND: JVM_IR package test + inline fun test(s: () -> Unit) { val z = 1; s() diff --git a/compiler/testData/codegen/boxInline/smap/newsmap/mappingInSubInlineLambdaSameFileInline.kt b/compiler/testData/codegen/boxInline/smap/newsmap/mappingInSubInlineLambdaSameFileInline.kt index fb5595daf92..f5a7c59925b 100644 --- a/compiler/testData/codegen/boxInline/smap/newsmap/mappingInSubInlineLambdaSameFileInline.kt +++ b/compiler/testData/codegen/boxInline/smap/newsmap/mappingInSubInlineLambdaSameFileInline.kt @@ -1,7 +1,7 @@ // NO_CHECK_LAMBDA_INLINING // FILE: 1.kt -// IGNORE_BACKEND: JVM_IR package test + inline fun test(s: () -> Unit) { val z = 1; s() diff --git a/compiler/testData/codegen/boxInline/special/loopInStoreLoadChains.kt b/compiler/testData/codegen/boxInline/special/loopInStoreLoadChains.kt index 173cadd4898..1d368d6595e 100644 --- a/compiler/testData/codegen/boxInline/special/loopInStoreLoadChains.kt +++ b/compiler/testData/codegen/boxInline/special/loopInStoreLoadChains.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // NO_CHECK_LAMBDA_INLINING // FILE: 1.kt