diff --git a/compiler/testData/codegen/box/annotations/instances/multiplatformInstantiation.kt b/compiler/testData/codegen/box/annotations/instances/multiplatformInstantiation.kt index 4d80b6f3125..053accc82e4 100644 --- a/compiler/testData/codegen/box/annotations/instances/multiplatformInstantiation.kt +++ b/compiler/testData/codegen/box/annotations/instances/multiplatformInstantiation.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // FIR status: expect/actual in the same module (ACTUAL_WITHOUT_EXPECT) // IGNORE_BACKEND: JVM diff --git a/compiler/testData/codegen/box/binaryOp/call.kt b/compiler/testData/codegen/box/binaryOp/call.kt index d7af5df78ef..914cb50c021 100644 --- a/compiler/testData/codegen/box/binaryOp/call.kt +++ b/compiler/testData/codegen/box/binaryOp/call.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design fun box(): String { diff --git a/compiler/testData/codegen/box/binaryOp/callNullable.kt b/compiler/testData/codegen/box/binaryOp/callNullable.kt index 3664c02113d..1ef8f659ccc 100644 --- a/compiler/testData/codegen/box/binaryOp/callNullable.kt +++ b/compiler/testData/codegen/box/binaryOp/callNullable.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design fun box(): String { diff --git a/compiler/testData/codegen/box/binaryOp/intrinsic.kt b/compiler/testData/codegen/box/binaryOp/intrinsic.kt index 992e19bc214..c9932d6efd4 100644 --- a/compiler/testData/codegen/box/binaryOp/intrinsic.kt +++ b/compiler/testData/codegen/box/binaryOp/intrinsic.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design fun box(): String { diff --git a/compiler/testData/codegen/box/binaryOp/intrinsicNullable.kt b/compiler/testData/codegen/box/binaryOp/intrinsicNullable.kt index 877bd0218dd..2a995ebc8a0 100644 --- a/compiler/testData/codegen/box/binaryOp/intrinsicNullable.kt +++ b/compiler/testData/codegen/box/binaryOp/intrinsicNullable.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design fun box(): String { diff --git a/compiler/testData/codegen/box/bridges/fakeOverrideFromInterfaceThroughIntermediateClass.kt b/compiler/testData/codegen/box/bridges/fakeOverrideFromInterfaceThroughIntermediateClass.kt index fa712c84008..2055385270f 100644 --- a/compiler/testData/codegen/box/bridges/fakeOverrideFromInterfaceThroughIntermediateClass.kt +++ b/compiler/testData/codegen/box/bridges/fakeOverrideFromInterfaceThroughIntermediateClass.kt @@ -1,5 +1,5 @@ // !LANGUAGE: -AbstractClassMemberNotImplementedWithIntermediateAbstractClass -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // FIR status: don't support legacy feature interface A { diff --git a/compiler/testData/codegen/box/bridges/fakeOverrideMultiFile.kt b/compiler/testData/codegen/box/bridges/fakeOverrideMultiFile.kt index b3a696fb301..fab06d1c8ab 100644 --- a/compiler/testData/codegen/box/bridges/fakeOverrideMultiFile.kt +++ b/compiler/testData/codegen/box/bridges/fakeOverrideMultiFile.kt @@ -1,5 +1,5 @@ // !LANGUAGE: -AbstractClassMemberNotImplementedWithIntermediateAbstractClass -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // FIR status: don't support legacy feature // FILE: 1.kt diff --git a/compiler/testData/codegen/box/callableReference/function/overloadedFunVsVal.kt b/compiler/testData/codegen/box/callableReference/function/overloadedFunVsVal.kt index 3fc6ce2b556..29081aaaf99 100644 --- a/compiler/testData/codegen/box/callableReference/function/overloadedFunVsVal.kt +++ b/compiler/testData/codegen/box/callableReference/function/overloadedFunVsVal.kt @@ -1,5 +1,4 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS +// IGNORE_BACKEND_K1: WASM // IGNORE_BACKEND_K1: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: muted automatically, investigate should it be ran for JS or not diff --git a/compiler/testData/codegen/box/checkcastOptimization/kt47851.kt b/compiler/testData/codegen/box/checkcastOptimization/kt47851.kt index 14e7c54ff4a..184482d1a7b 100644 --- a/compiler/testData/codegen/box/checkcastOptimization/kt47851.kt +++ b/compiler/testData/codegen/box/checkcastOptimization/kt47851.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // FIR status: result.getMethod OK in FE1.0, unresolved in FIR class C(val value: String) { diff --git a/compiler/testData/codegen/box/classes/typedDelegation.kt b/compiler/testData/codegen/box/classes/typedDelegation.kt index e0b1241a6aa..3b562e8b44c 100644 --- a/compiler/testData/codegen/box/classes/typedDelegation.kt +++ b/compiler/testData/codegen/box/classes/typedDelegation.kt @@ -1,3 +1,5 @@ +// IGNORE_BACKEND_K2: WASM + interface A { var zzzValue : T fun zzz() : T diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInPrimaryConstructorDefaultParameter.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInPrimaryConstructorDefaultParameter.kt index 7b82f8019cc..54a0d0f1f01 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInPrimaryConstructorDefaultParameter.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInPrimaryConstructorDefaultParameter.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K2: JS_IR, JS_IR_ES6 +// IGNORE_BACKEND_K2: JS_IR, JS_IR_ES6, WASM class Outer(val x: Any) { inner class Inner( diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInSecondaryConstructorDefaultParameter.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInSecondaryConstructorDefaultParameter.kt index 6ff6dfb3338..c0bc719c792 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInSecondaryConstructorDefaultParameter.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInSecondaryConstructorDefaultParameter.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K2: JS_IR, JS_IR_ES6 +// IGNORE_BACKEND_K2: JS_IR, JS_IR_ES6, WASM class Outer(val x: Any) { inner class Inner( diff --git a/compiler/testData/codegen/box/constants/doNotTriggerInit.kt b/compiler/testData/codegen/box/constants/doNotTriggerInit.kt index 23a09ff3a5e..d66d11fb340 100644 --- a/compiler/testData/codegen/box/constants/doNotTriggerInit.kt +++ b/compiler/testData/codegen/box/constants/doNotTriggerInit.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: WASM +// IGNORE_BACKEND_K1: WASM // IGNORE_BACKEND_K1: JS_IR, JS_IR_ES6 var initialized = 0 diff --git a/compiler/testData/codegen/box/constants/kt9532.kt b/compiler/testData/codegen/box/constants/kt9532.kt index bfd002ed60c..976fb09f6a7 100644 --- a/compiler/testData/codegen/box/constants/kt9532.kt +++ b/compiler/testData/codegen/box/constants/kt9532.kt @@ -1,3 +1,5 @@ +// IGNORE_BACKEND_K2: WASM + object A { const val a: String = "$" const val b = "1234$a" diff --git a/compiler/testData/codegen/box/controlStructures/forLoopMemberExtensionNext.kt b/compiler/testData/codegen/box/controlStructures/forLoopMemberExtensionNext.kt index 2acb674e1ee..dd7df8b830b 100644 --- a/compiler/testData/codegen/box/controlStructures/forLoopMemberExtensionNext.kt +++ b/compiler/testData/codegen/box/controlStructures/forLoopMemberExtensionNext.kt @@ -1,6 +1,4 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS -// IGNORE_BACKEND_K1: JS_IR +// IGNORE_BACKEND_K1: JS_IR, WASM // IGNORE_BACKEND: JS_IR_ES6 // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/defaultExpect.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/defaultExpect.kt index 2cf7cd5358b..54d6a26cc3e 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/defaultExpect.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/defaultExpect.kt @@ -1,6 +1,6 @@ // !LANGUAGE: +MultiPlatformProjects // WITH_STDLIB -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // FIR status: expect/actual in the same module (ACTUAL_WITHOUT_EXPECT) import kotlin.coroutines.* diff --git a/compiler/testData/codegen/box/defaultArguments/kt36853_fibonacci.kt b/compiler/testData/codegen/box/defaultArguments/kt36853_fibonacci.kt index cd74c331913..7723aa948e7 100644 --- a/compiler/testData/codegen/box/defaultArguments/kt36853_fibonacci.kt +++ b/compiler/testData/codegen/box/defaultArguments/kt36853_fibonacci.kt @@ -1,6 +1,6 @@ // WITH_STDLIB -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // FIR status: // java.lang.StackOverflowError // at Nat$Companion$invoke$1.next(kt36853_fibonacci.kt:40) ... diff --git a/compiler/testData/codegen/box/defaultArguments/useNextParamInLambdaTailrec.kt b/compiler/testData/codegen/box/defaultArguments/useNextParamInLambdaTailrec.kt index b539b75cf86..bc1a7e28495 100644 --- a/compiler/testData/codegen/box/defaultArguments/useNextParamInLambdaTailrec.kt +++ b/compiler/testData/codegen/box/defaultArguments/useNextParamInLambdaTailrec.kt @@ -1,6 +1,6 @@ // LANGUAGE: -ProhibitIllegalValueParameterUsageInDefaultArguments // IGNORE_BACKEND: JVM -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // FIR status: don't support legacy feature. UNINITIALIZED_PARAMETER y. See KT-49800 tailrec fun foo(x: () -> String? = { y }, y: String = "fail"): String? { if (y == "start") diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgsOverridden.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgsOverridden.kt index 132dd795b07..9caa52e986b 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgsOverridden.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgsOverridden.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_FIR_DIAGNOSTICS_DIFF open class A { diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/functionWithNoTails.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/functionWithNoTails.kt index 2d72944dfe5..46a024e5d14 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/functionWithNoTails.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/functionWithNoTails.kt @@ -1,6 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS - tailrec fun noTails() { // nothing here } diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/functionWithNonTailRecursions.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/functionWithNonTailRecursions.kt index 62af9e030a1..2d9a02218b1 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/functionWithNonTailRecursions.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/functionWithNonTailRecursions.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/insideElvis.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/insideElvis.kt index be048682fcc..75934c97c8e 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/insideElvis.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/insideElvis.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS // IGNORE_FIR_DIAGNOSTICS_DIFF diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/labeledThisReferences.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/labeledThisReferences.kt index 122708dcd3b..fb03cba2573 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/labeledThisReferences.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/labeledThisReferences.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS // !DIAGNOSTICS: -UNUSED_PARAMETER // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/loops.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/loops.kt index f5a557f0634..1f9255e0e59 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/loops.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/loops.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS tailrec fun test(x : Int) : Int { var z = if (x > 3) 3 else x diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/multilevelBlocks.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/multilevelBlocks.kt index 2a8bb6882b1..acb68f4886c 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/multilevelBlocks.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/multilevelBlocks.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLambda.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLambda.kt index 606d2a8640f..f71420a7ecf 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLambda.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLambda.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS // !DIAGNOSTICS: -UNUSED_PARAMETER tailrec fun foo() { diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLocalFunction.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLocalFunction.kt index 0a5de95d581..8584f1c0979 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLocalFunction.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLocalFunction.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS tailrec fun foo() { fun bar() { diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnIf.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnIf.kt index db72b9d77b3..240527be5ca 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnIf.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnIf.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInCatch.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInCatch.kt index 0fa85ae048e..44eb092612e 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInCatch.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInCatch.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS tailrec fun test(counter : Int) : Int { if (counter == 0) return 0 diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInFinally.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInFinally.kt index 6cfa8dc0ef3..11d1282e00c 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInFinally.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInFinally.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS tailrec fun test(counter : Int) : Int { if (counter == 0) return 0 diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInIfInFinally.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInIfInFinally.kt index 079a2d8c39d..06d36f7944a 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInIfInFinally.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInIfInFinally.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS tailrec fun test(counter : Int) : Int { if (counter == 0) return 0 diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInTry.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInTry.kt index 0760ba595b4..a2797d6bd99 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInTry.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInTry.kt @@ -1,6 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS - tailrec fun test(counter : Int) : Int { if (counter == 0) return 0 diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleBlock.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleBlock.kt index 194b5ff038c..24bd0f6128d 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleBlock.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleBlock.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleReturn.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleReturn.kt index 682e8327872..6223bdaa44d 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleReturn.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleReturn.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleReturnWithElse.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleReturnWithElse.kt index 9eb1cff18f6..61e5281bf72 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleReturnWithElse.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleReturnWithElse.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailRecursionInFinally.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailRecursionInFinally.kt index a7116732518..82ebfb58d9e 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailRecursionInFinally.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailRecursionInFinally.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS tailrec fun test(go: Boolean) : Unit { if (!go) return diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailrecWithExplicitCompanionObjectDispatcher.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailrecWithExplicitCompanionObjectDispatcher.kt index a2d16809f08..1ae4515f8f0 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailrecWithExplicitCompanionObjectDispatcher.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailrecWithExplicitCompanionObjectDispatcher.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS // DONT_RUN_GENERATED_CODE: JS // IGNORE_BACKEND: JVM // IGNORE_FIR_DIAGNOSTICS_DIFF diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/thisReferences.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/thisReferences.kt index a1568af8615..33fb22a0501 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/thisReferences.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/thisReferences.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/unitBlocks.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/unitBlocks.kt index 079e75f83be..7454b4c670b 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/unitBlocks.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/unitBlocks.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithCondition.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithCondition.kt index 8307987f834..fab48ef49de 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithCondition.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithCondition.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithInRange.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithInRange.kt index 9ec7ba69759..1250622f4a8 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithInRange.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithInRange.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS // !DIAGNOSTICS: -UNUSED_PARAMETER // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithoutCondition.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithoutCondition.kt index 04dd72764b3..1e2ac509c7c 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithoutCondition.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithoutCondition.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/enum/enumEntriesMultimoduleNoMappings.kt b/compiler/testData/codegen/box/enum/enumEntriesMultimoduleNoMappings.kt index 6bce009b2a6..aedd54b7455 100644 --- a/compiler/testData/codegen/box/enum/enumEntriesMultimoduleNoMappings.kt +++ b/compiler/testData/codegen/box/enum/enumEntriesMultimoduleNoMappings.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS, JVM, WASM +// IGNORE_BACKEND: JS, JVM // WITH_STDLIB // MODULE: lib diff --git a/compiler/testData/codegen/box/enum/enumEntriesNameClashes.kt b/compiler/testData/codegen/box/enum/enumEntriesNameClashes.kt index 96d9f70c172..2019e43d9ab 100644 --- a/compiler/testData/codegen/box/enum/enumEntriesNameClashes.kt +++ b/compiler/testData/codegen/box/enum/enumEntriesNameClashes.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +EnumEntries -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // IGNORE_BACKEND: JS, JVM // WITH_STDLIB diff --git a/compiler/testData/codegen/box/fakeOverride/internalFromFriendModule.kt b/compiler/testData/codegen/box/fakeOverride/internalFromFriendModule.kt index 4262aac1c68..373f2a5ab5a 100644 --- a/compiler/testData/codegen/box/fakeOverride/internalFromFriendModule.kt +++ b/compiler/testData/codegen/box/fakeOverride/internalFromFriendModule.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: WASM // MODULE: lib // FILE: l.kt diff --git a/compiler/testData/codegen/box/inference/builderInference/memberScope.kt b/compiler/testData/codegen/box/inference/builderInference/memberScope.kt index e834d6c2fe0..7762e81f7f9 100644 --- a/compiler/testData/codegen/box/inference/builderInference/memberScope.kt +++ b/compiler/testData/codegen/box/inference/builderInference/memberScope.kt @@ -1,7 +1,7 @@ // !LANGUAGE: +UnrestrictedBuilderInference // !DIAGNOSTICS: -DEPRECATION -OPT_IN_IS_NOT_ENABLED // WITH_STDLIB -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // FIR status: NONE_APPLICABLE at all equals calls import kotlin.experimental.ExperimentalTypeInference diff --git a/compiler/testData/codegen/box/inference/builderInference/specialCallsWithCallableReferences.kt b/compiler/testData/codegen/box/inference/builderInference/specialCallsWithCallableReferences.kt index c51271fceb8..c9e14ecacd1 100644 --- a/compiler/testData/codegen/box/inference/builderInference/specialCallsWithCallableReferences.kt +++ b/compiler/testData/codegen/box/inference/builderInference/specialCallsWithCallableReferences.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // FIR status: Disabling of StrictOnlyInputTypesChecks is not supported by FIR // WITH_STDLIB // !LANGUAGE: -StrictOnlyInputTypesChecks diff --git a/compiler/testData/codegen/box/inference/builderInference/specialCallsWithCallableReferencesErrorType.kt b/compiler/testData/codegen/box/inference/builderInference/specialCallsWithCallableReferencesErrorType.kt index c51271fceb8..c9e14ecacd1 100644 --- a/compiler/testData/codegen/box/inference/builderInference/specialCallsWithCallableReferencesErrorType.kt +++ b/compiler/testData/codegen/box/inference/builderInference/specialCallsWithCallableReferencesErrorType.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // FIR status: Disabling of StrictOnlyInputTypesChecks is not supported by FIR // WITH_STDLIB // !LANGUAGE: -StrictOnlyInputTypesChecks diff --git a/compiler/testData/codegen/box/inference/builderInference/withExpectedType.kt b/compiler/testData/codegen/box/inference/builderInference/withExpectedType.kt index 2210071c768..3de5a5bef1c 100644 --- a/compiler/testData/codegen/box/inference/builderInference/withExpectedType.kt +++ b/compiler/testData/codegen/box/inference/builderInference/withExpectedType.kt @@ -1,7 +1,7 @@ // !LANGUAGE: +UnrestrictedBuilderInference -UseBuilderInferenceOnlyIfNeeded // WITH_STDLIB // !DIAGNOSTICS: -OPT_IN_USAGE_ERROR -CAST_NEVER_SUCCEEDS -// IGNORE_BACKEND_K2: JVM_IR, JS_IR +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, WASM // FIR status: Initializer type mismatch at first val x = : expected kotlin/collections/MutableList, actual kotlin/collections/MutableList import kotlin.experimental.ExperimentalTypeInference diff --git a/compiler/testData/codegen/box/inference/specialCallsWithCallableReferences.kt b/compiler/testData/codegen/box/inference/specialCallsWithCallableReferences.kt index fac8944987a..03294afa046 100644 --- a/compiler/testData/codegen/box/inference/specialCallsWithCallableReferences.kt +++ b/compiler/testData/codegen/box/inference/specialCallsWithCallableReferences.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // FIR status: Disabling of StrictOnlyInputTypesChecks is not supported by FIR // WITH_STDLIB // SKIP_TXT diff --git a/compiler/testData/codegen/box/inlineClasses/result.kt b/compiler/testData/codegen/box/inlineClasses/result.kt index 6c6b1433726..d66eb77c379 100644 --- a/compiler/testData/codegen/box/inlineClasses/result.kt +++ b/compiler/testData/codegen/box/inlineClasses/result.kt @@ -4,17 +4,7 @@ // during `KonanSymbols.kotlinResultGetOrThrow`, since function `Result.getOrThrow()` within `kotlin` package cannot be found during builtins construction, // since unbound class `Result` is expected, but deserialized one found. // DONT_TARGET_EXACT_BACKEND: NATIVE - -// WASM exception: -// There are still 4 unbound symbols after generation of IR module
: -// Unbound public symbol IrClassPublicSymbolImpl: kotlin/Result.Companion|null[0] -// Unbound public symbol IrClassPublicSymbolImpl: kotlin/Result.Failure|null[0] -// Unbound public symbol IrSimpleFunctionPublicSymbolImpl: kotlin/Result.Companion.success|8035950532576827725[0] -// Unbound public symbol IrSimpleFunctionPublicSymbolImpl: kotlin/Result.Failure.exception.|-7777496992132965566[0] -// This could happen if there are two libraries, where one library was compiled against the different version of the other library than the one currently used in the project. Please check that the project configuration is correct and has consistent versions of dependencies. -// IGNORE_BACKEND: WASM // IGNORE_BACKEND: ANDROID - // ALLOW_KOTLIN_PACKAGE // WITH_STDLIB // WORKS_WHEN_VALUE_CLASS diff --git a/compiler/testData/codegen/box/innerNested/innerWithDefaultInner.kt b/compiler/testData/codegen/box/innerNested/innerWithDefaultInner.kt index 8d44a4b265e..cfd49c6ab5a 100644 --- a/compiler/testData/codegen/box/innerNested/innerWithDefaultInner.kt +++ b/compiler/testData/codegen/box/innerNested/innerWithDefaultInner.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K2: JS_IR +// IGNORE_BACKEND_K2: JS_IR, WASM // KT-40686 diff --git a/compiler/testData/codegen/box/involvesIrInterpreter/kt55912.kt b/compiler/testData/codegen/box/involvesIrInterpreter/kt55912.kt index d359bbd392f..427aaa18929 100644 --- a/compiler/testData/codegen/box/involvesIrInterpreter/kt55912.kt +++ b/compiler/testData/codegen/box/involvesIrInterpreter/kt55912.kt @@ -1,6 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM test infra can't handle `EVALUATED` diagnostic - public annotation class Entity(val foreignKeys: Array) @Entity(foreignKeys = kotlin.arrayOf("id")) // works without "kotlin." diff --git a/compiler/testData/codegen/box/ir/kt55318.kt b/compiler/testData/codegen/box/ir/kt55318.kt index e35c7ad75e0..470aaac6504 100644 --- a/compiler/testData/codegen/box/ir/kt55318.kt +++ b/compiler/testData/codegen/box/ir/kt55318.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JS_IR, JS_IR_ES6, NATIVE, WASM // ISSUE: KT-55318 // KT-55486: native linker error with `-Pkotlin.internal.native.test.cacheMode=STATIC_EVERYWHERE` // IGNORE_BACKEND_K2: NATIVE diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/functionFromOtherModule.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/functionFromOtherModule.kt index a2649cd0f49..7f8ec9b7f42 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/functionFromOtherModule.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/functionFromOtherModule.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // FIR status: expect/actual in the same module // WITH_STDLIB // MODULE: lib diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/withTypeParameter.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/withTypeParameter.kt index cc0cb5f6e71..526400b6e68 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/withTypeParameter.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/withTypeParameter.kt @@ -1,6 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects -// IGNORE_BACKEND: WASM -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // FIR status: outdated code (expect/actual in the same module) // WITH_STDLIB // MODULE: lib diff --git a/compiler/testData/codegen/box/multiplatform/k2/annotations/optionalExpectation.kt b/compiler/testData/codegen/box/multiplatform/k2/annotations/optionalExpectation.kt index fa241852d18..264cf98c066 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/annotations/optionalExpectation.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/annotations/optionalExpectation.kt @@ -1,7 +1,6 @@ // !LANGUAGE: +MultiPlatformProjects // !OPT_IN: kotlin.ExperimentalMultiplatform -// IGNORE_BACKEND: WASM -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: WASM, JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE // WITH_STDLIB // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/anonymousObjectAndSpecificImplementationInDeserializedIr.kt b/compiler/testData/codegen/box/multiplatform/k2/anonymousObjectAndSpecificImplementationInDeserializedIr.kt index e7e77b6309c..95230f406b9 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/anonymousObjectAndSpecificImplementationInDeserializedIr.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/anonymousObjectAndSpecificImplementationInDeserializedIr.kt @@ -1,6 +1,6 @@ // LANGUAGE: +MultiPlatformProjects // WITH_STDLIB -// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE, WASM // JS tests don't support MPP modules compilation // ISSUE: KT-58252 diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/accessToLocalClassFromBackend.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/accessToLocalClassFromBackend.kt index 4aedd92a44e..e6e7e28ea44 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/accessToLocalClassFromBackend.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/accessToLocalClassFromBackend.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/correctParentForTypeParameter.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/correctParentForTypeParameter.kt index adab0b648f7..914c05f5f15 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/correctParentForTypeParameter.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/correctParentForTypeParameter.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // MODULE: lib diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/enumEntryNameCall.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/enumEntryNameCall.kt index f2abd222b45..00c69ad16c2 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/enumEntryNameCall.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/enumEntryNameCall.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualCallableReference.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualCallableReference.kt index 2c3403d6b6c..bc81d578865 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualCallableReference.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualCallableReference.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualDifferentExtensionReceiversOnOverloads.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualDifferentExtensionReceiversOnOverloads.kt index 79586b7067c..1bb8c7df247 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualDifferentExtensionReceiversOnOverloads.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualDifferentExtensionReceiversOnOverloads.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualDifferentPackages.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualDifferentPackages.kt index 1623eec037b..b735ab32fc7 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualDifferentPackages.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualDifferentPackages.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualFakeOverrides.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualFakeOverrides.kt index a82b430a5ff..978c7f5281b 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualFakeOverrides.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualFakeOverrides.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualFakeOverrides2.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualFakeOverrides2.kt index 5125133d646..14561384ae8 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualFakeOverrides2.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualFakeOverrides2.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // ISSUE: KT-58003 diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualFakeOverrides3.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualFakeOverrides3.kt index dcb8cbeb16c..e9cbca8bb87 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualFakeOverrides3.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualFakeOverrides3.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6 +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, WASM // !LANGUAGE: +MultiPlatformProjects // ISSUE: KT-57984 diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualFakeOverridesWithTypeParameters.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualFakeOverridesWithTypeParameters.kt index df54e59d5a5..b2d845f2aea 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualFakeOverridesWithTypeParameters.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualFakeOverridesWithTypeParameters.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // ISSUE: KT-58004 diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualFakeOverridesWithTypeParameters2.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualFakeOverridesWithTypeParameters2.kt index df194a89fb2..9625d8352f8 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualFakeOverridesWithTypeParameters2.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualFakeOverridesWithTypeParameters2.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualIntersectionOverride.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualIntersectionOverride.kt index 945f83c0e5f..6717d0ca04a 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualIntersectionOverride.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualIntersectionOverride.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // ISSUE: KT-58124 diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualIntersectionOverride2.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualIntersectionOverride2.kt index 7790a5bac96..bc647d42a3e 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualIntersectionOverride2.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualIntersectionOverride2.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualMultiCommon.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualMultiCommon.kt index 3b13bce744c..d30a82068d4 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualMultiCommon.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualMultiCommon.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // MODULE: common0 diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualNullabilityBasedOverloads.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualNullabilityBasedOverloads.kt index 9e32d42515e..e7009a90df3 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualNullabilityBasedOverloads.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualNullabilityBasedOverloads.kt @@ -1,5 +1,5 @@ // IGNORE_BACKEND: JVM, JVM_IR -// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualOverloads.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualOverloads.kt index 724a278ae2d..a9cb4ae9b93 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualOverloads.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualOverloads.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualSimple.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualSimple.kt index 49955cc1b70..4ef23f6de14 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualSimple.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualSimple.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualTypeParameters.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualTypeParameters.kt index 63bc2c1e308..ddf85a49709 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualTypeParameters.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualTypeParameters.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualTypealias.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualTypealias.kt index f69ffd5cde4..256805a4435 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualTypealias.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/expectActualTypealias.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/expectInterfaceInSupertypes.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/expectInterfaceInSupertypes.kt index d17aadd40f9..18178b4e179 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/expectInterfaceInSupertypes.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/expectInterfaceInSupertypes.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/expectInterfaceInSupertypes2.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/expectInterfaceInSupertypes2.kt index e0034bf28f2..cc23696b53e 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/expectInterfaceInSupertypes2.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/expectInterfaceInSupertypes2.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/expectProperty.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/expectProperty.kt index b039cadb610..4ea8af989be 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/expectProperty.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/expectProperty.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE, WASM // MODULE: common // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/fakeOverridesInPlatformModule.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/fakeOverridesInPlatformModule.kt index 7ebfab407f7..59105ce7e30 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/fakeOverridesInPlatformModule.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/fakeOverridesInPlatformModule.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/independentCommonSourceModules.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/independentCommonSourceModules.kt index 0fc573c6f40..f20362911d6 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/independentCommonSourceModules.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/independentCommonSourceModules.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // MODULE: common1 diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/interfaceMethodFromSuperTypeIsImplementedInOtherExpectSuperClass.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/interfaceMethodFromSuperTypeIsImplementedInOtherExpectSuperClass.kt index 6d36f168e77..d534f9c5e29 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/interfaceMethodFromSuperTypeIsImplementedInOtherExpectSuperClass.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/interfaceMethodFromSuperTypeIsImplementedInOtherExpectSuperClass.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/kt-56329.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/kt-56329.kt index 2ebec027b09..6602202edeb 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/kt-56329.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/kt-56329.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // ISSUE: KT-56329 diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/nonExternalEquals.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/nonExternalEquals.kt index bcdef4f1ce9..3bc6c61509b 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/nonExternalEquals.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/nonExternalEquals.kt @@ -1,6 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND_K1: ANY -// IGNORE_BACKEND: WASM // MODULE: common // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/overridesOfExpectMembers.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/overridesOfExpectMembers.kt index c4d320e7e32..082cf7ba354 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/overridesOfExpectMembers.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/overridesOfExpectMembers.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/transitiveSuperclassActualization.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/transitiveSuperclassActualization.kt index 56abf16f66a..b95f072d65b 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/transitiveSuperclassActualization.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/transitiveSuperclassActualization.kt @@ -1,9 +1,7 @@ // IGNORE_BACKEND_K1: ANY // IGNORE_REASON: new rules for supertypes matching are implemented only in K2 -// IGNORE_BACKEND_K2: JS_IR +// IGNORE_BACKEND_K2: JS_IR, WASM // IGNORE_REASON: `JsName` in js.translator/testData/_commonFiles/testUtils.kt is invisible for some reason -// IGNORE_BACKEND: WASM -// IGNORE_REASON: wasm tests don't support IGNORE_BACKEND_K1 directive // LANGUAGE: +MultiPlatformProjects // ISSUE: KT-59356 diff --git a/compiler/testData/codegen/box/multiplatform/k2/basic/widerVisibilityInActualClassifier.kt b/compiler/testData/codegen/box/multiplatform/k2/basic/widerVisibilityInActualClassifier.kt index 8b02a6dab10..5c0a691a7bc 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/basic/widerVisibilityInActualClassifier.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/basic/widerVisibilityInActualClassifier.kt @@ -1,9 +1,7 @@ // IGNORE_BACKEND_K1: ANY // IGNORE_REASON: KT-59355 is fixed only in K2 -// IGNORE_BACKEND_K2: JS_IR +// IGNORE_BACKEND_K2: JS_IR, WASM // IGNORE_REASON: `JsName` in js.translator/testData/_commonFiles/testUtils.kt is invisible for some reason -// IGNORE_BACKEND: WASM -// IGNORE_REASON: wasm tests don't support IGNORE_BACKEND_K1 directive // LANGUAGE: +MultiPlatformProjects // ISSUE: KT-59355 diff --git a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/bothInExpectAndActual.kt b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/bothInExpectAndActual.kt index f667ab6f5f7..a9f04876f16 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/bothInExpectAndActual.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/bothInExpectAndActual.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE, WASM // MODULE: common // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/bothInExpectAndActual2.kt b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/bothInExpectAndActual2.kt index e9eef340dfe..e8e549a1785 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/bothInExpectAndActual2.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/bothInExpectAndActual2.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE, WASM // MODULE: common // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/constructor.kt b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/constructor.kt index eeec3835b8b..21185065093 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/constructor.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/constructor.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE, WASM // WITH_STDLIB // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/delegatedExpectedInterface.kt b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/delegatedExpectedInterface.kt index bfdb603f5e9..3fbfe49ab1f 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/delegatedExpectedInterface.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/delegatedExpectedInterface.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE, WASM // MODULE: common // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/expectPropertyAsDefaultArgument.kt b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/expectPropertyAsDefaultArgument.kt index 997770e35f8..3333731591b 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/expectPropertyAsDefaultArgument.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/expectPropertyAsDefaultArgument.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6, NATIVE, WASM // !LANGUAGE: +MultiPlatformProjects // ISSUE: KT-57263 diff --git a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/extensionReceiverValue.kt b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/extensionReceiverValue.kt index 303e47bfb3b..5756d3b6af9 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/extensionReceiverValue.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/extensionReceiverValue.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE, WASM // MODULE: common // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/function.kt b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/function.kt index 44d585b41a5..da7d54c653f 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/function.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/function.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE, WASM // WITH_STDLIB // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/functionFromOtherModule.kt b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/functionFromOtherModule.kt index aa64f23e0fd..35eaf7716c4 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/functionFromOtherModule.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/functionFromOtherModule.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6 +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, WASM // WITH_STDLIB // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedFromCommonClass.kt b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedFromCommonClass.kt index 631c8b83811..97ed5daa423 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedFromCommonClass.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedFromCommonClass.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE, WASM // WITH_STDLIB // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedFromExpectedClass.kt b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedFromExpectedClass.kt index 5b8dd387df0..a4251d17a48 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedFromExpectedClass.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedFromExpectedClass.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE, WASM // WITH_STDLIB // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedFromExpectedInterface.kt b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedFromExpectedInterface.kt index 345cffe8142..58963b4b6c0 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedFromExpectedInterface.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedFromExpectedInterface.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE, WASM // MODULE: common // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedFromExpectedMethod.kt b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedFromExpectedMethod.kt index 3faeee15149..c5833662238 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedFromExpectedMethod.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedFromExpectedMethod.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE, WASM // WITH_STDLIB // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedInExpectedDeclarations.kt b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedInExpectedDeclarations.kt index 26066d44a70..ba8d0f86475 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedInExpectedDeclarations.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedInExpectedDeclarations.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE, WASM // WITH_STDLIB // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedViaAnotherInterfaceIndirectly.kt b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedViaAnotherInterfaceIndirectly.kt index 91b8e051cea..e5670cea98f 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedViaAnotherInterfaceIndirectly.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inheritedViaAnotherInterfaceIndirectly.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE, WASM // MODULE: common // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inlineFunctionWithDefaultLambda.kt b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inlineFunctionWithDefaultLambda.kt index 1777e13adc6..1d83932a3f5 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inlineFunctionWithDefaultLambda.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/inlineFunctionWithDefaultLambda.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE, WASM // WITH_STDLIB // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/kt23239.kt b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/kt23239.kt index 2c31d745e14..337838582c8 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/kt23239.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/kt23239.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE, WASM // WITH_STDLIB // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/kt23739.kt b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/kt23739.kt index 390d535d9e2..be6588fb127 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/kt23739.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/kt23739.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE, WASM // MODULE: common // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/parametersInArgumentValues.kt b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/parametersInArgumentValues.kt index 4afe40e70e0..8749d12a0e1 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/parametersInArgumentValues.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/parametersInArgumentValues.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE, WASM // MODULE: common // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/suspend.kt b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/suspend.kt index b145dd8cf0a..aeb0cfa4bc1 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/suspend.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/suspend.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE, WASM // WITH_STDLIB // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/typeAlias.kt b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/typeAlias.kt index e12ed3a77c7..b5ee50f8317 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/typeAlias.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/defaultArguments/typeAlias.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +MultiPlatformProjects -// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE +// IGNORE_BACKEND_K1: JVM, JVM_IR, JS, JS_IR, JS_IR_ES6, NATIVE, WASM // WITH_STDLIB // MODULE: common diff --git a/compiler/testData/codegen/box/multiplatform/k2/migratedOldTests/mpp_default_args.kt b/compiler/testData/codegen/box/multiplatform/k2/migratedOldTests/mpp_default_args.kt index eea3ba28d5d..4dde3535118 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/migratedOldTests/mpp_default_args.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/migratedOldTests/mpp_default_args.kt @@ -9,7 +9,7 @@ // IllegalArgumentException: arg wrongly != this@Test5: arg=null, this@Test5=[object Object] // IGNORE_BACKEND_K2: JS_IR // Wrong box result 'arg1 wrongly != this@Test5: arg1=Inner@1346131020, this@Test5=Test5@314569418'; Expected "OK" -// IGNORE_BACKEND: WASM +// IGNORE_BACKEND_K2: WASM // MODULE: common // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/k2/migratedOldTests/remap_expect_property_ref.kt b/compiler/testData/codegen/box/multiplatform/k2/migratedOldTests/remap_expect_property_ref.kt index f9e4dd86098..7304e3e4eef 100644 --- a/compiler/testData/codegen/box/multiplatform/k2/migratedOldTests/remap_expect_property_ref.kt +++ b/compiler/testData/codegen/box/multiplatform/k2/migratedOldTests/remap_expect_property_ref.kt @@ -7,9 +7,6 @@ // IGNORE_BACKEND_K1: ANY -// Can't link symbol function Foo. -// IGNORE_BACKEND: WASM - // MODULE: common // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/migratedOldTests/remap_expect_property_ref.kt b/compiler/testData/codegen/box/multiplatform/migratedOldTests/remap_expect_property_ref.kt index 6850e978129..6d82501e158 100644 --- a/compiler/testData/codegen/box/multiplatform/migratedOldTests/remap_expect_property_ref.kt +++ b/compiler/testData/codegen/box/multiplatform/migratedOldTests/remap_expect_property_ref.kt @@ -7,9 +7,6 @@ // IGNORE_BACKEND_K2: ANY -// Can't link symbol function Foo. -// IGNORE_BACKEND_K1: WASM - // FILE: common.kt expect class Foo { diff --git a/compiler/testData/codegen/box/multiplatform/multiModule/expectActualLink.kt b/compiler/testData/codegen/box/multiplatform/multiModule/expectActualLink.kt index a9de2f99a84..7781f71a353 100644 --- a/compiler/testData/codegen/box/multiplatform/multiModule/expectActualLink.kt +++ b/compiler/testData/codegen/box/multiplatform/multiModule/expectActualLink.kt @@ -5,6 +5,7 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // IGNORE_BACKEND: NATIVE +// IGNORE_BACKEND: WASM // DONT_TARGET_EXACT_BACKEND: JVM // DONT_TARGET_EXACT_BACKEND: JVM_IR // DONT_TARGET_EXACT_BACKEND: ANDROID diff --git a/compiler/testData/codegen/box/multiplatform/multiModule/expectActualMemberLink.kt b/compiler/testData/codegen/box/multiplatform/multiModule/expectActualMemberLink.kt index 78debf8a33e..4d9904aeb7a 100644 --- a/compiler/testData/codegen/box/multiplatform/multiModule/expectActualMemberLink.kt +++ b/compiler/testData/codegen/box/multiplatform/multiModule/expectActualMemberLink.kt @@ -5,6 +5,7 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // IGNORE_BACKEND: NATIVE +// IGNORE_BACKEND: WASM // DONT_TARGET_EXACT_BACKEND: JVM // DONT_TARGET_EXACT_BACKEND: JVM_IR // DONT_TARGET_EXACT_BACKEND: ANDROID diff --git a/compiler/testData/codegen/box/multiplatform/multiModule/expectActualTypealiasLink.kt b/compiler/testData/codegen/box/multiplatform/multiModule/expectActualTypealiasLink.kt index 1d625140239..13a5c9e5282 100644 --- a/compiler/testData/codegen/box/multiplatform/multiModule/expectActualTypealiasLink.kt +++ b/compiler/testData/codegen/box/multiplatform/multiModule/expectActualTypealiasLink.kt @@ -5,6 +5,7 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // IGNORE_BACKEND: NATIVE +// IGNORE_BACKEND: WASM // DONT_TARGET_EXACT_BACKEND: JVM // DONT_TARGET_EXACT_BACKEND: JVM_IR // DONT_TARGET_EXACT_BACKEND: ANDROID diff --git a/compiler/testData/codegen/box/multiplatform/optionalExpectation.kt b/compiler/testData/codegen/box/multiplatform/optionalExpectation.kt index 9e9995894d7..c8a7618e9b9 100644 --- a/compiler/testData/codegen/box/multiplatform/optionalExpectation.kt +++ b/compiler/testData/codegen/box/multiplatform/optionalExpectation.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // FIR status: expect/actual in the same module (ACTUAL_WITHOUT_EXPECT) // !LANGUAGE: +MultiPlatformProjects // !OPT_IN: kotlin.ExperimentalMultiplatform diff --git a/compiler/testData/codegen/box/multiplatform/starImportOfExpectEnumWithActualTypeAlias.kt b/compiler/testData/codegen/box/multiplatform/starImportOfExpectEnumWithActualTypeAlias.kt index 03605a3e9b4..c6c52f9195d 100644 --- a/compiler/testData/codegen/box/multiplatform/starImportOfExpectEnumWithActualTypeAlias.kt +++ b/compiler/testData/codegen/box/multiplatform/starImportOfExpectEnumWithActualTypeAlias.kt @@ -2,6 +2,7 @@ // IGNORE_BACKEND: JS // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 +// IGNORE_BACKEND: WASM // MODULE: lib-common // FILE: common.kt diff --git a/compiler/testData/codegen/box/operatorConventions/kt39880.kt b/compiler/testData/codegen/box/operatorConventions/kt39880.kt index b3ebda39332..6cea1a4e86d 100644 --- a/compiler/testData/codegen/box/operatorConventions/kt39880.kt +++ b/compiler/testData/codegen/box/operatorConventions/kt39880.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // FIR status: Disabling of StrictOnlyInputTypesChecks is not supported by FIR // WITH_STDLIB // !LANGUAGE: -StrictOnlyInputTypesChecks diff --git a/compiler/testData/codegen/box/operatorConventions/kt42722.kt b/compiler/testData/codegen/box/operatorConventions/kt42722.kt index fb92341b51e..e5682dbf17e 100644 --- a/compiler/testData/codegen/box/operatorConventions/kt42722.kt +++ b/compiler/testData/codegen/box/operatorConventions/kt42722.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // FIR status: Disabling of StrictOnlyInputTypesChecks is not supported by FIR // WITH_STDLIB // !LANGUAGE: -StrictOnlyInputTypesChecks diff --git a/compiler/testData/codegen/box/operatorConventions/suspendOperators.kt b/compiler/testData/codegen/box/operatorConventions/suspendOperators.kt index 4814c7b8394..98b5170c72f 100644 --- a/compiler/testData/codegen/box/operatorConventions/suspendOperators.kt +++ b/compiler/testData/codegen/box/operatorConventions/suspendOperators.kt @@ -1,7 +1,6 @@ // WITH_STDLIB // WITH_COROUTINES // IGNORE_BACKEND_K1: ANY -// IGNORE_BACKEND: WASM import kotlin.coroutines.* import kotlin.coroutines.intrinsics.* diff --git a/compiler/testData/codegen/box/package/invokespecial.kt b/compiler/testData/codegen/box/package/invokespecial.kt index 1c4cf82dd94..0e7d7cd5128 100644 --- a/compiler/testData/codegen/box/package/invokespecial.kt +++ b/compiler/testData/codegen/box/package/invokespecial.kt @@ -1,5 +1,4 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS +// IGNORE_BACKEND_K1: WASM // IGNORE_BACKEND_K1: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: muted automatically, investigate should it be ran for JS or not diff --git a/compiler/testData/codegen/box/properties/accessToPrivateSetter.kt b/compiler/testData/codegen/box/properties/accessToPrivateSetter.kt index d619b9ffda7..a795bddcb8f 100644 --- a/compiler/testData/codegen/box/properties/accessToPrivateSetter.kt +++ b/compiler/testData/codegen/box/properties/accessToPrivateSetter.kt @@ -1,5 +1,4 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS +// IGNORE_BACKEND_K1: WASM // IGNORE_BACKEND_K1: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: muted automatically, investigate should it be ran for JS or not diff --git a/compiler/testData/codegen/box/properties/genericWithSameName.kt b/compiler/testData/codegen/box/properties/genericWithSameName.kt index fbc4c9c02e3..c2e7a13bdf9 100644 --- a/compiler/testData/codegen/box/properties/genericWithSameName.kt +++ b/compiler/testData/codegen/box/properties/genericWithSameName.kt @@ -1,5 +1,5 @@ // IGNORE_BACKEND: JVM, JVM_IR -// IGNORE_BACKEND_K2: JS_IR, NATIVE +// IGNORE_BACKEND_K2: JS_IR, NATIVE, WASM // FIR status: not supported package foo diff --git a/compiler/testData/codegen/box/sameFileInSourceAndDependencies/nestedClassDeclaration.kt b/compiler/testData/codegen/box/sameFileInSourceAndDependencies/nestedClassDeclaration.kt index 4a2b51c741e..485b90e7fad 100644 --- a/compiler/testData/codegen/box/sameFileInSourceAndDependencies/nestedClassDeclaration.kt +++ b/compiler/testData/codegen/box/sameFileInSourceAndDependencies/nestedClassDeclaration.kt @@ -2,6 +2,7 @@ // NATIVE error: error: compilation failed: IrClassPublicSymbolImpl for box.sameFileInSourceAndDependencies.nestedClassDeclaration/Host|null[0] is already bound: CLASS CLASS name:Host modality:FINAL visibility:public superTypes:[kotlin.Any] // IGNORE_BACKEND: JS_IR, JS_IR_ES6 // JS_IR error: IrClassPublicSymbolImpl for /Host|null[0] is already bound: CLASS CLASS name:Host modality:FINAL visibility:public superTypes:[kotlin.Any] +// IGNORE_BACKEND: WASM // MODULE: lib // FILE: 2.kt diff --git a/compiler/testData/codegen/box/sameFileInSourceAndDependencies/propertyDeclaration.kt b/compiler/testData/codegen/box/sameFileInSourceAndDependencies/propertyDeclaration.kt index 42d9567fb6e..0d8f3451120 100644 --- a/compiler/testData/codegen/box/sameFileInSourceAndDependencies/propertyDeclaration.kt +++ b/compiler/testData/codegen/box/sameFileInSourceAndDependencies/propertyDeclaration.kt @@ -1,5 +1,6 @@ // IGNORE_BACKEND: NATIVE // IGNORE_BACKEND: JS_IR, JS_IR_ES6 +// IGNORE_BACKEND: WASM // MODULE: lib // FILE: 2.kt val a get() = "OK" diff --git a/compiler/testData/codegen/box/size/objectsOptimization.kt b/compiler/testData/codegen/box/size/objectsOptimization.kt index 76b716428c1..f70fb47cd49 100644 --- a/compiler/testData/codegen/box/size/objectsOptimization.kt +++ b/compiler/testData/codegen/box/size/objectsOptimization.kt @@ -3,6 +3,9 @@ // WASM_DCE_EXPECTED_OUTPUT_SIZE: wasm 18_621 // WASM_DCE_EXPECTED_OUTPUT_SIZE: mjs 5_328 +// Muting because K2 DCE code size was less than expected (17377) +// IGNORE_BACKEND_K2: WASM + object Simple object SimpleWithConstVal { diff --git a/compiler/testData/codegen/box/smartCasts/lambdaArgumentWithoutType.kt b/compiler/testData/codegen/box/smartCasts/lambdaArgumentWithoutType.kt index cf652c67a89..639cda306e5 100644 --- a/compiler/testData/codegen/box/smartCasts/lambdaArgumentWithoutType.kt +++ b/compiler/testData/codegen/box/smartCasts/lambdaArgumentWithoutType.kt @@ -1,5 +1,4 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: MINOR: JS_NAME_CLASH +// IGNORE_BACKEND_K1: WASM // IGNORE_BACKEND_K1: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: muted automatically, investigate should it be ran for JS or not diff --git a/compiler/testData/codegen/box/strings/constInStringTemplate.kt b/compiler/testData/codegen/box/strings/constInStringTemplate.kt index 8ba4f68bd43..dd04981cd9f 100644 --- a/compiler/testData/codegen/box/strings/constInStringTemplate.kt +++ b/compiler/testData/codegen/box/strings/constInStringTemplate.kt @@ -1,5 +1,5 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: Float.toString() +// IGNORE_BACKEND_K1: WASM +// IGNORE_BACKEND_K2: WASM // WITH_STDLIB import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/traits/kt2399.kt b/compiler/testData/codegen/box/traits/kt2399.kt index 7add4f19676..f807e8e7ab8 100644 --- a/compiler/testData/codegen/box/traits/kt2399.kt +++ b/compiler/testData/codegen/box/traits/kt2399.kt @@ -1,5 +1,4 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS +// IGNORE_BACKEND_K1: WASM // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: muted automatically, investigate should it be ran for JS or not diff --git a/compiler/testData/codegen/box/unaryOp/call.kt b/compiler/testData/codegen/box/unaryOp/call.kt index 02958c543ca..fc19eb853e3 100644 --- a/compiler/testData/codegen/box/unaryOp/call.kt +++ b/compiler/testData/codegen/box/unaryOp/call.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design fun box(): String { diff --git a/compiler/testData/codegen/box/unaryOp/callNullable.kt b/compiler/testData/codegen/box/unaryOp/callNullable.kt index fe610c994b6..0906ac8812b 100644 --- a/compiler/testData/codegen/box/unaryOp/callNullable.kt +++ b/compiler/testData/codegen/box/unaryOp/callNullable.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design fun box(): String { diff --git a/compiler/testData/codegen/box/vararg/singleAssignmentToVarargsInFunction.kt b/compiler/testData/codegen/box/vararg/singleAssignmentToVarargsInFunction.kt index ab221c9d429..9374f60e046 100644 --- a/compiler/testData/codegen/box/vararg/singleAssignmentToVarargsInFunction.kt +++ b/compiler/testData/codegen/box/vararg/singleAssignmentToVarargsInFunction.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K2: JVM_IR, JS_IR +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, WASM // !LANGUAGE: -ProhibitAssigningSingleElementsToVarargsInNamedForm -AllowAssigningArrayElementsToVarargsInNamedFormForFunctions // FIR status: don't support legacy feature diff --git a/compiler/testData/codegen/box/volatile/volatileBool.kt b/compiler/testData/codegen/box/volatile/volatileBool.kt index 275b2f983e5..38577af1ede 100644 --- a/compiler/testData/codegen/box/volatile/volatileBool.kt +++ b/compiler/testData/codegen/box/volatile/volatileBool.kt @@ -1,6 +1,6 @@ // WITH_STDLIB -// IGNORE_BACKEND: WASM, JS -// IGNORE_BACKEND_K1: JS_IR, JS_IR_ES6 +// IGNORE_BACKEND: JS +// IGNORE_BACKEND_K1: WASM, JS_IR, JS_IR_ES6 // !API_VERSION: 1.9 import kotlin.concurrent.* diff --git a/compiler/testData/codegen/box/volatile/volatileByte.kt b/compiler/testData/codegen/box/volatile/volatileByte.kt index 85369c1eb35..7f9786a3ee7 100644 --- a/compiler/testData/codegen/box/volatile/volatileByte.kt +++ b/compiler/testData/codegen/box/volatile/volatileByte.kt @@ -1,6 +1,6 @@ // WITH_STDLIB -// IGNORE_BACKEND: WASM, JS -// IGNORE_BACKEND_K1: JS_IR, JS_IR_ES6 +// IGNORE_BACKEND: JS +// IGNORE_BACKEND_K1: WASM, JS_IR, JS_IR_ES6 // !API_VERSION: 1.9 import kotlin.concurrent.* diff --git a/compiler/testData/codegen/box/volatile/volatileDouble.kt b/compiler/testData/codegen/box/volatile/volatileDouble.kt index 9ed6d1217c2..a02da6ebabe 100644 --- a/compiler/testData/codegen/box/volatile/volatileDouble.kt +++ b/compiler/testData/codegen/box/volatile/volatileDouble.kt @@ -1,6 +1,6 @@ // WITH_STDLIB -// IGNORE_BACKEND: WASM, JS -// IGNORE_BACKEND_K1: JS_IR, JS_IR_ES6 +// IGNORE_BACKEND: JS +// IGNORE_BACKEND_K1: WASM, JS_IR, JS_IR_ES6 // !API_VERSION: 1.9 import kotlin.concurrent.* diff --git a/compiler/testData/codegen/box/volatile/volatileFloat.kt b/compiler/testData/codegen/box/volatile/volatileFloat.kt index 119acd942c2..cc51e07c9c6 100644 --- a/compiler/testData/codegen/box/volatile/volatileFloat.kt +++ b/compiler/testData/codegen/box/volatile/volatileFloat.kt @@ -1,6 +1,6 @@ // WITH_STDLIB -// IGNORE_BACKEND: WASM, JS -// IGNORE_BACKEND_K1: JS_IR, JS_IR_ES6 +// IGNORE_BACKEND: JS +// IGNORE_BACKEND_K1: WASM, JS_IR, JS_IR_ES6 // !API_VERSION: 1.9 import kotlin.concurrent.* diff --git a/compiler/testData/codegen/box/volatile/volatileGeneric.kt b/compiler/testData/codegen/box/volatile/volatileGeneric.kt index dde2b7c2b5e..a1ab3f9b0e0 100644 --- a/compiler/testData/codegen/box/volatile/volatileGeneric.kt +++ b/compiler/testData/codegen/box/volatile/volatileGeneric.kt @@ -1,6 +1,6 @@ // WITH_STDLIB -// IGNORE_BACKEND: WASM, JS -// IGNORE_BACKEND_K1: JS_IR, JS_IR_ES6 +// IGNORE_BACKEND: JS +// IGNORE_BACKEND_K1: WASM, JS_IR, JS_IR_ES6 // !API_VERSION: 1.9 import kotlin.concurrent.* diff --git a/compiler/testData/codegen/box/volatile/volatileInt.kt b/compiler/testData/codegen/box/volatile/volatileInt.kt index 34d22e79b71..6aeed4e3d67 100644 --- a/compiler/testData/codegen/box/volatile/volatileInt.kt +++ b/compiler/testData/codegen/box/volatile/volatileInt.kt @@ -1,6 +1,6 @@ // WITH_STDLIB -// IGNORE_BACKEND: WASM, JS -// IGNORE_BACKEND_K1: JS_IR, JS_IR_ES6 +// IGNORE_BACKEND: JS +// IGNORE_BACKEND_K1: WASM, JS_IR, JS_IR_ES6 // !API_VERSION: 1.9 import kotlin.concurrent.* diff --git a/compiler/testData/codegen/box/volatile/volatileLong.kt b/compiler/testData/codegen/box/volatile/volatileLong.kt index e94d11f9f3d..d36b173afce 100644 --- a/compiler/testData/codegen/box/volatile/volatileLong.kt +++ b/compiler/testData/codegen/box/volatile/volatileLong.kt @@ -1,6 +1,6 @@ // WITH_STDLIB -// IGNORE_BACKEND: WASM, JS -// IGNORE_BACKEND_K1: JS_IR, JS_IR_ES6 +// IGNORE_BACKEND: JS +// IGNORE_BACKEND_K1: WASM, JS_IR, JS_IR_ES6 // !API_VERSION: 1.9 import kotlin.concurrent.* diff --git a/compiler/testData/codegen/box/volatile/volatileShort.kt b/compiler/testData/codegen/box/volatile/volatileShort.kt index 79d380adcca..f045b9107c8 100644 --- a/compiler/testData/codegen/box/volatile/volatileShort.kt +++ b/compiler/testData/codegen/box/volatile/volatileShort.kt @@ -1,6 +1,6 @@ // WITH_STDLIB -// IGNORE_BACKEND: WASM, JS -// IGNORE_BACKEND_K1: JS_IR, JS_IR_ES6 +// IGNORE_BACKEND: JS +// IGNORE_BACKEND_K1: WASM, JS_IR, JS_IR_ES6 // !API_VERSION: 1.9 import kotlin.concurrent.* diff --git a/compiler/testData/codegen/box/volatile/volatileString.kt b/compiler/testData/codegen/box/volatile/volatileString.kt index 431396e00cc..d2e16f0acc9 100644 --- a/compiler/testData/codegen/box/volatile/volatileString.kt +++ b/compiler/testData/codegen/box/volatile/volatileString.kt @@ -1,6 +1,6 @@ // WITH_STDLIB -// IGNORE_BACKEND: WASM, JS -// IGNORE_BACKEND_K1: JS_IR, JS_IR_ES6 +// IGNORE_BACKEND: JS +// IGNORE_BACKEND_K1: WASM, JS_IR, JS_IR_ES6 // !API_VERSION: 1.9 import kotlin.concurrent.* diff --git a/compiler/testData/codegen/box/when/exhaustiveBoolean.kt b/compiler/testData/codegen/box/when/exhaustiveBoolean.kt index 68944dc3bdc..0a7f2b79c32 100644 --- a/compiler/testData/codegen/box/when/exhaustiveBoolean.kt +++ b/compiler/testData/codegen/box/when/exhaustiveBoolean.kt @@ -1,5 +1,5 @@ // LANGUAGE: -ProhibitSimplificationOfNonTrivialConstBooleanExpressions -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // FIR status: don't support legacy feature fun box() : String = when (true) { ((true)) -> "OK" diff --git a/compiler/testData/codegen/boxInline/argumentOrder/defaultParametersAndLastVararg.kt b/compiler/testData/codegen/boxInline/argumentOrder/defaultParametersAndLastVararg.kt index 4feb011cfc4..39ac4388edb 100644 --- a/compiler/testData/codegen/boxInline/argumentOrder/defaultParametersAndLastVararg.kt +++ b/compiler/testData/codegen/boxInline/argumentOrder/defaultParametersAndLastVararg.kt @@ -1,7 +1,7 @@ // WITH_STDLIB // !LANGUAGE: -UseCorrectExecutionOrderForVarargArguments // IGNORE_BACKEND: JS -// IGNORE_BACKEND_K2: JVM_IR, JS_IR +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, WASM // IGNORE_BACKEND_K2_MULTI_MODULE: JVM_IR JVM_IR_SERIALIZE // NO_CHECK_LAMBDA_INLINING // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/boxInline/nonLocalReturns/kt9304.kt b/compiler/testData/codegen/boxInline/nonLocalReturns/kt9304.kt index 3dc687d2084..fb8d0a24810 100644 --- a/compiler/testData/codegen/boxInline/nonLocalReturns/kt9304.kt +++ b/compiler/testData/codegen/boxInline/nonLocalReturns/kt9304.kt @@ -1,6 +1,6 @@ // IGNORE_BACKEND: JVM // IGNORE_BACKEND_MULTI_MODULE: JVM, JVM_MULTI_MODULE_OLD_AGAINST_IR -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // IGNORE_BACKEND_K2_MULTI_MODULE: JVM_IR JVM_IR_SERIALIZE // NO_CHECK_LAMBDA_INLINING // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/syntheticAccessors/superCall.kt b/compiler/testData/codegen/boxInline/syntheticAccessors/superCall.kt index 401b65c6ad4..18c4a3ea073 100644 --- a/compiler/testData/codegen/boxInline/syntheticAccessors/superCall.kt +++ b/compiler/testData/codegen/boxInline/syntheticAccessors/superCall.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // IGNORE_BACKEND_K2_MULTI_MODULE: JVM_IR JVM_IR_SERIALIZE NATIVE // !LANGUAGE: -ProhibitSuperCallsFromPublicInline // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/syntheticAccessors/superCallFromMultipleSubclasses.kt b/compiler/testData/codegen/boxInline/syntheticAccessors/superCallFromMultipleSubclasses.kt index 0880e9cff2b..953e697d4f7 100644 --- a/compiler/testData/codegen/boxInline/syntheticAccessors/superCallFromMultipleSubclasses.kt +++ b/compiler/testData/codegen/boxInline/syntheticAccessors/superCallFromMultipleSubclasses.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // IGNORE_BACKEND_K2_MULTI_MODULE: JVM_IR JVM_IR_SERIALIZE NATIVE // !LANGUAGE: -ProhibitSuperCallsFromPublicInline // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/syntheticAccessors/superProperty.kt b/compiler/testData/codegen/boxInline/syntheticAccessors/superProperty.kt index 6bc7f736a3c..80375f0de1a 100644 --- a/compiler/testData/codegen/boxInline/syntheticAccessors/superProperty.kt +++ b/compiler/testData/codegen/boxInline/syntheticAccessors/superProperty.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE +// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM // IGNORE_BACKEND_K2_MULTI_MODULE: JVM_IR JVM_IR_SERIALIZE NATIVE // !LANGUAGE: -ProhibitSuperCallsFromPublicInline // FILE: 1.kt diff --git a/compiler/testData/codegen/boxWasmJsInterop/externalTypeOperators.kt b/compiler/testData/codegen/boxWasmJsInterop/externalTypeOperators.kt index 690816c07bf..50af03a9edd 100644 --- a/compiler/testData/codegen/boxWasmJsInterop/externalTypeOperators.kt +++ b/compiler/testData/codegen/boxWasmJsInterop/externalTypeOperators.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND_K2: WASM // WITH_STDLIB // FILE: externals.js diff --git a/compiler/testData/codegen/boxWasmJsInterop/vararg.kt b/compiler/testData/codegen/boxWasmJsInterop/vararg.kt index 4493d0f177a..ae397f4f982 100644 --- a/compiler/testData/codegen/boxWasmJsInterop/vararg.kt +++ b/compiler/testData/codegen/boxWasmJsInterop/vararg.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_K2: JS_IR +// IGNORE_BACKEND_K2: WASM // Partial copy of js/js.translator/testData/box/native/vararg.kt // With some additions for concrete number types, strings and function references diff --git a/js/js.translator/testData/box/native/passExtLambdaToNative.kt b/js/js.translator/testData/box/native/passExtLambdaToNative.kt index 88fbb752bef..0bdd2235aea 100644 --- a/js/js.translator/testData/box/native/passExtLambdaToNative.kt +++ b/js/js.translator/testData/box/native/passExtLambdaToNative.kt @@ -3,7 +3,7 @@ // IGNORE_BACKEND: JS_IR_ES6 // TODO: Unmute when extension functions are supported in external declarations. // IGNORE_BACKEND: JS -// IGNORE_BACKEND: WASM +// IGNORE_BACKEND_K1: WASM package foo