diff --git a/compiler/testData/codegen/box/arrays/primitiveArrays.kt b/compiler/testData/codegen/box/arrays/primitiveArrays.kt index 0ced5591211..cd2a5f23cf9 100644 --- a/compiler/testData/codegen/box/arrays/primitiveArrays.kt +++ b/compiler/testData/codegen/box/arrays/primitiveArrays.kt @@ -1,5 +1,4 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: KOTLIN_TEST_LIB +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/callableReference/function/sortListOfStrings.kt b/compiler/testData/codegen/box/callableReference/function/sortListOfStrings.kt index 8161c822e83..ea6c6199cf2 100644 --- a/compiler/testData/codegen/box/callableReference/function/sortListOfStrings.kt +++ b/compiler/testData/codegen/box/callableReference/function/sortListOfStrings.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: STDLIB_SORT // WITH_RUNTIME // SKIP_DCE_DRIVEN diff --git a/compiler/testData/codegen/box/constants/comparisonTrue.kt b/compiler/testData/codegen/box/constants/comparisonTrue.kt index c6842bd2781..daca2bae7c9 100644 --- a/compiler/testData/codegen/box/constants/comparisonTrue.kt +++ b/compiler/testData/codegen/box/constants/comparisonTrue.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: STDLIB_GENERATED // WITH_RUNTIME fun foo(): Array { return arrayOf( diff --git a/compiler/testData/codegen/box/ieee754/equalsNaN_properIeeeComparisons.kt b/compiler/testData/codegen/box/ieee754/equalsNaN_properIeeeComparisons.kt index e9292efc87c..5a7499cebcb 100644 --- a/compiler/testData/codegen/box/ieee754/equalsNaN_properIeeeComparisons.kt +++ b/compiler/testData/codegen/box/ieee754/equalsNaN_properIeeeComparisons.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: KOTLIN_TEST_LIB // !LANGUAGE: +ProperIeee754Comparisons // IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inference/builderInference/kt47744.kt b/compiler/testData/codegen/box/inference/builderInference/kt47744.kt index 748a7ce7517..0fd0ecdd8fa 100644 --- a/compiler/testData/codegen/box/inference/builderInference/kt47744.kt +++ b/compiler/testData/codegen/box/inference/builderInference/kt47744.kt @@ -1,3 +1,6 @@ +// IGNORE_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES + // !LANGUAGE: +UnrestrictedBuilderInference // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inference/builderInference/specialCallsWithCallableReferences.kt b/compiler/testData/codegen/box/inference/builderInference/specialCallsWithCallableReferences.kt index 13da006308c..17ca71d7751 100644 --- a/compiler/testData/codegen/box/inference/builderInference/specialCallsWithCallableReferences.kt +++ b/compiler/testData/codegen/box/inference/builderInference/specialCallsWithCallableReferences.kt @@ -1,3 +1,6 @@ +// IGNORE_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES + // WITH_RUNTIME // !LANGUAGE: -StrictOnlyInputTypesChecks diff --git a/compiler/testData/codegen/box/inference/builderInference/specialCallsWithCallableReferencesDontRewriteAtSlice.kt b/compiler/testData/codegen/box/inference/builderInference/specialCallsWithCallableReferencesDontRewriteAtSlice.kt index 6ab9def3000..d32a7f4315b 100644 --- a/compiler/testData/codegen/box/inference/builderInference/specialCallsWithCallableReferencesDontRewriteAtSlice.kt +++ b/compiler/testData/codegen/box/inference/builderInference/specialCallsWithCallableReferencesDontRewriteAtSlice.kt @@ -1,3 +1,6 @@ +// IGNORE_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES + // WITH_RUNTIME // SKIP_TXT // !DIAGNOSTICS: -CAST_NEVER_SUCCEEDS -UNCHECKED_CAST -UNUSED_PARAMETER -UNUSED_VARIABLE -OPT_IN_USAGE_ERROR -UNUSED_EXPRESSION diff --git a/compiler/testData/codegen/box/inference/builderInference/specialCallsWithCallableReferencesErrorType.kt b/compiler/testData/codegen/box/inference/builderInference/specialCallsWithCallableReferencesErrorType.kt index 13da006308c..17ca71d7751 100644 --- a/compiler/testData/codegen/box/inference/builderInference/specialCallsWithCallableReferencesErrorType.kt +++ b/compiler/testData/codegen/box/inference/builderInference/specialCallsWithCallableReferencesErrorType.kt @@ -1,3 +1,6 @@ +// IGNORE_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES + // WITH_RUNTIME // !LANGUAGE: -StrictOnlyInputTypesChecks diff --git a/compiler/testData/codegen/box/inference/builderInference/specialCallsWithLambdas.kt b/compiler/testData/codegen/box/inference/builderInference/specialCallsWithLambdas.kt index 892c83ba9f2..7982f77c2b4 100644 --- a/compiler/testData/codegen/box/inference/builderInference/specialCallsWithLambdas.kt +++ b/compiler/testData/codegen/box/inference/builderInference/specialCallsWithLambdas.kt @@ -1,3 +1,6 @@ +// IGNORE_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES + // WITH_RUNTIME import kotlin.experimental.ExperimentalTypeInference diff --git a/compiler/testData/codegen/box/inference/builderInferenceLeakingVariable.kt b/compiler/testData/codegen/box/inference/builderInferenceLeakingVariable.kt index 60074d829aa..94389180909 100644 --- a/compiler/testData/codegen/box/inference/builderInferenceLeakingVariable.kt +++ b/compiler/testData/codegen/box/inference/builderInferenceLeakingVariable.kt @@ -1,3 +1,6 @@ +// IGNORE_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES + // Issues: KT-33542, KT-33544 // WITH_RUNTIME // !LANGUAGE: +NewInference diff --git a/compiler/testData/codegen/box/inference/kt35684.kt b/compiler/testData/codegen/box/inference/kt35684.kt index 0cb98a66d87..9c637be62dd 100644 --- a/compiler/testData/codegen/box/inference/kt35684.kt +++ b/compiler/testData/codegen/box/inference/kt35684.kt @@ -1,3 +1,6 @@ +// IGNORE_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES + // !LANGUAGE: +NewInference // !OPT_IN: kotlin.RequiresOptIn // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inference/plusAssignInsideLambda.kt b/compiler/testData/codegen/box/inference/plusAssignInsideLambda.kt index b6d4ea8c3ec..e45886b24d1 100644 --- a/compiler/testData/codegen/box/inference/plusAssignInsideLambda.kt +++ b/compiler/testData/codegen/box/inference/plusAssignInsideLambda.kt @@ -1,3 +1,6 @@ +// IGNORE_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES + // WITH_RUNTIME import kotlin.experimental.ExperimentalTypeInference diff --git a/compiler/testData/codegen/box/inference/suspendExtensionRecevierFromConstraint.kt b/compiler/testData/codegen/box/inference/suspendExtensionRecevierFromConstraint.kt index 6169262e158..1abb4271ec7 100644 --- a/compiler/testData/codegen/box/inference/suspendExtensionRecevierFromConstraint.kt +++ b/compiler/testData/codegen/box/inference/suspendExtensionRecevierFromConstraint.kt @@ -1,3 +1,6 @@ +// IGNORE_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES + // WITH_RUNTIME // !LANGUAGE: +NewInference diff --git a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForDownTo.kt b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForDownTo.kt index 07744eaff6a..6ea04b67d1c 100644 --- a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForDownTo.kt +++ b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForDownTo.kt @@ -1,5 +1,4 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: STDLIB_ASSERT +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForDownToReversed.kt b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForDownToReversed.kt index ac372b8d7ac..fe5c62edf7f 100644 --- a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForDownToReversed.kt +++ b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForDownToReversed.kt @@ -1,5 +1,4 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: KOTLIN_TEST_LIB +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForNullableArgument.kt b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForNullableArgument.kt index 8e52460fbc0..0e5899de254 100644 --- a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForNullableArgument.kt +++ b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForNullableArgument.kt @@ -1,5 +1,4 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: KOTLIN_TEST_LIB +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForRangeLiteral.kt b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForRangeLiteral.kt index 38082b862bb..5ab2d3d3794 100644 --- a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForRangeLiteral.kt +++ b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForRangeLiteral.kt @@ -1,5 +1,4 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: STDLIB_ASSERT +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForRangeLiteralReversed.kt b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForRangeLiteralReversed.kt index c2a15be9963..5f96894b6ae 100644 --- a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForRangeLiteralReversed.kt +++ b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForRangeLiteralReversed.kt @@ -1,5 +1,4 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: KOTLIN_TEST_LIB +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForUntil.kt b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForUntil.kt index 692857041a6..d28c1f585f1 100644 --- a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForUntil.kt +++ b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForUntil.kt @@ -1,5 +1,4 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: KOTLIN_TEST_LIB +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForUntilReversed.kt b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForUntilReversed.kt index 15467ff0bd4..a289104cfbc 100644 --- a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForUntilReversed.kt +++ b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForUntilReversed.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: KOTLIN_TEST_LIB // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/contains/inComparableRange.kt b/compiler/testData/codegen/box/ranges/contains/inComparableRange.kt index 6cd6fd917da..8aad5a2332d 100644 --- a/compiler/testData/codegen/box/ranges/contains/inComparableRange.kt +++ b/compiler/testData/codegen/box/ranges/contains/inComparableRange.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/contains/inOptimizableDoubleRange.kt b/compiler/testData/codegen/box/ranges/contains/inOptimizableDoubleRange.kt index a811ebf3e4f..7e2835d5809 100644 --- a/compiler/testData/codegen/box/ranges/contains/inOptimizableDoubleRange.kt +++ b/compiler/testData/codegen/box/ranges/contains/inOptimizableDoubleRange.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/contains/inOptimizableFloatRange.kt b/compiler/testData/codegen/box/ranges/contains/inOptimizableFloatRange.kt index d97d9ccc523..54392597ad7 100644 --- a/compiler/testData/codegen/box/ranges/contains/inOptimizableFloatRange.kt +++ b/compiler/testData/codegen/box/ranges/contains/inOptimizableFloatRange.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/contains/inOptimizableIntRange.kt b/compiler/testData/codegen/box/ranges/contains/inOptimizableIntRange.kt index 7eff3310b5b..377ced92278 100644 --- a/compiler/testData/codegen/box/ranges/contains/inOptimizableIntRange.kt +++ b/compiler/testData/codegen/box/ranges/contains/inOptimizableIntRange.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/contains/inOptimizableLongRange.kt b/compiler/testData/codegen/box/ranges/contains/inOptimizableLongRange.kt index 6016f2278b2..22a087970f5 100644 --- a/compiler/testData/codegen/box/ranges/contains/inOptimizableLongRange.kt +++ b/compiler/testData/codegen/box/ranges/contains/inOptimizableLongRange.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: IGNORED_IN_JS // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/sam/constructors/comparator.kt b/compiler/testData/codegen/box/sam/constructors/comparator.kt index 6d40f03b8af..e84a7ed538b 100644 --- a/compiler/testData/codegen/box/sam/constructors/comparator.kt +++ b/compiler/testData/codegen/box/sam/constructors/comparator.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: STDLIB_SORT // WITH_RUNTIME // SKIP_DCE_DRIVEN diff --git a/compiler/testData/codegen/box/sam/constructors/nonLiteralComparator.kt b/compiler/testData/codegen/box/sam/constructors/nonLiteralComparator.kt index da8b086ca85..25456742843 100644 --- a/compiler/testData/codegen/box/sam/constructors/nonLiteralComparator.kt +++ b/compiler/testData/codegen/box/sam/constructors/nonLiteralComparator.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: WASM -// WASM_MUTE_REASON: STDLIB_SORT // WITH_RUNTIME // SKIP_DCE_DRIVEN diff --git a/compiler/testData/codegen/box/suspendConversion/basicSuspendConversion.kt b/compiler/testData/codegen/box/suspendConversion/basicSuspendConversion.kt index 2d250e286c0..eb793e0d9a6 100644 --- a/compiler/testData/codegen/box/suspendConversion/basicSuspendConversion.kt +++ b/compiler/testData/codegen/box/suspendConversion/basicSuspendConversion.kt @@ -1,4 +1,6 @@ // IGNORE_BACKEND: JVM +// IGNORE_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // !LANGUAGE: +SuspendConversion // !DIAGNOSTICS: -UNUSED_PARAMETER diff --git a/compiler/testData/codegen/box/suspendConversion/basicSuspendConversionDefault.kt b/compiler/testData/codegen/box/suspendConversion/basicSuspendConversionDefault.kt index d1ead7f52fa..9ed12c0f0df 100644 --- a/compiler/testData/codegen/box/suspendConversion/basicSuspendConversionDefault.kt +++ b/compiler/testData/codegen/box/suspendConversion/basicSuspendConversionDefault.kt @@ -1,4 +1,6 @@ // IGNORE_BACKEND: JVM +// IGNORE_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // !DIAGNOSTICS: -UNUSED_PARAMETER diff --git a/compiler/testData/codegen/box/suspendConversion/chainedFunSuspendConversionForSimpleExpression.kt b/compiler/testData/codegen/box/suspendConversion/chainedFunSuspendConversionForSimpleExpression.kt index ec2a4726762..5bd643787af 100644 --- a/compiler/testData/codegen/box/suspendConversion/chainedFunSuspendConversionForSimpleExpression.kt +++ b/compiler/testData/codegen/box/suspendConversion/chainedFunSuspendConversionForSimpleExpression.kt @@ -1,6 +1,8 @@ // !LANGUAGE: +SuspendConversion // IGNORE_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// IGNORE_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES fun interface SuspendRunnable { suspend fun invoke() diff --git a/compiler/testData/codegen/box/suspendConversion/overloadResolutionBySuspendModifier.kt b/compiler/testData/codegen/box/suspendConversion/overloadResolutionBySuspendModifier.kt index 454be32d7cf..9c9402141d4 100644 --- a/compiler/testData/codegen/box/suspendConversion/overloadResolutionBySuspendModifier.kt +++ b/compiler/testData/codegen/box/suspendConversion/overloadResolutionBySuspendModifier.kt @@ -1,6 +1,8 @@ // !LANGUAGE: +SuspendConversion // !DIAGNOSTICS: -UNUSED_PARAMETER // IGNORE_BACKEND: JVM +// IGNORE_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES var foo1 = false var foo2 = false diff --git a/compiler/testData/codegen/box/suspendConversion/severalConversionsInOneCall.kt b/compiler/testData/codegen/box/suspendConversion/severalConversionsInOneCall.kt index 23362be1de5..80793bfc381 100644 --- a/compiler/testData/codegen/box/suspendConversion/severalConversionsInOneCall.kt +++ b/compiler/testData/codegen/box/suspendConversion/severalConversionsInOneCall.kt @@ -2,6 +2,8 @@ // !LANGUAGE: +SuspendConversion // !DIAGNOSTICS: -UNUSED_PARAMETER // IGNORE_BACKEND: JVM +// IGNORE_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES fun foo(f: () -> String, g: suspend () -> String, h: suspend () -> String) {} diff --git a/compiler/testData/codegen/box/suspendConversion/suspendConversionOnVarargElements.kt b/compiler/testData/codegen/box/suspendConversion/suspendConversionOnVarargElements.kt index d8940be6cc1..13a1734d736 100644 --- a/compiler/testData/codegen/box/suspendConversion/suspendConversionOnVarargElements.kt +++ b/compiler/testData/codegen/box/suspendConversion/suspendConversionOnVarargElements.kt @@ -3,6 +3,8 @@ // !DIAGNOSTICS: -UNUSED_PARAMETER // IGNORE_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR +// IGNORE_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES fun useSuspendVararg(vararg sfn: suspend () -> Unit) {}