diff --git a/compiler/testData/codegen/box/annotations/parameters.kt b/compiler/testData/codegen/box/annotations/parameters.kt index f58826c7fab..f43a23c041d 100644 --- a/compiler/testData/codegen/box/annotations/parameters.kt +++ b/compiler/testData/codegen/box/annotations/parameters.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/argumentOrder/kt17691WithEnabledFeature.kt b/compiler/testData/codegen/box/argumentOrder/kt17691WithEnabledFeature.kt index 48c994256fa..0384d9b8e6e 100644 --- a/compiler/testData/codegen/box/argumentOrder/kt17691WithEnabledFeature.kt +++ b/compiler/testData/codegen/box/argumentOrder/kt17691WithEnabledFeature.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SPREAD_OPERATOR // !LANGUAGE: +UseCorrectExecutionOrderForVarargArguments // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/arrays/arraysAreCloneable.kt b/compiler/testData/codegen/box/arrays/arraysAreCloneable.kt index ffb5b27e083..d95544e84b3 100644 --- a/compiler/testData/codegen/box/arrays/arraysAreCloneable.kt +++ b/compiler/testData/codegen/box/arrays/arraysAreCloneable.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/arrays/cloneArray.kt b/compiler/testData/codegen/box/arrays/cloneArray.kt index f4f2dd09bcc..df2d2d20895 100644 --- a/compiler/testData/codegen/box/arrays/cloneArray.kt +++ b/compiler/testData/codegen/box/arrays/cloneArray.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/arrays/clonePrimitiveArrays.kt b/compiler/testData/codegen/box/arrays/clonePrimitiveArrays.kt index 0ea3f9f6f4f..0efa454f1ed 100644 --- a/compiler/testData/codegen/box/arrays/clonePrimitiveArrays.kt +++ b/compiler/testData/codegen/box/arrays/clonePrimitiveArrays.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/arrays/collectionAssignGetMultiIndex.kt b/compiler/testData/codegen/box/arrays/collectionAssignGetMultiIndex.kt index 4a7d83c589e..cee2efdf235 100644 --- a/compiler/testData/codegen/box/arrays/collectionAssignGetMultiIndex.kt +++ b/compiler/testData/codegen/box/arrays/collectionAssignGetMultiIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME operator fun ArrayList.get(index1: Int, index2: Int) = this[index1 + index2] operator fun ArrayList.set(index1: Int, index2: Int, elem: String) { diff --git a/compiler/testData/codegen/box/arrays/collectionGetMultiIndex.kt b/compiler/testData/codegen/box/arrays/collectionGetMultiIndex.kt index 4cc8a004134..eebe23c527b 100644 --- a/compiler/testData/codegen/box/arrays/collectionGetMultiIndex.kt +++ b/compiler/testData/codegen/box/arrays/collectionGetMultiIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME operator fun ArrayList.get(index1: Int, index2: Int) = this[index1 + index2] operator fun ArrayList.set(index1: Int, index2: Int, elem: String) { diff --git a/compiler/testData/codegen/box/arrays/forInReversed/reversedOriginalUpdatedInLoopBody.kt b/compiler/testData/codegen/box/arrays/forInReversed/reversedOriginalUpdatedInLoopBody.kt index e51e49904fc..1f05e3ab4ea 100644 --- a/compiler/testData/codegen/box/arrays/forInReversed/reversedOriginalUpdatedInLoopBody.kt +++ b/compiler/testData/codegen/box/arrays/forInReversed/reversedOriginalUpdatedInLoopBody.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/arrays/forInReversed/reversedReversedOriginalUpdatedInLoopBody.kt b/compiler/testData/codegen/box/arrays/forInReversed/reversedReversedOriginalUpdatedInLoopBody.kt index 44a2264c2f1..902716d3587 100644 --- a/compiler/testData/codegen/box/arrays/forInReversed/reversedReversedOriginalUpdatedInLoopBody.kt +++ b/compiler/testData/codegen/box/arrays/forInReversed/reversedReversedOriginalUpdatedInLoopBody.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/arrays/hashMap.kt b/compiler/testData/codegen/box/arrays/hashMap.kt index 38316baee5e..5a92b3da0dc 100644 --- a/compiler/testData/codegen/box/arrays/hashMap.kt +++ b/compiler/testData/codegen/box/arrays/hashMap.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME operator fun HashMap.set(index: String, elem: Int?) { this.put(index, elem) diff --git a/compiler/testData/codegen/box/arrays/kt2997.kt b/compiler/testData/codegen/box/arrays/kt2997.kt index ac70c009a2d..dea97c8b0c1 100644 --- a/compiler/testData/codegen/box/arrays/kt2997.kt +++ b/compiler/testData/codegen/box/arrays/kt2997.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: WASM_NULL_CAST //KT-2997 Automatically cast error (Array) fun foo(a: Any): Int { diff --git a/compiler/testData/codegen/box/arrays/kt33.kt b/compiler/testData/codegen/box/arrays/kt33.kt index f705364a5a2..11253c2739e 100644 --- a/compiler/testData/codegen/box/arrays/kt33.kt +++ b/compiler/testData/codegen/box/arrays/kt33.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME fun box () : String { diff --git a/compiler/testData/codegen/box/arrays/kt503.kt b/compiler/testData/codegen/box/arrays/kt503.kt index ef98fb73ec8..2d9c71a9f86 100644 --- a/compiler/testData/codegen/box/arrays/kt503.kt +++ b/compiler/testData/codegen/box/arrays/kt503.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // 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/arrays/kt594.kt b/compiler/testData/codegen/box/arrays/kt594.kt index c67bd1b66e7..c12fd898ddb 100644 --- a/compiler/testData/codegen/box/arrays/kt594.kt +++ b/compiler/testData/codegen/box/arrays/kt594.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES package array_test fun box() : String { diff --git a/compiler/testData/codegen/box/arrays/kt7338.kt b/compiler/testData/codegen/box/arrays/kt7338.kt index 545dd48ded2..a5a695615c3 100644 --- a/compiler/testData/codegen/box/arrays/kt7338.kt +++ b/compiler/testData/codegen/box/arrays/kt7338.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: NATIVE // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/arrays/kt950.kt b/compiler/testData/codegen/box/arrays/kt950.kt index ca832fd2ad9..a37f06f0794 100644 --- a/compiler/testData/codegen/box/arrays/kt950.kt +++ b/compiler/testData/codegen/box/arrays/kt950.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME operator fun MutableMap.set(k : K, v : V) = put(k, v) diff --git a/compiler/testData/codegen/box/arrays/multiArrayConstructors.kt b/compiler/testData/codegen/box/arrays/multiArrayConstructors.kt index 77663265456..0262d1168e5 100644 --- a/compiler/testData/codegen/box/arrays/multiArrayConstructors.kt +++ b/compiler/testData/codegen/box/arrays/multiArrayConstructors.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: WASM_NULL_CAST // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/arrays/nonLocalReturnArrayConstructor.kt b/compiler/testData/codegen/box/arrays/nonLocalReturnArrayConstructor.kt index dded8539cda..d981f577025 100644 --- a/compiler/testData/codegen/box/arrays/nonLocalReturnArrayConstructor.kt +++ b/compiler/testData/codegen/box/arrays/nonLocalReturnArrayConstructor.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES typealias ArrayS = Array fun testArray() { diff --git a/compiler/testData/codegen/box/arrays/primitiveArrays.kt b/compiler/testData/codegen/box/arrays/primitiveArrays.kt index cd2a5f23cf9..aa102fc6874 100644 --- a/compiler/testData/codegen/box/arrays/primitiveArrays.kt +++ b/compiler/testData/codegen/box/arrays/primitiveArrays.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: KOTLIN_TEST_LIB // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/assert/alwaysDisable.kt b/compiler/testData/codegen/box/assert/alwaysDisable.kt index 7537141d308..7979acc6e65 100644 --- a/compiler/testData/codegen/box/assert/alwaysDisable.kt +++ b/compiler/testData/codegen/box/assert/alwaysDisable.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_ASSERT // IGNORE_BACKEND: NATIVE // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/assert/alwaysEnable.kt b/compiler/testData/codegen/box/assert/alwaysEnable.kt index 35c6cb217a5..33d66d70a1f 100644 --- a/compiler/testData/codegen/box/assert/alwaysEnable.kt +++ b/compiler/testData/codegen/box/assert/alwaysEnable.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_ASSERT // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/binaryOp/divisionByZero.kt b/compiler/testData/codegen/box/binaryOp/divisionByZero.kt index cf55c24d273..1e57e36bb7b 100644 --- a/compiler/testData/codegen/box/binaryOp/divisionByZero.kt +++ b/compiler/testData/codegen/box/binaryOp/divisionByZero.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/boxingOptimization/checkcastAndInstanceOf.kt b/compiler/testData/codegen/box/boxingOptimization/checkcastAndInstanceOf.kt index 9306a1e2caf..23f49942c65 100644 --- a/compiler/testData/codegen/box/boxingOptimization/checkcastAndInstanceOf.kt +++ b/compiler/testData/codegen/box/boxingOptimization/checkcastAndInstanceOf.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/boxingOptimization/kt5493.kt b/compiler/testData/codegen/box/boxingOptimization/kt5493.kt index efd7e94a5f7..c0942550ef8 100644 --- a/compiler/testData/codegen/box/boxingOptimization/kt5493.kt +++ b/compiler/testData/codegen/box/boxingOptimization/kt5493.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun box() : String { try { return "OK" diff --git a/compiler/testData/codegen/box/boxingOptimization/kt6842.kt b/compiler/testData/codegen/box/boxingOptimization/kt6842.kt index 9f52810a009..13daa41befb 100644 --- a/compiler/testData/codegen/box/boxingOptimization/kt6842.kt +++ b/compiler/testData/codegen/box/boxingOptimization/kt6842.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/boxingOptimization/progressions.kt b/compiler/testData/codegen/box/boxingOptimization/progressions.kt index 5ea2b777575..92181f07fa7 100644 --- a/compiler/testData/codegen/box/boxingOptimization/progressions.kt +++ b/compiler/testData/codegen/box/boxingOptimization/progressions.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/bridges/complexTraitImpl.kt b/compiler/testData/codegen/box/bridges/complexTraitImpl.kt index b17347ff040..fcfb9d705fb 100644 --- a/compiler/testData/codegen/box/bridges/complexTraitImpl.kt +++ b/compiler/testData/codegen/box/bridges/complexTraitImpl.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/bridges/fakeGenericCovariantOverride.kt b/compiler/testData/codegen/box/bridges/fakeGenericCovariantOverride.kt index ffff9f297e4..a6c4b35a400 100644 --- a/compiler/testData/codegen/box/bridges/fakeGenericCovariantOverride.kt +++ b/compiler/testData/codegen/box/bridges/fakeGenericCovariantOverride.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // KT-3985 interface Trait { diff --git a/compiler/testData/codegen/box/bridges/fakeOverrideThroughGenericSuperclass.kt b/compiler/testData/codegen/box/bridges/fakeOverrideThroughGenericSuperclass.kt index 6691f9c14a5..87f977bb103 100644 --- a/compiler/testData/codegen/box/bridges/fakeOverrideThroughGenericSuperclass.kt +++ b/compiler/testData/codegen/box/bridges/fakeOverrideThroughGenericSuperclass.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/bridges/kt2498.kt b/compiler/testData/codegen/box/bridges/kt2498.kt index 6b504f4167e..56b2501dd6a 100644 --- a/compiler/testData/codegen/box/bridges/kt2498.kt +++ b/compiler/testData/codegen/box/bridges/kt2498.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: NATIVE diff --git a/compiler/testData/codegen/box/bridges/noBridgeOnMutableCollectionInheritance.kt b/compiler/testData/codegen/box/bridges/noBridgeOnMutableCollectionInheritance.kt index daa5cd81b4c..e9623089858 100644 --- a/compiler/testData/codegen/box/bridges/noBridgeOnMutableCollectionInheritance.kt +++ b/compiler/testData/codegen/box/bridges/noBridgeOnMutableCollectionInheritance.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/bridges/substitutionInSuperClass/differentErasureInSuperClassComplex.kt b/compiler/testData/codegen/box/bridges/substitutionInSuperClass/differentErasureInSuperClassComplex.kt index 473cee266e1..fa3658cc6b6 100644 --- a/compiler/testData/codegen/box/bridges/substitutionInSuperClass/differentErasureInSuperClassComplex.kt +++ b/compiler/testData/codegen/box/bridges/substitutionInSuperClass/differentErasureInSuperClassComplex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BRIDGE_ISSUES public open class A { fun foo(x: T) = "O" fun foo(x: A) = "K" diff --git a/compiler/testData/codegen/box/builderInference/callableReferenceAndCoercionToUnit.kt b/compiler/testData/codegen/box/builderInference/callableReferenceAndCoercionToUnit.kt index 029e3e01522..563458e1afe 100644 --- a/compiler/testData/codegen/box/builderInference/callableReferenceAndCoercionToUnit.kt +++ b/compiler/testData/codegen/box/builderInference/callableReferenceAndCoercionToUnit.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // IGNORE_BACKEND: JS_IR // !LANGUAGE: +NewInference // !DIAGNOSTICS: -EXPERIMENTAL_API_USAGE_ERROR -UNUSED_EXPRESSION diff --git a/compiler/testData/codegen/box/builderInference/substituteStubTypeIntoCR.kt b/compiler/testData/codegen/box/builderInference/substituteStubTypeIntoCR.kt index b2c27e27ff2..e719bf80692 100644 --- a/compiler/testData/codegen/box/builderInference/substituteStubTypeIntoCR.kt +++ b/compiler/testData/codegen/box/builderInference/substituteStubTypeIntoCR.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR diff --git a/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/abstractList.kt b/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/abstractList.kt index ba7fdde2891..412f82c0753 100644 --- a/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/abstractList.kt +++ b/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/abstractList.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // TARGET_BACKEND: JVM import java.util.AbstractList diff --git a/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/abstractMap.kt b/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/abstractMap.kt index 78722b53f8d..18bb26f2000 100644 --- a/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/abstractMap.kt +++ b/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/abstractMap.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM diff --git a/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/abstractSet.kt b/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/abstractSet.kt index 544accc28f1..74898483503 100644 --- a/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/abstractSet.kt +++ b/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/abstractSet.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: NATIVE diff --git a/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/arrayList.kt b/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/arrayList.kt index 102071c4266..d28b819ef07 100644 --- a/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/arrayList.kt +++ b/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/arrayList.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // KT-6042 java.lang.UnsupportedOperationException with ArrayList diff --git a/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/hashMap.kt b/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/hashMap.kt index ec655001017..24eabb0410c 100644 --- a/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/hashMap.kt +++ b/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/hashMap.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: NATIVE diff --git a/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/hashSet.kt b/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/hashSet.kt index 544accc28f1..74898483503 100644 --- a/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/hashSet.kt +++ b/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/hashSet.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: NATIVE diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/bothWithCoercionToUnit.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/bothWithCoercionToUnit.kt index e5055ef0295..a11d6ea1285 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/bothWithCoercionToUnit.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/bothWithCoercionToUnit.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !LANGUAGE: +NewInference +FunctionReferenceWithDefaultValueAsOtherType fun foo(s: String = "kotlin", vararg t: String): Boolean { diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/boundReferences.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/boundReferences.kt index 38689d0fb0e..1789ca1b654 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/boundReferences.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/boundReferences.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !LANGUAGE: +NewInference +FunctionReferenceWithDefaultValueAsOtherType // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/defaultAfterVararg.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/defaultAfterVararg.kt index 22ef6bfe71f..9c38e878442 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/defaultAfterVararg.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/defaultAfterVararg.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !LANGUAGE: +NewInference +FunctionReferenceWithDefaultValueAsOtherType fun foo(vararg a: String, result: String = "OK"): String = diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/emptyVarargAndDefault.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/emptyVarargAndDefault.kt index ef0e4d91f74..234d87d33e9 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/emptyVarargAndDefault.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/emptyVarargAndDefault.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !LANGUAGE: +NewInference +FunctionReferenceWithDefaultValueAsOtherType fun foo(x: String = "O", vararg y: String): String = diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/inlineBound.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/inlineBound.kt index 2a2db3f9ea0..37ea82ef9d5 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/inlineBound.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/inlineBound.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS inline fun foo(x: () -> Unit): String { x() diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/inlineDefault.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/inlineDefault.kt index c9c2d198a1a..e613d7366e4 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/inlineDefault.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/inlineDefault.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_TEXT // !LANGUAGE: +NewInference +FunctionReferenceWithDefaultValueAsOtherType // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/inlineVararg.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/inlineVararg.kt index d45b3b05d79..4f9bf64c01e 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/inlineVararg.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/inlineVararg.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !LANGUAGE: +NewInference // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/innerConstructorWithVararg.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/innerConstructorWithVararg.kt index d30f9487ba1..3b81bddcfd8 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/innerConstructorWithVararg.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/innerConstructorWithVararg.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS // !LANGUAGE: +NewInference +FunctionReferenceWithDefaultValueAsOtherType class Outer(val o: String) { diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/largeVararg.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/largeVararg.kt index ca32a3a831b..14b949f4a4f 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/largeVararg.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/largeVararg.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BIG_ARITY // !LANGUAGE: +NewInference fun foo( diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/noNameClashForReferencesToSameFunction.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/noNameClashForReferencesToSameFunction.kt index 130632b5260..00bdd943452 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/noNameClashForReferencesToSameFunction.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/noNameClashForReferencesToSameFunction.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS var result = "" class C(val token: String) { diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/referenceToVarargWithDefaults.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/referenceToVarargWithDefaults.kt index 1197e758f35..fc21c0424f6 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/referenceToVarargWithDefaults.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/referenceToVarargWithDefaults.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SPREAD_OPERATOR var result = "fail" fun foo(vararg xs: Int, s1: String = "", s2: String = "OK") { diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/adaptedWithCoercionToUnit.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/adaptedWithCoercionToUnit.kt index e63135228f9..20f58afdd9b 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/adaptedWithCoercionToUnit.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/adaptedWithCoercionToUnit.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // !LANGUAGE: +SuspendConversion // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/adaptedWithDefaultArguments.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/adaptedWithDefaultArguments.kt index 5941bff2a27..6fe7b1848f7 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/adaptedWithDefaultArguments.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/adaptedWithDefaultArguments.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // !LANGUAGE: +SuspendConversion // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/adaptedWithVarargs.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/adaptedWithVarargs.kt index 77ed5a7ce9b..1a053ca9632 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/adaptedWithVarargs.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/adaptedWithVarargs.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // !LANGUAGE: +SuspendConversion // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/bound.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/bound.kt index ec496236572..6d56431ae6b 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/bound.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/bound.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // !LANGUAGE: +SuspendConversion // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/boundExtension.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/boundExtension.kt index 9274074db21..05d170dbaef 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/boundExtension.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/boundExtension.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // !LANGUAGE: +SuspendConversion // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/crossInline.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/crossInline.kt index c904caebf91..0eb0be068bb 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/crossInline.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/crossInline.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // !LANGUAGE: +SuspendConversion // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/inlineAdaptedWithCoercionToUnit.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/inlineAdaptedWithCoercionToUnit.kt index f1f9ce38064..8ddbeaf6770 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/inlineAdaptedWithCoercionToUnit.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/inlineAdaptedWithCoercionToUnit.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // !LANGUAGE: +SuspendConversion // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/inlineAdaptedWithDefaultArguments.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/inlineAdaptedWithDefaultArguments.kt index 24717ab4a8e..21fc23d257e 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/inlineAdaptedWithDefaultArguments.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/inlineAdaptedWithDefaultArguments.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // !LANGUAGE: +SuspendConversion // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/inlineAdaptedWithVarargs.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/inlineAdaptedWithVarargs.kt index 8444182b076..b598c00d53b 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/inlineAdaptedWithVarargs.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/inlineAdaptedWithVarargs.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // !LANGUAGE: +SuspendConversion // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/inlineBound.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/inlineBound.kt index a45b389582c..eb658801ab7 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/inlineBound.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/inlineBound.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // !LANGUAGE: +SuspendConversion // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/inlineSimple.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/inlineSimple.kt index 292c2aa541a..54f772944b7 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/inlineSimple.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/inlineSimple.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // !LANGUAGE: +SuspendConversion // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/inlineWithParameters.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/inlineWithParameters.kt index 208458733f2..454067b8737 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/inlineWithParameters.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/inlineWithParameters.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // !LANGUAGE: +SuspendConversion // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/isAs.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/isAs.kt index df9f1d7a009..879cc43fda3 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/isAs.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/isAs.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // !LANGUAGE: +SuspendConversion // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/simple.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/simple.kt index ce54c5b3f73..e669e307b25 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/simple.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/simple.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // !LANGUAGE: +SuspendConversion // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/withParameters.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/withParameters.kt index 602fd94c29f..3866c2f37f4 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/withParameters.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/withParameters.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // !LANGUAGE: +SuspendConversion // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/unboundReferences.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/unboundReferences.kt index 35dd9d53e3f..a9bf2ae57d2 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/unboundReferences.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/unboundReferences.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SPREAD_OPERATOR // !LANGUAGE: +NewInference +FunctionReferenceWithDefaultValueAsOtherType // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/varargViewedAsPrimitiveArray.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/varargViewedAsPrimitiveArray.kt index d811287c073..d008145045f 100644 --- a/compiler/testData/codegen/box/callableReference/adaptedReferences/varargViewedAsPrimitiveArray.kt +++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/varargViewedAsPrimitiveArray.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SPREAD_OPERATOR // !LANGUAGE: +NewInference fun sum(vararg args: Int): Int { diff --git a/compiler/testData/codegen/box/callableReference/bound/adapted.kt b/compiler/testData/codegen/box/callableReference/bound/adapted.kt index 926c7f7d79a..51836aecdd1 100644 --- a/compiler/testData/codegen/box/callableReference/bound/adapted.kt +++ b/compiler/testData/codegen/box/callableReference/bound/adapted.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS class C { fun ffff(i: Int, s: String = "OK") = s } diff --git a/compiler/testData/codegen/box/callableReference/bound/array.kt b/compiler/testData/codegen/box/callableReference/bound/array.kt index 2a78bb9cc88..58ff770f459 100644 --- a/compiler/testData/codegen/box/callableReference/bound/array.kt +++ b/compiler/testData/codegen/box/callableReference/bound/array.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES open class A { var f: String = "OK" } diff --git a/compiler/testData/codegen/box/callableReference/bound/arrayGetIntrinsic.kt b/compiler/testData/codegen/box/callableReference/bound/arrayGetIntrinsic.kt index d81fb9087aa..d2b65908df7 100644 --- a/compiler/testData/codegen/box/callableReference/bound/arrayGetIntrinsic.kt +++ b/compiler/testData/codegen/box/callableReference/bound/arrayGetIntrinsic.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS fun box(): String { return if ((arrayOf(1, 2, 3)::get)(1) == 2) "OK" else "Fail" } diff --git a/compiler/testData/codegen/box/callableReference/bound/boundReferenceToOverloadedFunction.kt b/compiler/testData/codegen/box/callableReference/bound/boundReferenceToOverloadedFunction.kt index 68131027466..cfa74463e72 100644 --- a/compiler/testData/codegen/box/callableReference/bound/boundReferenceToOverloadedFunction.kt +++ b/compiler/testData/codegen/box/callableReference/bound/boundReferenceToOverloadedFunction.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS // !LANGUAGE: +NewInference interface JsonParser diff --git a/compiler/testData/codegen/box/callableReference/bound/coercionToUnit.kt b/compiler/testData/codegen/box/callableReference/bound/coercionToUnit.kt index d05bbce7f2a..0a65921290b 100644 --- a/compiler/testData/codegen/box/callableReference/bound/coercionToUnit.kt +++ b/compiler/testData/codegen/box/callableReference/bound/coercionToUnit.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS // KJS_WITH_FULL_RUNTIME // !LANGUAGE: +NewInference // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/callableReference/bound/companionObjectReceiver.kt b/compiler/testData/codegen/box/callableReference/bound/companionObjectReceiver.kt index ddf856c54da..0881f432f0a 100644 --- a/compiler/testData/codegen/box/callableReference/bound/companionObjectReceiver.kt +++ b/compiler/testData/codegen/box/callableReference/bound/companionObjectReceiver.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS class A { companion object { fun ok() = "OK" diff --git a/compiler/testData/codegen/box/callableReference/bound/dontShareReceiver.kt b/compiler/testData/codegen/box/callableReference/bound/dontShareReceiver.kt index d5d36ca681d..894e9b1d080 100644 --- a/compiler/testData/codegen/box/callableReference/bound/dontShareReceiver.kt +++ b/compiler/testData/codegen/box/callableReference/bound/dontShareReceiver.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS fun box(): String { var state = 0 diff --git a/compiler/testData/codegen/box/callableReference/bound/emptyLHS.kt b/compiler/testData/codegen/box/callableReference/bound/emptyLHS.kt index e83e406c73b..5ce879ab6de 100644 --- a/compiler/testData/codegen/box/callableReference/bound/emptyLHS.kt +++ b/compiler/testData/codegen/box/callableReference/bound/emptyLHS.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS var result = "" class A { diff --git a/compiler/testData/codegen/box/callableReference/bound/enumEntryMember.kt b/compiler/testData/codegen/box/callableReference/bound/enumEntryMember.kt index 94b54d0e920..adb11ae577c 100644 --- a/compiler/testData/codegen/box/callableReference/bound/enumEntryMember.kt +++ b/compiler/testData/codegen/box/callableReference/bound/enumEntryMember.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS // IGNORE_BACKEND: JS, JS_IR // IGNORE_BACKEND: JS_IR_ES6 enum class E { diff --git a/compiler/testData/codegen/box/callableReference/bound/equals/nullableReceiverInEquals.kt b/compiler/testData/codegen/box/callableReference/bound/equals/nullableReceiverInEquals.kt index ac9762778df..660a7feb821 100644 --- a/compiler/testData/codegen/box/callableReference/bound/equals/nullableReceiverInEquals.kt +++ b/compiler/testData/codegen/box/callableReference/bound/equals/nullableReceiverInEquals.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: investigate should it be ran for JS or not diff --git a/compiler/testData/codegen/box/callableReference/bound/equals/propertyAccessors.kt b/compiler/testData/codegen/box/callableReference/bound/equals/propertyAccessors.kt index 577b638cf4a..6a1ff39ab3b 100644 --- a/compiler/testData/codegen/box/callableReference/bound/equals/propertyAccessors.kt +++ b/compiler/testData/codegen/box/callableReference/bound/equals/propertyAccessors.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: investigate should it be ran for JS or not diff --git a/compiler/testData/codegen/box/callableReference/bound/equals/receiverInEquals.kt b/compiler/testData/codegen/box/callableReference/bound/equals/receiverInEquals.kt index b1fffa5d7b8..717e5c0822e 100644 --- a/compiler/testData/codegen/box/callableReference/bound/equals/receiverInEquals.kt +++ b/compiler/testData/codegen/box/callableReference/bound/equals/receiverInEquals.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: investigate should it be ran for JS or not @@ -26,4 +28,4 @@ fun box(): String = aFoo == A_foo -> "Bound ref SHOULD NOT be equal to free ref" else -> "OK" - } \ No newline at end of file + } diff --git a/compiler/testData/codegen/box/callableReference/bound/equals/reflectionReference.kt b/compiler/testData/codegen/box/callableReference/bound/equals/reflectionReference.kt index 5a09de2f199..00bf4df95e7 100644 --- a/compiler/testData/codegen/box/callableReference/bound/equals/reflectionReference.kt +++ b/compiler/testData/codegen/box/callableReference/bound/equals/reflectionReference.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: investigate should it be ran for JS or not diff --git a/compiler/testData/codegen/box/callableReference/bound/genericValOnLHS.kt b/compiler/testData/codegen/box/callableReference/bound/genericValOnLHS.kt index 8911473c689..50d169f3c97 100644 --- a/compiler/testData/codegen/box/callableReference/bound/genericValOnLHS.kt +++ b/compiler/testData/codegen/box/callableReference/bound/genericValOnLHS.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS class Generic

(val p: P) class Host { diff --git a/compiler/testData/codegen/box/callableReference/bound/kCallableNameIntrinsic.kt b/compiler/testData/codegen/box/callableReference/bound/kCallableNameIntrinsic.kt index 557e76d4377..99a03fc6984 100644 --- a/compiler/testData/codegen/box/callableReference/bound/kCallableNameIntrinsic.kt +++ b/compiler/testData/codegen/box/callableReference/bound/kCallableNameIntrinsic.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS // SKIP_SOURCEMAP_REMAPPING fun box(): String { diff --git a/compiler/testData/codegen/box/callableReference/bound/kt12738.kt b/compiler/testData/codegen/box/callableReference/bound/kt12738.kt index abd0b58b533..63fa78257c7 100644 --- a/compiler/testData/codegen/box/callableReference/bound/kt12738.kt +++ b/compiler/testData/codegen/box/callableReference/bound/kt12738.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS // IGNORE_BACKEND_FIR: JVM_IR fun get(t: T): () -> String { return t::toString diff --git a/compiler/testData/codegen/box/callableReference/bound/kt15446.kt b/compiler/testData/codegen/box/callableReference/bound/kt15446.kt index 2630e17739a..eb21954874e 100644 --- a/compiler/testData/codegen/box/callableReference/bound/kt15446.kt +++ b/compiler/testData/codegen/box/callableReference/bound/kt15446.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS // KJS_WITH_FULL_RUNTIME //WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/callableReference/bound/multiCase.kt b/compiler/testData/codegen/box/callableReference/bound/multiCase.kt index 08af3dd78ca..dabb7b760c1 100644 --- a/compiler/testData/codegen/box/callableReference/bound/multiCase.kt +++ b/compiler/testData/codegen/box/callableReference/bound/multiCase.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS // IGNORE_BACKEND: NATIVE class A(var v: Int) { fun f(x: Int) = x * v diff --git a/compiler/testData/codegen/box/callableReference/bound/nullReceiver.kt b/compiler/testData/codegen/box/callableReference/bound/nullReceiver.kt index 0111a54d58b..d3b540c5cae 100644 --- a/compiler/testData/codegen/box/callableReference/bound/nullReceiver.kt +++ b/compiler/testData/codegen/box/callableReference/bound/nullReceiver.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES val String?.ok: String get() = "OK" diff --git a/compiler/testData/codegen/box/callableReference/bound/objectReceiver.kt b/compiler/testData/codegen/box/callableReference/bound/objectReceiver.kt index a03203792d5..3e2ff238c41 100644 --- a/compiler/testData/codegen/box/callableReference/bound/objectReceiver.kt +++ b/compiler/testData/codegen/box/callableReference/bound/objectReceiver.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS object Singleton { fun ok() = "OK" } diff --git a/compiler/testData/codegen/box/callableReference/bound/primitiveReceiver.kt b/compiler/testData/codegen/box/callableReference/bound/primitiveReceiver.kt index 2773e0cdcd1..6b4db84d300 100644 --- a/compiler/testData/codegen/box/callableReference/bound/primitiveReceiver.kt +++ b/compiler/testData/codegen/box/callableReference/bound/primitiveReceiver.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS fun Boolean.foo() = 1 fun Byte.foo() = 2 fun Short.foo() = 3 diff --git a/compiler/testData/codegen/box/callableReference/bound/receiverEvaluatedOnce.kt b/compiler/testData/codegen/box/callableReference/bound/receiverEvaluatedOnce.kt index fcc6d27ed51..ac1a19eda60 100644 --- a/compiler/testData/codegen/box/callableReference/bound/receiverEvaluatedOnce.kt +++ b/compiler/testData/codegen/box/callableReference/bound/receiverEvaluatedOnce.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS var x = 0 class A { diff --git a/compiler/testData/codegen/box/callableReference/bound/simpleFunction.kt b/compiler/testData/codegen/box/callableReference/bound/simpleFunction.kt index 15fae151f5f..418549b9ec8 100644 --- a/compiler/testData/codegen/box/callableReference/bound/simpleFunction.kt +++ b/compiler/testData/codegen/box/callableReference/bound/simpleFunction.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS fun box(): String { val f = "KOTLIN"::get return "${f(1)}${f(0)}" diff --git a/compiler/testData/codegen/box/callableReference/bound/simpleProperty.kt b/compiler/testData/codegen/box/callableReference/bound/simpleProperty.kt index c271b1c6418..d17561afaf4 100644 --- a/compiler/testData/codegen/box/callableReference/bound/simpleProperty.kt +++ b/compiler/testData/codegen/box/callableReference/bound/simpleProperty.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES fun box(): String { val f = "kotlin"::length val result = f.get() diff --git a/compiler/testData/codegen/box/callableReference/equality/capturedDefaults.kt b/compiler/testData/codegen/box/callableReference/equality/capturedDefaults.kt index e77d8a9c3da..02d4baecc2f 100644 --- a/compiler/testData/codegen/box/callableReference/equality/capturedDefaults.kt +++ b/compiler/testData/codegen/box/callableReference/equality/capturedDefaults.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: FAILS_IN_JS_IR // IGNORE_BACKEND: JS, JS_IR // IGNORE_BACKEND: JS_IR_ES6 // FILE: test.kt diff --git a/compiler/testData/codegen/box/callableReference/equality/capturedVararg.kt b/compiler/testData/codegen/box/callableReference/equality/capturedVararg.kt index a4ef7be5798..fa0296d7d36 100644 --- a/compiler/testData/codegen/box/callableReference/equality/capturedVararg.kt +++ b/compiler/testData/codegen/box/callableReference/equality/capturedVararg.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: FAILS_IN_JS_IR // IGNORE_BACKEND: JS, JS_IR // IGNORE_BACKEND: JS_IR_ES6 // FILE: test.kt diff --git a/compiler/testData/codegen/box/callableReference/equality/coercionToUnit.kt b/compiler/testData/codegen/box/callableReference/equality/coercionToUnit.kt index 380b4775542..0cd0731d067 100644 --- a/compiler/testData/codegen/box/callableReference/equality/coercionToUnit.kt +++ b/compiler/testData/codegen/box/callableReference/equality/coercionToUnit.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: FAILS_IN_JS_IR // IGNORE_BACKEND: JS, JS_IR // IGNORE_BACKEND: JS_IR_ES6 // FILE: test.kt diff --git a/compiler/testData/codegen/box/callableReference/equality/coercionToUnitWithDefaults.kt b/compiler/testData/codegen/box/callableReference/equality/coercionToUnitWithDefaults.kt index e77c2f0d3af..6ca06c22fc6 100644 --- a/compiler/testData/codegen/box/callableReference/equality/coercionToUnitWithDefaults.kt +++ b/compiler/testData/codegen/box/callableReference/equality/coercionToUnitWithDefaults.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: FAILS_IN_JS_IR // IGNORE_BACKEND: JS, JS_IR // IGNORE_BACKEND: JS_IR_ES6 // FILE: test.kt diff --git a/compiler/testData/codegen/box/callableReference/equality/coercionToUnitWithVararg.kt b/compiler/testData/codegen/box/callableReference/equality/coercionToUnitWithVararg.kt index fc6bcd8321c..a9f35b5e620 100644 --- a/compiler/testData/codegen/box/callableReference/equality/coercionToUnitWithVararg.kt +++ b/compiler/testData/codegen/box/callableReference/equality/coercionToUnitWithVararg.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: FAILS_IN_JS_IR // IGNORE_BACKEND: JS, JS_IR // IGNORE_BACKEND: JS_IR_ES6 // FILE: test.kt diff --git a/compiler/testData/codegen/box/callableReference/equality/noCoercionToUnitIfFunctionAlreadyReturnsUnit.kt b/compiler/testData/codegen/box/callableReference/equality/noCoercionToUnitIfFunctionAlreadyReturnsUnit.kt index 2c97d31838f..a0978ab9dec 100644 --- a/compiler/testData/codegen/box/callableReference/equality/noCoercionToUnitIfFunctionAlreadyReturnsUnit.kt +++ b/compiler/testData/codegen/box/callableReference/equality/noCoercionToUnitIfFunctionAlreadyReturnsUnit.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: FAILS_IN_JS_IR // IGNORE_BACKEND: JS, JS_IR // IGNORE_BACKEND: JS_IR_ES6 // FILE: test.kt diff --git a/compiler/testData/codegen/box/callableReference/equality/simpleEquality.kt b/compiler/testData/codegen/box/callableReference/equality/simpleEquality.kt index 651d7839719..30ec5d1010e 100644 --- a/compiler/testData/codegen/box/callableReference/equality/simpleEquality.kt +++ b/compiler/testData/codegen/box/callableReference/equality/simpleEquality.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: FAILS_IN_JS_IR // IGNORE_BACKEND: JS, JS_IR // IGNORE_BACKEND: JS_IR_ES6 // FILE: test.kt diff --git a/compiler/testData/codegen/box/callableReference/equality/suspendConversion.kt b/compiler/testData/codegen/box/callableReference/equality/suspendConversion.kt index 0c521662b72..450769ff0b4 100644 --- a/compiler/testData/codegen/box/callableReference/equality/suspendConversion.kt +++ b/compiler/testData/codegen/box/callableReference/equality/suspendConversion.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // !LANGUAGE: +SuspendConversion // FILE: suspendCovnersion.kt diff --git a/compiler/testData/codegen/box/callableReference/equality/varargWithDefaults.kt b/compiler/testData/codegen/box/callableReference/equality/varargWithDefaults.kt index f371dd3af54..090b86e21b1 100644 --- a/compiler/testData/codegen/box/callableReference/equality/varargWithDefaults.kt +++ b/compiler/testData/codegen/box/callableReference/equality/varargWithDefaults.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: FAILS_IN_JS_IR // IGNORE_BACKEND: JS, JS_IR // IGNORE_BACKEND: JS_IR_ES6 // FILE: test.kt diff --git a/compiler/testData/codegen/box/callableReference/function/argumentTypes.kt b/compiler/testData/codegen/box/callableReference/function/argumentTypes.kt index 6046e7f015a..da45ae5b723 100644 --- a/compiler/testData/codegen/box/callableReference/function/argumentTypes.kt +++ b/compiler/testData/codegen/box/callableReference/function/argumentTypes.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: CALLABLE_REFERENCES_FAIL inline fun id(x: TT): TT = x inline fun String.extId(x: TT): String = this diff --git a/compiler/testData/codegen/box/callableReference/function/classMemberFromCompanionObject.kt b/compiler/testData/codegen/box/callableReference/function/classMemberFromCompanionObject.kt index c7be9b7a68f..87b5846d460 100644 --- a/compiler/testData/codegen/box/callableReference/function/classMemberFromCompanionObject.kt +++ b/compiler/testData/codegen/box/callableReference/function/classMemberFromCompanionObject.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: CLASS_REFERENCES class C { fun OK() {} diff --git a/compiler/testData/codegen/box/callableReference/function/genericCallableReferenceArguments.kt b/compiler/testData/codegen/box/callableReference/function/genericCallableReferenceArguments.kt index 15d54d48337..d8480bfb0b7 100644 --- a/compiler/testData/codegen/box/callableReference/function/genericCallableReferenceArguments.kt +++ b/compiler/testData/codegen/box/callableReference/function/genericCallableReferenceArguments.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // IGNORE_BACKEND: JS, NATIVE diff --git a/compiler/testData/codegen/box/callableReference/function/genericCallableReferencesWithNullableTypes.kt b/compiler/testData/codegen/box/callableReference/function/genericCallableReferencesWithNullableTypes.kt index 59896ac53f8..39f85994f71 100644 --- a/compiler/testData/codegen/box/callableReference/function/genericCallableReferencesWithNullableTypes.kt +++ b/compiler/testData/codegen/box/callableReference/function/genericCallableReferencesWithNullableTypes.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: CLASS_REFERENCES // WITH_RUNTIME // WITH_REFLECT diff --git a/compiler/testData/codegen/box/callableReference/function/genericCallableReferencesWithOverload.kt b/compiler/testData/codegen/box/callableReference/function/genericCallableReferencesWithOverload.kt index 874f41cac3c..bbb37f5218b 100644 --- a/compiler/testData/codegen/box/callableReference/function/genericCallableReferencesWithOverload.kt +++ b/compiler/testData/codegen/box/callableReference/function/genericCallableReferencesWithOverload.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: CLASS_REFERENCES // WITH_RUNTIME // WITH_REFLECT diff --git a/compiler/testData/codegen/box/callableReference/function/genericWithDependentType.kt b/compiler/testData/codegen/box/callableReference/function/genericWithDependentType.kt index 50ce78afc24..1302dd5e72f 100644 --- a/compiler/testData/codegen/box/callableReference/function/genericWithDependentType.kt +++ b/compiler/testData/codegen/box/callableReference/function/genericWithDependentType.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/callableReference/function/getArityViaFunctionImpl.kt b/compiler/testData/codegen/box/callableReference/function/getArityViaFunctionImpl.kt index b6af1ac7c75..29fdec2405d 100644 --- a/compiler/testData/codegen/box/callableReference/function/getArityViaFunctionImpl.kt +++ b/compiler/testData/codegen/box/callableReference/function/getArityViaFunctionImpl.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/callableReference/function/innerClassConstructorWithTwoReceivers.kt b/compiler/testData/codegen/box/callableReference/function/innerClassConstructorWithTwoReceivers.kt index 35fa6ffc598..1726532fc58 100644 --- a/compiler/testData/codegen/box/callableReference/function/innerClassConstructorWithTwoReceivers.kt +++ b/compiler/testData/codegen/box/callableReference/function/innerClassConstructorWithTwoReceivers.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS abstract class A { inner class InnerInA { fun returnOk() = "OK" diff --git a/compiler/testData/codegen/box/callableReference/function/kt21787.kt b/compiler/testData/codegen/box/callableReference/function/kt21787.kt index 5f8e82ca648..5fbd1988e8c 100644 --- a/compiler/testData/codegen/box/callableReference/function/kt21787.kt +++ b/compiler/testData/codegen/box/callableReference/function/kt21787.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME class Container { diff --git a/compiler/testData/codegen/box/callableReference/function/local/equalsHashCode.kt b/compiler/testData/codegen/box/callableReference/function/local/equalsHashCode.kt index 2265a7637ca..ae10e2e0c0e 100644 --- a/compiler/testData/codegen/box/callableReference/function/local/equalsHashCode.kt +++ b/compiler/testData/codegen/box/callableReference/function/local/equalsHashCode.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: JS, JS_IR // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/callableReference/function/local/localFunctionName.kt b/compiler/testData/codegen/box/callableReference/function/local/localFunctionName.kt index 361ba4c3ce3..eed6c774d65 100644 --- a/compiler/testData/codegen/box/callableReference/function/local/localFunctionName.kt +++ b/compiler/testData/codegen/box/callableReference/function/local/localFunctionName.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS fun box(): String { fun OK() {} diff --git a/compiler/testData/codegen/box/callableReference/function/overloadedFunVsVal.kt b/compiler/testData/codegen/box/callableReference/function/overloadedFunVsVal.kt index 760f13cd4ab..7c9dbdc6e7c 100644 --- a/compiler/testData/codegen/box/callableReference/function/overloadedFunVsVal.kt +++ b/compiler/testData/codegen/box/callableReference/function/overloadedFunVsVal.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/callableReference/function/referenceToCompanionMember.kt b/compiler/testData/codegen/box/callableReference/function/referenceToCompanionMember.kt index 1dc47d1a240..77854546b0a 100644 --- a/compiler/testData/codegen/box/callableReference/function/referenceToCompanionMember.kt +++ b/compiler/testData/codegen/box/callableReference/function/referenceToCompanionMember.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS // WITH_RUNTIME // IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/callableReference/function/sortListOfStrings.kt b/compiler/testData/codegen/box/callableReference/function/sortListOfStrings.kt index b26a4e942d1..59c30191889 100644 --- a/compiler/testData/codegen/box/callableReference/function/sortListOfStrings.kt +++ b/compiler/testData/codegen/box/callableReference/function/sortListOfStrings.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME // SKIP_DCE_DRIVEN diff --git a/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelUnitManyArgs.kt b/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelUnitManyArgs.kt index a154316a52b..d9ed15320e6 100644 --- a/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelUnitManyArgs.kt +++ b/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelUnitManyArgs.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BIG_ARITY // IGNORE_BACKEND: NATIVE var result = "Fail" diff --git a/compiler/testData/codegen/box/callableReference/genericConstructorReference.kt b/compiler/testData/codegen/box/callableReference/genericConstructorReference.kt index 4fec1e7cd07..982b28b4c68 100644 --- a/compiler/testData/codegen/box/callableReference/genericConstructorReference.kt +++ b/compiler/testData/codegen/box/callableReference/genericConstructorReference.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS // IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND_FIR: JVM_IR diff --git a/compiler/testData/codegen/box/callableReference/property/accessViaSubclass.kt b/compiler/testData/codegen/box/callableReference/property/accessViaSubclass.kt index eb2a0728db2..0e36ed8a8d9 100644 --- a/compiler/testData/codegen/box/callableReference/property/accessViaSubclass.kt +++ b/compiler/testData/codegen/box/callableReference/property/accessViaSubclass.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES abstract class Base { val result = "OK" } diff --git a/compiler/testData/codegen/box/callableReference/property/delegated.kt b/compiler/testData/codegen/box/callableReference/property/delegated.kt index 00b880be84e..3eca56876f6 100644 --- a/compiler/testData/codegen/box/callableReference/property/delegated.kt +++ b/compiler/testData/codegen/box/callableReference/property/delegated.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES import kotlin.reflect.KProperty val four: Int by NumberDecrypter diff --git a/compiler/testData/codegen/box/callableReference/property/delegatedMutable.kt b/compiler/testData/codegen/box/callableReference/property/delegatedMutable.kt index 3bc30b3c17d..07c0e5902be 100644 --- a/compiler/testData/codegen/box/callableReference/property/delegatedMutable.kt +++ b/compiler/testData/codegen/box/callableReference/property/delegatedMutable.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES import kotlin.reflect.KProperty var result: String by Delegate diff --git a/compiler/testData/codegen/box/callableReference/property/enumNameOrdinal.kt b/compiler/testData/codegen/box/callableReference/property/enumNameOrdinal.kt index 10ccfbdee1e..19e9b4d607e 100644 --- a/compiler/testData/codegen/box/callableReference/property/enumNameOrdinal.kt +++ b/compiler/testData/codegen/box/callableReference/property/enumNameOrdinal.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES enum class E { I } diff --git a/compiler/testData/codegen/box/callableReference/property/extensionToArray.kt b/compiler/testData/codegen/box/callableReference/property/extensionToArray.kt index 455b69ae0cf..457cc7de547 100644 --- a/compiler/testData/codegen/box/callableReference/property/extensionToArray.kt +++ b/compiler/testData/codegen/box/callableReference/property/extensionToArray.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES val Array.firstElement: String get() = get(0) fun box(): String { diff --git a/compiler/testData/codegen/box/callableReference/property/genericProperty.kt b/compiler/testData/codegen/box/callableReference/property/genericProperty.kt index 63de5fccffe..b0d76b7c397 100644 --- a/compiler/testData/codegen/box/callableReference/property/genericProperty.kt +++ b/compiler/testData/codegen/box/callableReference/property/genericProperty.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // IGNORE_BACKEND: NATIVE //For KT-6020 import kotlin.reflect.KProperty1 diff --git a/compiler/testData/codegen/box/callableReference/property/inEnum.kt b/compiler/testData/codegen/box/callableReference/property/inEnum.kt index 6e1a4f95efa..f6c4a9e0b88 100644 --- a/compiler/testData/codegen/box/callableReference/property/inEnum.kt +++ b/compiler/testData/codegen/box/callableReference/property/inEnum.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES import kotlin.reflect.KProperty1 diff --git a/compiler/testData/codegen/box/callableReference/property/inReceiverOfAnother.kt b/compiler/testData/codegen/box/callableReference/property/inReceiverOfAnother.kt index da300db3a28..28c8514afb1 100644 --- a/compiler/testData/codegen/box/callableReference/property/inReceiverOfAnother.kt +++ b/compiler/testData/codegen/box/callableReference/property/inReceiverOfAnother.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES var x = "OK" class C(init: () -> String) { diff --git a/compiler/testData/codegen/box/callableReference/property/invokePropertyReference.kt b/compiler/testData/codegen/box/callableReference/property/invokePropertyReference.kt index 617732ae7f0..9d2aa3a56a9 100644 --- a/compiler/testData/codegen/box/callableReference/property/invokePropertyReference.kt +++ b/compiler/testData/codegen/box/callableReference/property/invokePropertyReference.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES var state = "" var topLevel: Int diff --git a/compiler/testData/codegen/box/callableReference/property/javaBeanConvention.kt b/compiler/testData/codegen/box/callableReference/property/javaBeanConvention.kt index 0030d8026c3..38bd1e3be89 100644 --- a/compiler/testData/codegen/box/callableReference/property/javaBeanConvention.kt +++ b/compiler/testData/codegen/box/callableReference/property/javaBeanConvention.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // Name of the getter should be 'getaBcde' according to JavaBean conventions var aBcde: Int = 239 diff --git a/compiler/testData/codegen/box/callableReference/property/kClassInstanceIsInitializedFirst.kt b/compiler/testData/codegen/box/callableReference/property/kClassInstanceIsInitializedFirst.kt index 5ce636926d5..c1111cc124f 100644 --- a/compiler/testData/codegen/box/callableReference/property/kClassInstanceIsInitializedFirst.kt +++ b/compiler/testData/codegen/box/callableReference/property/kClassInstanceIsInitializedFirst.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES import kotlin.reflect.KProperty1 class A { diff --git a/compiler/testData/codegen/box/callableReference/property/kt12044.kt b/compiler/testData/codegen/box/callableReference/property/kt12044.kt index ea43b14b545..52b0746aba6 100644 --- a/compiler/testData/codegen/box/callableReference/property/kt12044.kt +++ b/compiler/testData/codegen/box/callableReference/property/kt12044.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // KT-12044 Assertion "Rewrite at slice LEXICAL_SCOPE" for 'if' with property references fun box(): String { diff --git a/compiler/testData/codegen/box/callableReference/property/kt12982_protectedPropertyReference.kt b/compiler/testData/codegen/box/callableReference/property/kt12982_protectedPropertyReference.kt index 7cabd9c6d65..fe528d1d04a 100644 --- a/compiler/testData/codegen/box/callableReference/property/kt12982_protectedPropertyReference.kt +++ b/compiler/testData/codegen/box/callableReference/property/kt12982_protectedPropertyReference.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES class Foo { protected var x = 0 diff --git a/compiler/testData/codegen/box/callableReference/property/kt14330.kt b/compiler/testData/codegen/box/callableReference/property/kt14330.kt index 43969a5fd1a..0b620b02ae9 100644 --- a/compiler/testData/codegen/box/callableReference/property/kt14330.kt +++ b/compiler/testData/codegen/box/callableReference/property/kt14330.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES data class Foo(var bar: Int?) fun box(): String { diff --git a/compiler/testData/codegen/box/callableReference/property/kt14330_2.kt b/compiler/testData/codegen/box/callableReference/property/kt14330_2.kt index d0acfccb0bd..9d363274aa6 100644 --- a/compiler/testData/codegen/box/callableReference/property/kt14330_2.kt +++ b/compiler/testData/codegen/box/callableReference/property/kt14330_2.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES var recivier : Any? = "fail" var value2 : Any? = "fail2" diff --git a/compiler/testData/codegen/box/callableReference/property/kt15447.kt b/compiler/testData/codegen/box/callableReference/property/kt15447.kt index d1d9a817df9..2185c258155 100644 --- a/compiler/testData/codegen/box/callableReference/property/kt15447.kt +++ b/compiler/testData/codegen/box/callableReference/property/kt15447.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES //WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/callableReference/property/kt6870_privatePropertyReference.kt b/compiler/testData/codegen/box/callableReference/property/kt6870_privatePropertyReference.kt index 50d2a1d8413..1e140b8e929 100644 --- a/compiler/testData/codegen/box/callableReference/property/kt6870_privatePropertyReference.kt +++ b/compiler/testData/codegen/box/callableReference/property/kt6870_privatePropertyReference.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/callableReference/property/listOfStringsMapLength.kt b/compiler/testData/codegen/box/callableReference/property/listOfStringsMapLength.kt index a3e3522f66d..d520921eb76 100644 --- a/compiler/testData/codegen/box/callableReference/property/listOfStringsMapLength.kt +++ b/compiler/testData/codegen/box/callableReference/property/listOfStringsMapLength.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/callableReference/property/localClassVar.kt b/compiler/testData/codegen/box/callableReference/property/localClassVar.kt index fd45085df67..e7c0cf06ccc 100644 --- a/compiler/testData/codegen/box/callableReference/property/localClassVar.kt +++ b/compiler/testData/codegen/box/callableReference/property/localClassVar.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES fun box(): String { class Local { var result = "Fail" diff --git a/compiler/testData/codegen/box/callableReference/property/overriddenInSubclass.kt b/compiler/testData/codegen/box/callableReference/property/overriddenInSubclass.kt index d892efcba29..fc636768a96 100644 --- a/compiler/testData/codegen/box/callableReference/property/overriddenInSubclass.kt +++ b/compiler/testData/codegen/box/callableReference/property/overriddenInSubclass.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES open class Base { open val foo = "Base" } diff --git a/compiler/testData/codegen/box/callableReference/property/privateSetOuterClass.kt b/compiler/testData/codegen/box/callableReference/property/privateSetOuterClass.kt index 632b3d49dc5..e43704b4c4d 100644 --- a/compiler/testData/codegen/box/callableReference/property/privateSetOuterClass.kt +++ b/compiler/testData/codegen/box/callableReference/property/privateSetOuterClass.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES class A { var value: String = "fail1" private set diff --git a/compiler/testData/codegen/box/callableReference/property/privateSetterInsideClass.kt b/compiler/testData/codegen/box/callableReference/property/privateSetterInsideClass.kt index 8674d12a3a8..ac74136d45d 100644 --- a/compiler/testData/codegen/box/callableReference/property/privateSetterInsideClass.kt +++ b/compiler/testData/codegen/box/callableReference/property/privateSetterInsideClass.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES import kotlin.reflect.KMutableProperty class Bar(name: String) { diff --git a/compiler/testData/codegen/box/callableReference/property/privateSetterOutsideClass.kt b/compiler/testData/codegen/box/callableReference/property/privateSetterOutsideClass.kt index b4318589531..d9dbdf71ca3 100644 --- a/compiler/testData/codegen/box/callableReference/property/privateSetterOutsideClass.kt +++ b/compiler/testData/codegen/box/callableReference/property/privateSetterOutsideClass.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // IGNORE_BACKEND_FIR: JVM_IR // See KT-12337 Reference to property with invisible setter should not be a KMutableProperty diff --git a/compiler/testData/codegen/box/callableReference/property/receiverEvaluatedOnce.kt b/compiler/testData/codegen/box/callableReference/property/receiverEvaluatedOnce.kt index 3b58ed7b9a5..16a7fb64ad1 100644 --- a/compiler/testData/codegen/box/callableReference/property/receiverEvaluatedOnce.kt +++ b/compiler/testData/codegen/box/callableReference/property/receiverEvaluatedOnce.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // WITH_REFLECT import kotlin.reflect.KProperty0 diff --git a/compiler/testData/codegen/box/callableReference/property/simpleExtension.kt b/compiler/testData/codegen/box/callableReference/property/simpleExtension.kt index 28d7199fe8d..090f3f65234 100644 --- a/compiler/testData/codegen/box/callableReference/property/simpleExtension.kt +++ b/compiler/testData/codegen/box/callableReference/property/simpleExtension.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES val String.id: String get() = this diff --git a/compiler/testData/codegen/box/callableReference/property/simpleMember.kt b/compiler/testData/codegen/box/callableReference/property/simpleMember.kt index 39bf36a0707..4daa2966d63 100644 --- a/compiler/testData/codegen/box/callableReference/property/simpleMember.kt +++ b/compiler/testData/codegen/box/callableReference/property/simpleMember.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES class A(val x: Int) fun box(): String { diff --git a/compiler/testData/codegen/box/callableReference/property/simpleMutableExtension.kt b/compiler/testData/codegen/box/callableReference/property/simpleMutableExtension.kt index e69cbbe72fc..d6ef602311e 100644 --- a/compiler/testData/codegen/box/callableReference/property/simpleMutableExtension.kt +++ b/compiler/testData/codegen/box/callableReference/property/simpleMutableExtension.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES var storage = 0 var Int.foo: Int diff --git a/compiler/testData/codegen/box/callableReference/property/simpleMutableMember.kt b/compiler/testData/codegen/box/callableReference/property/simpleMutableMember.kt index f7d815af3fc..56c397515f9 100644 --- a/compiler/testData/codegen/box/callableReference/property/simpleMutableMember.kt +++ b/compiler/testData/codegen/box/callableReference/property/simpleMutableMember.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES data class Box(var value: String) fun box(): String { diff --git a/compiler/testData/codegen/box/callableReference/property/simpleMutableTopLevel.kt b/compiler/testData/codegen/box/callableReference/property/simpleMutableTopLevel.kt index 46abcebe5f9..cf0738b84e6 100644 --- a/compiler/testData/codegen/box/callableReference/property/simpleMutableTopLevel.kt +++ b/compiler/testData/codegen/box/callableReference/property/simpleMutableTopLevel.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES data class Box(val value: String) var pr = Box("first") diff --git a/compiler/testData/codegen/box/callableReference/property/simpleTopLevel.kt b/compiler/testData/codegen/box/callableReference/property/simpleTopLevel.kt index 818327da26f..05f9b3dfe56 100644 --- a/compiler/testData/codegen/box/callableReference/property/simpleTopLevel.kt +++ b/compiler/testData/codegen/box/callableReference/property/simpleTopLevel.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES data class Box(val value: String) val foo = Box("lol") diff --git a/compiler/testData/codegen/box/casts/as.kt b/compiler/testData/codegen/box/casts/as.kt index 19fa4490ef8..023a4591720 100644 --- a/compiler/testData/codegen/box/casts/as.kt +++ b/compiler/testData/codegen/box/casts/as.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/casts/asForConstants.kt b/compiler/testData/codegen/box/casts/asForConstants.kt index d0b6d7ed513..cfc14ff8967 100644 --- a/compiler/testData/codegen/box/casts/asForConstants.kt +++ b/compiler/testData/codegen/box/casts/asForConstants.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/casts/asSafe.kt b/compiler/testData/codegen/box/casts/asSafe.kt index 347508a6413..5bd206ffb73 100644 --- a/compiler/testData/codegen/box/casts/asSafe.kt +++ b/compiler/testData/codegen/box/casts/asSafe.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/casts/asWithGeneric.kt b/compiler/testData/codegen/box/casts/asWithGeneric.kt index 70c08016e79..9c190dde419 100644 --- a/compiler/testData/codegen/box/casts/asWithGeneric.kt +++ b/compiler/testData/codegen/box/casts/asWithGeneric.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/casts/castGenericNull.kt b/compiler/testData/codegen/box/casts/castGenericNull.kt index 42628250375..5a4c902f50e 100644 --- a/compiler/testData/codegen/box/casts/castGenericNull.kt +++ b/compiler/testData/codegen/box/casts/castGenericNull.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun castToString(t: T) { t as String } diff --git a/compiler/testData/codegen/box/casts/dontCreateInconsistentTypeDuringStarProjectionSubstitution.kt b/compiler/testData/codegen/box/casts/dontCreateInconsistentTypeDuringStarProjectionSubstitution.kt index 09a5934ae03..ea126baa467 100644 --- a/compiler/testData/codegen/box/casts/dontCreateInconsistentTypeDuringStarProjectionSubstitution.kt +++ b/compiler/testData/codegen/box/casts/dontCreateInconsistentTypeDuringStarProjectionSubstitution.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS interface I interface Foo diff --git a/compiler/testData/codegen/box/casts/functions/asFunKBig.kt b/compiler/testData/codegen/box/casts/functions/asFunKBig.kt index 0c170a05a5d..c50687dcc41 100644 --- a/compiler/testData/codegen/box/casts/functions/asFunKBig.kt +++ b/compiler/testData/codegen/box/casts/functions/asFunKBig.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: KOTLIN_TEST_LIB // 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/casts/functions/asFunKSmall.kt b/compiler/testData/codegen/box/casts/functions/asFunKSmall.kt index e486a8ae99d..86d295d53ab 100644 --- a/compiler/testData/codegen/box/casts/functions/asFunKSmall.kt +++ b/compiler/testData/codegen/box/casts/functions/asFunKSmall.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/casts/functions/isFunKBig.kt b/compiler/testData/codegen/box/casts/functions/isFunKBig.kt index 821e78fb38c..846b72e8662 100644 --- a/compiler/testData/codegen/box/casts/functions/isFunKBig.kt +++ b/compiler/testData/codegen/box/casts/functions/isFunKBig.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/casts/functions/isFunKSmall.kt b/compiler/testData/codegen/box/casts/functions/isFunKSmall.kt index f98f1fafe96..fc84d3032f0 100644 --- a/compiler/testData/codegen/box/casts/functions/isFunKSmall.kt +++ b/compiler/testData/codegen/box/casts/functions/isFunKSmall.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/casts/functions/reifiedAsFunKBig.kt b/compiler/testData/codegen/box/casts/functions/reifiedAsFunKBig.kt index d780181d747..e50cef777f5 100644 --- a/compiler/testData/codegen/box/casts/functions/reifiedAsFunKBig.kt +++ b/compiler/testData/codegen/box/casts/functions/reifiedAsFunKBig.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: KOTLIN_TEST_LIB // 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/casts/functions/reifiedAsFunKSmall.kt b/compiler/testData/codegen/box/casts/functions/reifiedAsFunKSmall.kt index 89dc5f7c0ed..ab7e6b240ad 100644 --- a/compiler/testData/codegen/box/casts/functions/reifiedAsFunKSmall.kt +++ b/compiler/testData/codegen/box/casts/functions/reifiedAsFunKSmall.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/casts/functions/reifiedIsFunKBig.kt b/compiler/testData/codegen/box/casts/functions/reifiedIsFunKBig.kt index f91b9746982..5fc842a73cb 100644 --- a/compiler/testData/codegen/box/casts/functions/reifiedIsFunKBig.kt +++ b/compiler/testData/codegen/box/casts/functions/reifiedIsFunKBig.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/casts/functions/reifiedIsFunKSmall.kt b/compiler/testData/codegen/box/casts/functions/reifiedIsFunKSmall.kt index 9225f9021c2..b1674ce5b31 100644 --- a/compiler/testData/codegen/box/casts/functions/reifiedIsFunKSmall.kt +++ b/compiler/testData/codegen/box/casts/functions/reifiedIsFunKSmall.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/casts/functions/reifiedSafeAsFunKBig.kt b/compiler/testData/codegen/box/casts/functions/reifiedSafeAsFunKBig.kt index 1482af6ee7b..0c1ad9e402f 100644 --- a/compiler/testData/codegen/box/casts/functions/reifiedSafeAsFunKBig.kt +++ b/compiler/testData/codegen/box/casts/functions/reifiedSafeAsFunKBig.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/casts/functions/reifiedSafeAsFunKSmall.kt b/compiler/testData/codegen/box/casts/functions/reifiedSafeAsFunKSmall.kt index b0874e965ae..9fe23b7927f 100644 --- a/compiler/testData/codegen/box/casts/functions/reifiedSafeAsFunKSmall.kt +++ b/compiler/testData/codegen/box/casts/functions/reifiedSafeAsFunKSmall.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/casts/functions/safeAsFunKBig.kt b/compiler/testData/codegen/box/casts/functions/safeAsFunKBig.kt index cefdb4f447c..5bbdb40574c 100644 --- a/compiler/testData/codegen/box/casts/functions/safeAsFunKBig.kt +++ b/compiler/testData/codegen/box/casts/functions/safeAsFunKBig.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/casts/functions/safeAsFunKSmall.kt b/compiler/testData/codegen/box/casts/functions/safeAsFunKSmall.kt index 930d9af33bc..310a4eb79eb 100644 --- a/compiler/testData/codegen/box/casts/functions/safeAsFunKSmall.kt +++ b/compiler/testData/codegen/box/casts/functions/safeAsFunKSmall.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/casts/is.kt b/compiler/testData/codegen/box/casts/is.kt index bd2adca9192..1efbb4bbe49 100644 --- a/compiler/testData/codegen/box/casts/is.kt +++ b/compiler/testData/codegen/box/casts/is.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/casts/mutableCollections/asWithMutable.kt b/compiler/testData/codegen/box/casts/mutableCollections/asWithMutable.kt index ba84efefebb..ce8633c0da6 100644 --- a/compiler/testData/codegen/box/casts/mutableCollections/asWithMutable.kt +++ b/compiler/testData/codegen/box/casts/mutableCollections/asWithMutable.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/casts/mutableCollections/isWithMutable.kt b/compiler/testData/codegen/box/casts/mutableCollections/isWithMutable.kt index f3f382bde0c..b2ffe6cbfcc 100644 --- a/compiler/testData/codegen/box/casts/mutableCollections/isWithMutable.kt +++ b/compiler/testData/codegen/box/casts/mutableCollections/isWithMutable.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/casts/mutableCollections/reifiedAsWithMutable.kt b/compiler/testData/codegen/box/casts/mutableCollections/reifiedAsWithMutable.kt index 44ec882a87b..c62cfa89120 100644 --- a/compiler/testData/codegen/box/casts/mutableCollections/reifiedAsWithMutable.kt +++ b/compiler/testData/codegen/box/casts/mutableCollections/reifiedAsWithMutable.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/casts/mutableCollections/reifiedIsWithMutable.kt b/compiler/testData/codegen/box/casts/mutableCollections/reifiedIsWithMutable.kt index 812b77298a0..ff3224b7b73 100644 --- a/compiler/testData/codegen/box/casts/mutableCollections/reifiedIsWithMutable.kt +++ b/compiler/testData/codegen/box/casts/mutableCollections/reifiedIsWithMutable.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/casts/mutableCollections/reifiedSafeAsWithMutable.kt b/compiler/testData/codegen/box/casts/mutableCollections/reifiedSafeAsWithMutable.kt index 25120f2f2a7..c1351775085 100644 --- a/compiler/testData/codegen/box/casts/mutableCollections/reifiedSafeAsWithMutable.kt +++ b/compiler/testData/codegen/box/casts/mutableCollections/reifiedSafeAsWithMutable.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/casts/mutableCollections/safeAsWithMutable.kt b/compiler/testData/codegen/box/casts/mutableCollections/safeAsWithMutable.kt index 327fa12b5b7..9b8170dcdc2 100644 --- a/compiler/testData/codegen/box/casts/mutableCollections/safeAsWithMutable.kt +++ b/compiler/testData/codegen/box/casts/mutableCollections/safeAsWithMutable.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/casts/mutableCollections/weirdMutableCasts.kt b/compiler/testData/codegen/box/casts/mutableCollections/weirdMutableCasts.kt index 4957754b1c8..15d8efe623e 100644 --- a/compiler/testData/codegen/box/casts/mutableCollections/weirdMutableCasts.kt +++ b/compiler/testData/codegen/box/casts/mutableCollections/weirdMutableCasts.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/casts/notIs.kt b/compiler/testData/codegen/box/casts/notIs.kt index 4bb0b2c25f3..2cf76b135f3 100644 --- a/compiler/testData/codegen/box/casts/notIs.kt +++ b/compiler/testData/codegen/box/casts/notIs.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/casts/nullableSafeCastToTypeParameterWithInterfaceUpperBound.kt b/compiler/testData/codegen/box/casts/nullableSafeCastToTypeParameterWithInterfaceUpperBound.kt index 0b0c484db3a..d9a884d2ef5 100644 --- a/compiler/testData/codegen/box/casts/nullableSafeCastToTypeParameterWithInterfaceUpperBound.kt +++ b/compiler/testData/codegen/box/casts/nullableSafeCastToTypeParameterWithInterfaceUpperBound.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: NULLABLE_BOX_FUNCTION interface I fun foo(a: Any?): E? = a as? E diff --git a/compiler/testData/codegen/box/casts/unitAsAny.kt b/compiler/testData/codegen/box/casts/unitAsAny.kt index 74326356cba..7f378b05701 100644 --- a/compiler/testData/codegen/box/casts/unitAsAny.kt +++ b/compiler/testData/codegen/box/casts/unitAsAny.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES fun println(s: String) { } diff --git a/compiler/testData/codegen/box/casts/unitAsSafeAny.kt b/compiler/testData/codegen/box/casts/unitAsSafeAny.kt index 81d5a495425..c79dc43079e 100644 --- a/compiler/testData/codegen/box/casts/unitAsSafeAny.kt +++ b/compiler/testData/codegen/box/casts/unitAsSafeAny.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES fun println(s: String) { } diff --git a/compiler/testData/codegen/box/casts/unitNullableCast.kt b/compiler/testData/codegen/box/casts/unitNullableCast.kt index c0f644e88a5..6e8f51599d5 100644 --- a/compiler/testData/codegen/box/casts/unitNullableCast.kt +++ b/compiler/testData/codegen/box/casts/unitNullableCast.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES fun foo() {} fun bar(): Int? = foo() as? Int diff --git a/compiler/testData/codegen/box/classes/classObjectAsStaticInitializer.kt b/compiler/testData/codegen/box/classes/classObjectAsStaticInitializer.kt index aa92c3f0cf4..54f0e60653a 100644 --- a/compiler/testData/codegen/box/classes/classObjectAsStaticInitializer.kt +++ b/compiler/testData/codegen/box/classes/classObjectAsStaticInitializer.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: NATIVE var global = "A" diff --git a/compiler/testData/codegen/box/classes/comanionObjectFieldVsClassField.kt b/compiler/testData/codegen/box/classes/comanionObjectFieldVsClassField.kt index b5249099f80..19b57d05af4 100644 --- a/compiler/testData/codegen/box/classes/comanionObjectFieldVsClassField.kt +++ b/compiler/testData/codegen/box/classes/comanionObjectFieldVsClassField.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_TEXT // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/classes/delegationJava.kt b/compiler/testData/codegen/box/classes/delegationJava.kt index d845d9a3c09..dcd079649b1 100644 --- a/compiler/testData/codegen/box/classes/delegationJava.kt +++ b/compiler/testData/codegen/box/classes/delegationJava.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // Enable for JS when it supports Java class library. diff --git a/compiler/testData/codegen/box/classes/inheritSetAndHashSet.kt b/compiler/testData/codegen/box/classes/inheritSetAndHashSet.kt index fe221964d56..d9aef2015c8 100644 --- a/compiler/testData/codegen/box/classes/inheritSetAndHashSet.kt +++ b/compiler/testData/codegen/box/classes/inheritSetAndHashSet.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: NATIVE diff --git a/compiler/testData/codegen/box/classes/initializerBlockDImpl.kt b/compiler/testData/codegen/box/classes/initializerBlockDImpl.kt index 60f1d9f24c1..c88fb09fd15 100644 --- a/compiler/testData/codegen/box/classes/initializerBlockDImpl.kt +++ b/compiler/testData/codegen/box/classes/initializerBlockDImpl.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME class World() { diff --git a/compiler/testData/codegen/box/classes/innerClass.kt b/compiler/testData/codegen/box/classes/innerClass.kt index ef36d624b1c..ba19311d923 100644 --- a/compiler/testData/codegen/box/classes/innerClass.kt +++ b/compiler/testData/codegen/box/classes/innerClass.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME class Outer(val foo: StringBuilder) { inner class Inner() { diff --git a/compiler/testData/codegen/box/classes/kt1120.kt b/compiler/testData/codegen/box/classes/kt1120.kt index ed26a55ef84..0e92015a158 100644 --- a/compiler/testData/codegen/box/classes/kt1120.kt +++ b/compiler/testData/codegen/box/classes/kt1120.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // Won't ever work with JS backend. diff --git a/compiler/testData/codegen/box/classes/kt1535.kt b/compiler/testData/codegen/box/classes/kt1535.kt index de7816b4482..99ed03d710a 100644 --- a/compiler/testData/codegen/box/classes/kt1535.kt +++ b/compiler/testData/codegen/box/classes/kt1535.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IMPLEMENTING_FUNCTION_INTERFACE // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: Enable when JS backend supports Java class library, since FunctionX are required for interoperation diff --git a/compiler/testData/codegen/box/classes/kt1918.kt b/compiler/testData/codegen/box/classes/kt1918.kt index 1da1471e2d3..7cb847544c6 100644 --- a/compiler/testData/codegen/box/classes/kt1918.kt +++ b/compiler/testData/codegen/box/classes/kt1918.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES class Bar { } diff --git a/compiler/testData/codegen/box/classes/kt1980.kt b/compiler/testData/codegen/box/classes/kt1980.kt index e237e4c8b9b..11a6a417507 100644 --- a/compiler/testData/codegen/box/classes/kt1980.kt +++ b/compiler/testData/codegen/box/classes/kt1980.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME public inline fun Int.times(body : () -> Unit) { var count = this; diff --git a/compiler/testData/codegen/box/classes/kt2391.kt b/compiler/testData/codegen/box/classes/kt2391.kt index f3826f81a2f..ae1f70bd643 100644 --- a/compiler/testData/codegen/box/classes/kt2391.kt +++ b/compiler/testData/codegen/box/classes/kt2391.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME public interface LoggerAware { public val logger: StringBuilder diff --git a/compiler/testData/codegen/box/classes/kt2417.kt b/compiler/testData/codegen/box/classes/kt2417.kt index c72d216109e..d820f8e9e22 100644 --- a/compiler/testData/codegen/box/classes/kt2417.kt +++ b/compiler/testData/codegen/box/classes/kt2417.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME fun box() : String{ val set = HashSet() diff --git a/compiler/testData/codegen/box/classes/kt343.kt b/compiler/testData/codegen/box/classes/kt343.kt index 9bf3a3f0957..ff7e6d329c0 100644 --- a/compiler/testData/codegen/box/classes/kt343.kt +++ b/compiler/testData/codegen/box/classes/kt343.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME fun launch(f : () -> Unit) { f() diff --git a/compiler/testData/codegen/box/classes/kt496.kt b/compiler/testData/codegen/box/classes/kt496.kt index e4c31c86a27..5f84aa5d027 100644 --- a/compiler/testData/codegen/box/classes/kt496.kt +++ b/compiler/testData/codegen/box/classes/kt496.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun test1() : Boolean { try { return true diff --git a/compiler/testData/codegen/box/classes/kt500.kt b/compiler/testData/codegen/box/classes/kt500.kt index b9c66165f9e..da877cec2ef 100644 --- a/compiler/testData/codegen/box/classes/kt500.kt +++ b/compiler/testData/codegen/box/classes/kt500.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED var GUEST_USER_ID = 3 val USER_ID = try { diff --git a/compiler/testData/codegen/box/classes/kt501.kt b/compiler/testData/codegen/box/classes/kt501.kt index 6705704587e..59a9cec5094 100644 --- a/compiler/testData/codegen/box/classes/kt501.kt +++ b/compiler/testData/codegen/box/classes/kt501.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED class Reluctant() { init { throw Exception("I'm not coming out") diff --git a/compiler/testData/codegen/box/classes/kt508.kt b/compiler/testData/codegen/box/classes/kt508.kt index 2f985304586..80fe2e32cfd 100644 --- a/compiler/testData/codegen/box/classes/kt508.kt +++ b/compiler/testData/codegen/box/classes/kt508.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME operator fun MutableMap.set(key : K, value : V) = put(key, value) diff --git a/compiler/testData/codegen/box/classes/kt707.kt b/compiler/testData/codegen/box/classes/kt707.kt index 1fece6f1b82..e4c7b98c8ae 100644 --- a/compiler/testData/codegen/box/classes/kt707.kt +++ b/compiler/testData/codegen/box/classes/kt707.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: Enable for JS when it supports Java class library. diff --git a/compiler/testData/codegen/box/classes/kt8011.kt b/compiler/testData/codegen/box/classes/kt8011.kt index d9fa7470852..cd301d550f2 100644 --- a/compiler/testData/codegen/box/classes/kt8011.kt +++ b/compiler/testData/codegen/box/classes/kt8011.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/classes/overloadBinaryOperator.kt b/compiler/testData/codegen/box/classes/overloadBinaryOperator.kt index 91ec4e1c307..756c19fa3e0 100644 --- a/compiler/testData/codegen/box/classes/overloadBinaryOperator.kt +++ b/compiler/testData/codegen/box/classes/overloadBinaryOperator.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME class ArrayWrapper() { val contents = ArrayList() diff --git a/compiler/testData/codegen/box/classes/overloadPlusAssign.kt b/compiler/testData/codegen/box/classes/overloadPlusAssign.kt index 7ed86497c80..22b433345cf 100644 --- a/compiler/testData/codegen/box/classes/overloadPlusAssign.kt +++ b/compiler/testData/codegen/box/classes/overloadPlusAssign.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME class ArrayWrapper() { val contents = ArrayList() diff --git a/compiler/testData/codegen/box/classes/overloadPlusAssignReturn.kt b/compiler/testData/codegen/box/classes/overloadPlusAssignReturn.kt index 6d0747891b8..c63c226cfe3 100644 --- a/compiler/testData/codegen/box/classes/overloadPlusAssignReturn.kt +++ b/compiler/testData/codegen/box/classes/overloadPlusAssignReturn.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME class ArrayWrapper() { val contents = ArrayList() diff --git a/compiler/testData/codegen/box/classes/overloadPlusToPlusAssign.kt b/compiler/testData/codegen/box/classes/overloadPlusToPlusAssign.kt index 6d0747891b8..c63c226cfe3 100644 --- a/compiler/testData/codegen/box/classes/overloadPlusToPlusAssign.kt +++ b/compiler/testData/codegen/box/classes/overloadPlusToPlusAssign.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME class ArrayWrapper() { val contents = ArrayList() diff --git a/compiler/testData/codegen/box/classes/overloadUnaryOperator.kt b/compiler/testData/codegen/box/classes/overloadUnaryOperator.kt index f1751827e0c..235ab4d83cd 100644 --- a/compiler/testData/codegen/box/classes/overloadUnaryOperator.kt +++ b/compiler/testData/codegen/box/classes/overloadUnaryOperator.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME class ArrayWrapper() { diff --git a/compiler/testData/codegen/box/classes/quotedClassName.kt b/compiler/testData/codegen/box/classes/quotedClassName.kt index c2b5ba5bdbe..ca81c973a2e 100644 --- a/compiler/testData/codegen/box/classes/quotedClassName.kt +++ b/compiler/testData/codegen/box/classes/quotedClassName.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedAsImplicitThisInBoundReference.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedAsImplicitThisInBoundReference.kt index cf797c460ad..b6ad12e5cc9 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedAsImplicitThisInBoundReference.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedAsImplicitThisInBoundReference.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES abstract class Base(val fn: () -> String) class Outer { diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInPrimaryConstructorDefaultParameter.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInPrimaryConstructorDefaultParameter.kt index ceae8c6a0cb..c78f8b82d28 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInPrimaryConstructorDefaultParameter.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInPrimaryConstructorDefaultParameter.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: FAILS_IN_JS_IR // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInSecondaryConstructorDefaultParameter.kt b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInSecondaryConstructorDefaultParameter.kt index 4baec6284e1..693125e9969 100644 --- a/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInSecondaryConstructorDefaultParameter.kt +++ b/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInSecondaryConstructorDefaultParameter.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: FAILS_IN_JS_IR // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/closures/capturedVarsOptimization/kt17588.kt b/compiler/testData/codegen/box/closures/capturedVarsOptimization/kt17588.kt index d0c14281668..855183ba152 100644 --- a/compiler/testData/codegen/box/closures/capturedVarsOptimization/kt17588.kt +++ b/compiler/testData/codegen/box/closures/capturedVarsOptimization/kt17588.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED //WITH_RUNTIME class Test { diff --git a/compiler/testData/codegen/box/closures/capturedVarsOptimization/withCoroutines.kt b/compiler/testData/codegen/box/closures/capturedVarsOptimization/withCoroutines.kt index b7057738b5c..4a6150b2030 100644 --- a/compiler/testData/codegen/box/closures/capturedVarsOptimization/withCoroutines.kt +++ b/compiler/testData/codegen/box/closures/capturedVarsOptimization/withCoroutines.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/closures/capturedVarsOptimization/withCoroutinesNoStdLib.kt b/compiler/testData/codegen/box/closures/capturedVarsOptimization/withCoroutinesNoStdLib.kt index 6d672ff1edc..c64f4d1f374 100644 --- a/compiler/testData/codegen/box/closures/capturedVarsOptimization/withCoroutinesNoStdLib.kt +++ b/compiler/testData/codegen/box/closures/capturedVarsOptimization/withCoroutinesNoStdLib.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES // WITH_RUNTIME // WITH_COROUTINES // COMMON_COROUTINES_TEST diff --git a/compiler/testData/codegen/box/closures/closureInsideClosure/propertyAndFunctionNameClash.kt b/compiler/testData/codegen/box/closures/closureInsideClosure/propertyAndFunctionNameClash.kt index 9287967d5ea..ed99663c597 100644 --- a/compiler/testData/codegen/box/closures/closureInsideClosure/propertyAndFunctionNameClash.kt +++ b/compiler/testData/codegen/box/closures/closureInsideClosure/propertyAndFunctionNameClash.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME package d diff --git a/compiler/testData/codegen/box/closures/closureOnTopLevel1.kt b/compiler/testData/codegen/box/closures/closureOnTopLevel1.kt index 3e33c801342..7c4d0ec14c6 100644 --- a/compiler/testData/codegen/box/closures/closureOnTopLevel1.kt +++ b/compiler/testData/codegen/box/closures/closureOnTopLevel1.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IMPLEMENTING_FUNCTION_INTERFACE // 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/closures/closureOnTopLevel2.kt b/compiler/testData/codegen/box/closures/closureOnTopLevel2.kt index 391a3ff2b58..9d7209bce04 100644 --- a/compiler/testData/codegen/box/closures/closureOnTopLevel2.kt +++ b/compiler/testData/codegen/box/closures/closureOnTopLevel2.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IMPLEMENTING_FUNCTION_INTERFACE // 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/collections/inSetWithSmartCast.kt b/compiler/testData/codegen/box/collections/inSetWithSmartCast.kt index e5a490931a5..054207b10bb 100644 --- a/compiler/testData/codegen/box/collections/inSetWithSmartCast.kt +++ b/compiler/testData/codegen/box/collections/inSetWithSmartCast.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/collections/kt41123.kt b/compiler/testData/codegen/box/collections/kt41123.kt index e09d4b71100..c4e0a6921c1 100644 --- a/compiler/testData/codegen/box/collections/kt41123.kt +++ b/compiler/testData/codegen/box/collections/kt41123.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND_FIR: JVM_IR diff --git a/compiler/testData/codegen/box/constants/comparisonTrue.kt b/compiler/testData/codegen/box/constants/comparisonTrue.kt index eb1d02c5c20..98c6ce4ba27 100644 --- a/compiler/testData/codegen/box/constants/comparisonTrue.kt +++ b/compiler/testData/codegen/box/constants/comparisonTrue.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME fun foo(): Array { diff --git a/compiler/testData/codegen/box/constants/divisionByZero.kt b/compiler/testData/codegen/box/constants/divisionByZero.kt index 661141bfffd..49d733d2758 100644 --- a/compiler/testData/codegen/box/constants/divisionByZero.kt +++ b/compiler/testData/codegen/box/constants/divisionByZero.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/constants/float.kt b/compiler/testData/codegen/box/constants/float.kt index 8084120c4ce..3a32563f3e3 100644 --- a/compiler/testData/codegen/box/constants/float.kt +++ b/compiler/testData/codegen/box/constants/float.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_MATH // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/constants/kt9532.kt b/compiler/testData/codegen/box/constants/kt9532.kt index 92ea89584ab..bf4eabfed44 100644 --- a/compiler/testData/codegen/box/constants/kt9532.kt +++ b/compiler/testData/codegen/box/constants/kt9532.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: MINOR: CONST_EQUIVALENCE // !LANGUAGE: -NoConstantValueAttributeForNonConstVals // TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: NATIVE diff --git a/compiler/testData/codegen/box/constants/kt9532_lv10.kt b/compiler/testData/codegen/box/constants/kt9532_lv10.kt index 3f6b9867702..f8dc433ca64 100644 --- a/compiler/testData/codegen/box/constants/kt9532_lv10.kt +++ b/compiler/testData/codegen/box/constants/kt9532_lv10.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !LANGUAGE: -InlineConstVals // IGNORE_BACKEND: JS_IR, NATIVE // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/constants/numberLiteralCoercionToInferredType.kt b/compiler/testData/codegen/box/constants/numberLiteralCoercionToInferredType.kt index e2567c9b26f..441f1c908e5 100644 --- a/compiler/testData/codegen/box/constants/numberLiteralCoercionToInferredType.kt +++ b/compiler/testData/codegen/box/constants/numberLiteralCoercionToInferredType.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: FAILS_IN_JS_IR // IGNORE_BACKEND: JS, JS_IR, NATIVE // IGNORE_BACKEND: JS_IR_ES6 // IGNORE_BACKEND_FIR: JVM_IR diff --git a/compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/breakFromOuter.kt b/compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/breakFromOuter.kt index 7566e7c14a9..e609ee7c318 100644 --- a/compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/breakFromOuter.kt +++ b/compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/breakFromOuter.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun box(): String { OUTER@while (true) { var x = "" diff --git a/compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/popSizes.kt b/compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/popSizes.kt index 8c736e5952b..f12aa92b421 100644 --- a/compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/popSizes.kt +++ b/compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/popSizes.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun foo(x: Long, y: Int, z: Double, s: String) {} fun box(): String { diff --git a/compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/tryFinally1.kt b/compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/tryFinally1.kt index b918861535a..0de59561701 100644 --- a/compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/tryFinally1.kt +++ b/compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/tryFinally1.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun box(): String { var x = "OK" while (true) { diff --git a/compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/tryFinally2.kt b/compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/tryFinally2.kt index 147362a181c..ad57f658fc3 100644 --- a/compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/tryFinally2.kt +++ b/compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/tryFinally2.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun box(): String { var r = "" for (i in 1..1) { diff --git a/compiler/testData/codegen/box/controlStructures/breakInFinally.kt b/compiler/testData/codegen/box/controlStructures/breakInFinally.kt index d761ee60360..14422270688 100644 --- a/compiler/testData/codegen/box/controlStructures/breakInFinally.kt +++ b/compiler/testData/codegen/box/controlStructures/breakInFinally.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun box(): String { while (true) { try { diff --git a/compiler/testData/codegen/box/controlStructures/continueInExpr.kt b/compiler/testData/codegen/box/controlStructures/continueInExpr.kt index 58fa98c913d..059691e02de 100644 --- a/compiler/testData/codegen/box/controlStructures/continueInExpr.kt +++ b/compiler/testData/codegen/box/controlStructures/continueInExpr.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: WASM_NULL_CAST // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/continueInFor.kt b/compiler/testData/codegen/box/controlStructures/continueInFor.kt index 7ca3279026b..e886cd79ea2 100644 --- a/compiler/testData/codegen/box/controlStructures/continueInFor.kt +++ b/compiler/testData/codegen/box/controlStructures/continueInFor.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME fun for_int_range(): Int { var c = 0 diff --git a/compiler/testData/codegen/box/controlStructures/continueToLabelInFor.kt b/compiler/testData/codegen/box/controlStructures/continueToLabelInFor.kt index 0942c5725e0..e9cc56aaf13 100644 --- a/compiler/testData/codegen/box/controlStructures/continueToLabelInFor.kt +++ b/compiler/testData/codegen/box/controlStructures/continueToLabelInFor.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME fun for_int_range(): Int { var c = 0 diff --git a/compiler/testData/codegen/box/controlStructures/finallyOnEmptyReturn.kt b/compiler/testData/codegen/box/controlStructures/finallyOnEmptyReturn.kt index db1262a9d7a..e17e68c432b 100644 --- a/compiler/testData/codegen/box/controlStructures/finallyOnEmptyReturn.kt +++ b/compiler/testData/codegen/box/controlStructures/finallyOnEmptyReturn.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED var result = "Fail" fun foo() { diff --git a/compiler/testData/codegen/box/controlStructures/forArrayList.kt b/compiler/testData/codegen/box/controlStructures/forArrayList.kt index 7986a79f79e..2cdd964d72c 100644 --- a/compiler/testData/codegen/box/controlStructures/forArrayList.kt +++ b/compiler/testData/codegen/box/controlStructures/forArrayList.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val alist = arrayListOf(1, 2, 3) // : j.u.ArrayList diff --git a/compiler/testData/codegen/box/controlStructures/forArrayListMultiDecl.kt b/compiler/testData/codegen/box/controlStructures/forArrayListMultiDecl.kt index 350b71d9a59..6aed25ada8e 100644 --- a/compiler/testData/codegen/box/controlStructures/forArrayListMultiDecl.kt +++ b/compiler/testData/codegen/box/controlStructures/forArrayListMultiDecl.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInArray/forInDelegatedPropertyUpdatedInLoopBody.kt b/compiler/testData/codegen/box/controlStructures/forInArray/forInDelegatedPropertyUpdatedInLoopBody.kt index 4807578c574..223826692e2 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArray/forInDelegatedPropertyUpdatedInLoopBody.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArray/forInDelegatedPropertyUpdatedInLoopBody.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES class Del(var x: T) { operator fun getValue(thisRef: Any?, kProp: Any) = x diff --git a/compiler/testData/codegen/box/controlStructures/forInArray/forInInlineClassArrayWithUpcast.kt b/compiler/testData/codegen/box/controlStructures/forInArray/forInInlineClassArrayWithUpcast.kt index 0bafd81fccb..cdd89d67c33 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArray/forInInlineClassArrayWithUpcast.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArray/forInInlineClassArrayWithUpcast.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNSIGNED_ARRAYS // !LANGUAGE: +InlineClasses // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayOfObjectArrayWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayOfObjectArrayWithIndex.kt index 201c8693017..b895e3a1a43 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayOfObjectArrayWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayOfObjectArrayWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayOfPrimArrayWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayOfPrimArrayWithIndex.kt index c47698a44c5..b6aabf32568 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayOfPrimArrayWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayOfPrimArrayWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexBreakAndContinue.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexBreakAndContinue.kt index 1eadf7ee1c2..c22ee205791 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexBreakAndContinue.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexBreakAndContinue.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexContinuesAsUnmodified.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexContinuesAsUnmodified.kt index fba4bb5c509..5ee7e1a345d 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexContinuesAsUnmodified.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexContinuesAsUnmodified.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // KJS_WITH_FULL_RUNTIME // See https://youtrack.jetbrains.com/issue/KT-22424 // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexNoElementVar.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexNoElementVar.kt index 27ebd2d5101..03c6d926822 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexNoElementVar.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexNoElementVar.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexNoIndexOrElementVar.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexNoIndexOrElementVar.kt index 3b4321724de..ca7fb53b3f3 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexNoIndexOrElementVar.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexNoIndexOrElementVar.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexNoIndexVar.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexNoIndexVar.kt index 004a37109c3..a6bf664852a 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexNoIndexVar.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexNoIndexVar.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexNotDestructured.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexNotDestructured.kt index f319dae335a..5fa7d93ab51 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexNotDestructured.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexNotDestructured.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexWithExplicitlyTypedIndexVariable.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexWithExplicitlyTypedIndexVariable.kt index 7335bf456e0..5694a9fb16b 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexWithExplicitlyTypedIndexVariable.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexWithExplicitlyTypedIndexVariable.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInByteArrayWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInByteArrayWithIndex.kt index 87d6b9dcb76..daf87d95cd8 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInByteArrayWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInByteArrayWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInByteArrayWithIndexWithSmartCast.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInByteArrayWithIndexWithSmartCast.kt index 9bd16e039fa..06f0acb89d2 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInByteArrayWithIndexWithSmartCast.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInByteArrayWithIndexWithSmartCast.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInEmptyArrayWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInEmptyArrayWithIndex.kt index 61e44061ca8..e26668b047b 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInEmptyArrayWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInEmptyArrayWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayOfIntsWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayOfIntsWithIndex.kt index a4d8e55b3bd..5c6286b5eef 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayOfIntsWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayOfIntsWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayOfIntsWithIndexWithSmartCast.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayOfIntsWithIndexWithSmartCast.kt index 5ed671d0e57..e6bb67b0e8c 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayOfIntsWithIndexWithSmartCast.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayOfIntsWithIndexWithSmartCast.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayWithIndex.kt index ffaf44d3ab2..d8294b3d486 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInIntArrayWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInIntArrayWithIndex.kt index cf0effa84ee..553af33ee5e 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInIntArrayWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInIntArrayWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInIntArrayWithIndexWithSmartCast.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInIntArrayWithIndexWithSmartCast.kt index aebc5a2a99c..fd9c3851d04 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInIntArrayWithIndexWithSmartCast.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInIntArrayWithIndexWithSmartCast.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInObjectArrayWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInObjectArrayWithIndex.kt index e72e16840a3..b6483b4ec72 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInObjectArrayWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInObjectArrayWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInShortArrayWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInShortArrayWithIndex.kt index 19995aa89cf..05732881e0b 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInShortArrayWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInShortArrayWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInShortArrayWithIndexWithSmartCast.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInShortArrayWithIndexWithSmartCast.kt index 8e10ffcd0b6..687955e1b96 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInShortArrayWithIndexWithSmartCast.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInShortArrayWithIndexWithSmartCast.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInCharSequence.kt b/compiler/testData/codegen/box/controlStructures/forInCharSequence.kt index b812e816bd5..b9b43faae5a 100644 --- a/compiler/testData/codegen/box/controlStructures/forInCharSequence.kt +++ b/compiler/testData/codegen/box/controlStructures/forInCharSequence.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSeqWithIndexStops.kt b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSeqWithIndexStops.kt index e03ae88cff5..99d9f215305 100644 --- a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSeqWithIndexStops.kt +++ b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSeqWithIndexStops.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceTypeParameterWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceTypeParameterWithIndex.kt index bdd9bd933ae..6ab738aaf0f 100644 --- a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceTypeParameterWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceTypeParameterWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceWithIndex.kt index bd00dc12b86..17a000db604 100644 --- a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceWithIndexBreakAndContinue.kt b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceWithIndexBreakAndContinue.kt index d47402ffc6d..0ad50f31fd7 100644 --- a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceWithIndexBreakAndContinue.kt +++ b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceWithIndexBreakAndContinue.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceWithIndexCheckSideEffects.kt b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceWithIndexCheckSideEffects.kt index b708614dbb8..bd8ace2f2f4 100644 --- a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceWithIndexCheckSideEffects.kt +++ b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceWithIndexCheckSideEffects.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceWithIndexNoElementVarCheckSideEffects.kt b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceWithIndexNoElementVarCheckSideEffects.kt index f345d5d2511..dabfeaf9238 100644 --- a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceWithIndexNoElementVarCheckSideEffects.kt +++ b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceWithIndexNoElementVarCheckSideEffects.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceWithIndexNoIndexVarCheckSideEffects.kt b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceWithIndexNoIndexVarCheckSideEffects.kt index d0f9c59103a..b146139d95b 100644 --- a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceWithIndexNoIndexVarCheckSideEffects.kt +++ b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceWithIndexNoIndexVarCheckSideEffects.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndex.kt index 833686f56b9..4ddbcf33a3b 100644 --- a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexNoElementVar.kt b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexNoElementVar.kt index bba925f536a..bbf491b7fbb 100644 --- a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexNoElementVar.kt +++ b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexNoElementVar.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexNoIndexOrElementVar.kt b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexNoIndexOrElementVar.kt index ce450aaeaf5..64638c97403 100644 --- a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexNoIndexOrElementVar.kt +++ b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexNoIndexOrElementVar.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexNoIndexVar.kt b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexNoIndexVar.kt index 2eaeb1faf32..ace944d988f 100644 --- a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexNoIndexVar.kt +++ b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexNoIndexVar.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexNotDestructured.kt b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexNotDestructured.kt index 0d9bd7e3a61..1d35dbe112c 100644 --- a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexNotDestructured.kt +++ b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexNotDestructured.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexWithExplicitlyTypedIndexVariable.kt b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexWithExplicitlyTypedIndexVariable.kt index f2111a4e9b1..32e0d895bcf 100644 --- a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexWithExplicitlyTypedIndexVariable.kt +++ b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexWithExplicitlyTypedIndexVariable.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInEmptyListWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInEmptyListWithIndex.kt index 326076d5975..77a7b38f14f 100644 --- a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInEmptyListWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInEmptyListWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInIterableTypeParameterWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInIterableTypeParameterWithIndex.kt index 31d12160d4e..881be2d0775 100644 --- a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInIterableTypeParameterWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInIterableTypeParameterWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInIterableWithIndexCheckSideEffects.kt b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInIterableWithIndexCheckSideEffects.kt index 69d1de655a9..018dab97a42 100644 --- a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInIterableWithIndexCheckSideEffects.kt +++ b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInIterableWithIndexCheckSideEffects.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInIterableWithIndexNoElementVarCheckSideEffects.kt b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInIterableWithIndexNoElementVarCheckSideEffects.kt index 6ac0a7198a7..04561fd8662 100644 --- a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInIterableWithIndexNoElementVarCheckSideEffects.kt +++ b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInIterableWithIndexNoElementVarCheckSideEffects.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInIterableWithIndexNoIndexVarCheckSideEffects.kt b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInIterableWithIndexNoIndexVarCheckSideEffects.kt index cd53b7681d9..8bd0c3dbc4b 100644 --- a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInIterableWithIndexNoIndexVarCheckSideEffects.kt +++ b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInIterableWithIndexNoIndexVarCheckSideEffects.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndex.kt index d5be1ee42fe..48ccfae3560 100644 --- a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexBreakAndContinue.kt b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexBreakAndContinue.kt index 45ee9e7320c..2c7d59a3c0e 100644 --- a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexBreakAndContinue.kt +++ b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexBreakAndContinue.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexNoElementVar.kt b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexNoElementVar.kt index 3f54e053b7a..b5acef6f942 100644 --- a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexNoElementVar.kt +++ b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexNoElementVar.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexNoIndexVar.kt b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexNoIndexVar.kt index 915e255554f..f4439df9fd5 100644 --- a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexNoIndexVar.kt +++ b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexNoIndexVar.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexWithExplicitlyTypedIndexVariable.kt b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexWithExplicitlyTypedIndexVariable.kt index b3b7218f584..f30f42f34ef 100644 --- a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexWithExplicitlyTypedIndexVariable.kt +++ b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexWithExplicitlyTypedIndexVariable.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInEmptySequenceWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInEmptySequenceWithIndex.kt index 16647498f74..78f119e0595 100644 --- a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInEmptySequenceWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInEmptySequenceWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceTypeParameterWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceTypeParameterWithIndex.kt index c91171b9d5e..807fc6cd939 100644 --- a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceTypeParameterWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceTypeParameterWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndex.kt index 9931d613cf7..8f19c3c33ce 100644 --- a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexBreakAndContinue.kt b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexBreakAndContinue.kt index f988e99d085..cfb2eeb58f9 100644 --- a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexBreakAndContinue.kt +++ b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexBreakAndContinue.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexCheckSideEffects.kt b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexCheckSideEffects.kt index 86414b0c9e1..04f88861cdb 100644 --- a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexCheckSideEffects.kt +++ b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexCheckSideEffects.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexNoElementVar.kt b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexNoElementVar.kt index 6d1885e2e62..9b5bbdbbf84 100644 --- a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexNoElementVar.kt +++ b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexNoElementVar.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexNoElementVarCheckSideEffects.kt b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexNoElementVarCheckSideEffects.kt index efc54ca97f8..1924824cf04 100644 --- a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexNoElementVarCheckSideEffects.kt +++ b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexNoElementVarCheckSideEffects.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexNoIndexVar.kt b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexNoIndexVar.kt index b1a9925be6e..32cce8218ac 100644 --- a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexNoIndexVar.kt +++ b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexNoIndexVar.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexNoIndexVarCheckSideEffects.kt b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexNoIndexVarCheckSideEffects.kt index fa421a95a44..459023054b8 100644 --- a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexNoIndexVarCheckSideEffects.kt +++ b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexNoIndexVarCheckSideEffects.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexWithExplicitlyTypedIndexVariable.kt b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexWithExplicitlyTypedIndexVariable.kt index af41524043c..81218b8a7ff 100644 --- a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexWithExplicitlyTypedIndexVariable.kt +++ b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexWithExplicitlyTypedIndexVariable.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forLoopMemberExtensionNext.kt b/compiler/testData/codegen/box/controlStructures/forLoopMemberExtensionNext.kt index 2d1381c6c1e..d5e24713868 100644 --- a/compiler/testData/codegen/box/controlStructures/forLoopMemberExtensionNext.kt +++ b/compiler/testData/codegen/box/controlStructures/forLoopMemberExtensionNext.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/controlStructures/forUserType.kt b/compiler/testData/codegen/box/controlStructures/forUserType.kt index 66fa1536564..af462e7d040 100644 --- a/compiler/testData/codegen/box/controlStructures/forUserType.kt +++ b/compiler/testData/codegen/box/controlStructures/forUserType.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/controlStructures/kt14839.kt b/compiler/testData/codegen/box/controlStructures/kt14839.kt index c76925da31f..13aeb9ed9a0 100644 --- a/compiler/testData/codegen/box/controlStructures/kt14839.kt +++ b/compiler/testData/codegen/box/controlStructures/kt14839.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun box(): String { try { } catch (e: Exception) { diff --git a/compiler/testData/codegen/box/controlStructures/kt15726.kt b/compiler/testData/codegen/box/controlStructures/kt15726.kt index eb4e336f3e9..5dfe00d418e 100644 --- a/compiler/testData/codegen/box/controlStructures/kt15726.kt +++ b/compiler/testData/codegen/box/controlStructures/kt15726.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun nyCompiler() { try { diff --git a/compiler/testData/codegen/box/controlStructures/kt1688.kt b/compiler/testData/codegen/box/controlStructures/kt1688.kt index 0bbc232c5f1..e7a29fe9d9e 100644 --- a/compiler/testData/codegen/box/controlStructures/kt1688.kt +++ b/compiler/testData/codegen/box/controlStructures/kt1688.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun box(): String { var s = "" try { diff --git a/compiler/testData/codegen/box/controlStructures/kt2259.kt b/compiler/testData/codegen/box/controlStructures/kt2259.kt index f0d79145682..3db1e40f341 100644 --- a/compiler/testData/codegen/box/controlStructures/kt2259.kt +++ b/compiler/testData/codegen/box/controlStructures/kt2259.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun foo(args: Array) { try { } finally { diff --git a/compiler/testData/codegen/box/controlStructures/kt237.kt b/compiler/testData/codegen/box/controlStructures/kt237.kt index e780ebbef83..24c56cb49b9 100644 --- a/compiler/testData/codegen/box/controlStructures/kt237.kt +++ b/compiler/testData/codegen/box/controlStructures/kt237.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/controlStructures/kt2577.kt b/compiler/testData/codegen/box/controlStructures/kt2577.kt index c11ba235411..1ad1d07c1a2 100644 --- a/compiler/testData/codegen/box/controlStructures/kt2577.kt +++ b/compiler/testData/codegen/box/controlStructures/kt2577.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun foo(): Int { try { } finally { diff --git a/compiler/testData/codegen/box/controlStructures/kt2597.kt b/compiler/testData/codegen/box/controlStructures/kt2597.kt index af5af144a86..94da5db09b4 100644 --- a/compiler/testData/codegen/box/controlStructures/kt2597.kt +++ b/compiler/testData/codegen/box/controlStructures/kt2597.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES fun box(): String { var i = 0 { diff --git a/compiler/testData/codegen/box/controlStructures/kt513.kt b/compiler/testData/codegen/box/controlStructures/kt513.kt index 249fddb7741..862941b5bb7 100644 --- a/compiler/testData/codegen/box/controlStructures/kt513.kt +++ b/compiler/testData/codegen/box/controlStructures/kt513.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/kt628.kt b/compiler/testData/codegen/box/controlStructures/kt628.kt index 234e336e5a7..f266b8780dc 100644 --- a/compiler/testData/codegen/box/controlStructures/kt628.kt +++ b/compiler/testData/codegen/box/controlStructures/kt628.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED class A() { fun action() = "OK" diff --git a/compiler/testData/codegen/box/controlStructures/kt769.kt b/compiler/testData/codegen/box/controlStructures/kt769.kt index 7aff4972de7..7998bb49956 100644 --- a/compiler/testData/codegen/box/controlStructures/kt769.kt +++ b/compiler/testData/codegen/box/controlStructures/kt769.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/controlStructures/kt8148.kt b/compiler/testData/codegen/box/controlStructures/kt8148.kt index e644af5aeb6..b01ba7c21a1 100644 --- a/compiler/testData/codegen/box/controlStructures/kt8148.kt +++ b/compiler/testData/codegen/box/controlStructures/kt8148.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED class A(var value: String) fun box(): String { diff --git a/compiler/testData/codegen/box/controlStructures/kt8148_break.kt b/compiler/testData/codegen/box/controlStructures/kt8148_break.kt index 348c38a7fde..2bb42f5c4d8 100644 --- a/compiler/testData/codegen/box/controlStructures/kt8148_break.kt +++ b/compiler/testData/codegen/box/controlStructures/kt8148_break.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED class A(var value: String) fun box(): String { diff --git a/compiler/testData/codegen/box/controlStructures/kt8148_continue.kt b/compiler/testData/codegen/box/controlStructures/kt8148_continue.kt index dab64b8462b..340200e580a 100644 --- a/compiler/testData/codegen/box/controlStructures/kt8148_continue.kt +++ b/compiler/testData/codegen/box/controlStructures/kt8148_continue.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED class A(var value: String) fun box(): String { diff --git a/compiler/testData/codegen/box/controlStructures/kt910.kt b/compiler/testData/codegen/box/controlStructures/kt910.kt index ae207a80129..a7ac3b9c74d 100644 --- a/compiler/testData/codegen/box/controlStructures/kt910.kt +++ b/compiler/testData/codegen/box/controlStructures/kt910.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // KJS_WITH_FULL_RUNTIME fun foo() : Int = try { diff --git a/compiler/testData/codegen/box/controlStructures/returnsNothing/inlineMethod.kt b/compiler/testData/codegen/box/controlStructures/returnsNothing/inlineMethod.kt index 5ec5f8feff2..285109df88d 100644 --- a/compiler/testData/codegen/box/controlStructures/returnsNothing/inlineMethod.kt +++ b/compiler/testData/codegen/box/controlStructures/returnsNothing/inlineMethod.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED inline fun exit(): Nothing = null!! fun box(): String { diff --git a/compiler/testData/codegen/box/controlStructures/returnsNothing/tryCatch.kt b/compiler/testData/codegen/box/controlStructures/returnsNothing/tryCatch.kt index bc23f5cb748..d682fc17bcd 100644 --- a/compiler/testData/codegen/box/controlStructures/returnsNothing/tryCatch.kt +++ b/compiler/testData/codegen/box/controlStructures/returnsNothing/tryCatch.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun exit(): Nothing = null!! fun box(): String { diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchFinallyChain.kt b/compiler/testData/codegen/box/controlStructures/tryCatchFinallyChain.kt index b0ee1f314dc..f74f2b51303 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchFinallyChain.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchFinallyChain.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun box() : String { try { } finally { diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/catch.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/catch.kt index cb00faf1fe3..24846c6cc2a 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/catch.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/catch.kt @@ -1,2 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun box(): String = "O" + try { throw Exception("oops!") } catch (e: Exception) { "K" } \ No newline at end of file diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/complexChain.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/complexChain.kt index 36f2e84f29f..766a0473926 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/complexChain.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/complexChain.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun cleanup() {} inline fun concat(x: String, y: String): String = x + y diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/deadTryCatch.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/deadTryCatch.kt index 41a91a17e08..f5978182d1f 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/deadTryCatch.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/deadTryCatch.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED inline fun catchAll(x: String, block: () -> Unit): String { try { block() diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/differentTypes.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/differentTypes.kt index c845569a6ca..144549076b3 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/differentTypes.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/differentTypes.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // 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/controlStructures/tryCatchInExpressions/expectException.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/expectException.kt index 63bd4900c12..e3ffb8f1c91 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/expectException.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/expectException.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED public inline fun fails(block: () -> Unit): Throwable? { var thrown: Throwable? = null try { diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/inlineTryCatch.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/inlineTryCatch.kt index dd3a181348a..965dbc172a8 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/inlineTryCatch.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/inlineTryCatch.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED inline fun tryOrElse(f1: () -> T, f2: () -> T): T { try { return f1() diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/inlineTryExpr.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/inlineTryExpr.kt index 8205200452a..d1f5b4bace8 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/inlineTryExpr.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/inlineTryExpr.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED inline fun tryOrElse(f1: () -> T, f2: () -> T): T = try { f1() } catch (e: Exception) { f2() } diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/inlineTryFinally.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/inlineTryFinally.kt index eb488beb689..f23f45b3608 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/inlineTryFinally.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/inlineTryFinally.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED inline fun tryAndThen(f1: () -> Unit, f2: () -> Unit, f3: () -> T): T { try { f1() diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt17572.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt17572.kt index 368df7ae6f9..4e22044c94e 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt17572.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt17572.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun zap(s: String) = s inline fun tryZap(string: String, fn: (String) -> String) = diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt17572_2.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt17572_2.kt index ed417d9b8bc..d7da090cc7e 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt17572_2.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt17572_2.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun zap(s: String) = s inline fun tryZap(s1: String, s2: String, fn: (String, String) -> String) = diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt17572_2_ext.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt17572_2_ext.kt index 6f5cb1df234..d77b99719c6 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt17572_2_ext.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt17572_2_ext.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun zap(s: String) = s inline fun tryZap(s1: String, s2: String, fn: String.(String) -> String) = diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt17572_ext.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt17572_ext.kt index 8e9066f7cc7..356e6ffccb6 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt17572_ext.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt17572_ext.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun zap(s: String) = s inline fun tryZap(string: String, fn: String.() -> String) = diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt17572_nested.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt17572_nested.kt index 7d7467b0694..4393fdcb34a 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt17572_nested.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt17572_nested.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun zap(s: String) = s inline fun tryZap(string: String, fn: (String) -> String) = diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt17573_nested.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt17573_nested.kt index e241aec5239..05e722de2db 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt17573_nested.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt17573_nested.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun zap(s: String) = s inline fun tryZap1(string: String, fn: (String) -> String) = diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt9644try.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt9644try.kt index 63921992a06..b0d8a66022d 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt9644try.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/kt9644try.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED inline fun doCall(f: () -> Any) = f() fun test1() { diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/multipleCatchBlocks.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/multipleCatchBlocks.kt index 4d1bf16a733..c871e77a1d9 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/multipleCatchBlocks.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/multipleCatchBlocks.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED class Exception1(msg: String): Exception(msg) class Exception2(msg: String): Exception(msg) class Exception3(msg: String): Exception(msg) diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTry.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTry.kt index c60bde586a1..d8fd2b99ee5 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTry.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTry.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED inline fun test(s: () -> Int): Int = try { val i = s() diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/try.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/try.kt index 695e324988e..9a4ddea1cbc 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/try.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/try.kt @@ -1,2 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun box(): String = "O" + try { "K" } catch (e: Exception) { "oops!" } \ No newline at end of file diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryAfterTry.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryAfterTry.kt index 7d6dcc3d2a3..d968a945399 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryAfterTry.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryAfterTry.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun box(): String = "" + try { "O" } catch (e: Exception) { "1" } + diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryAndBreak.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryAndBreak.kt index a1f867b1c3d..24985ca938c 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryAndBreak.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryAndBreak.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun idiv(a: Int, b: Int): Int = if (b == 0) throw Exception("Division by zero") else a / b diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryAndContinue.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryAndContinue.kt index 120d463b00c..960dc8f5879 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryAndContinue.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryAndContinue.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun idiv(a: Int, b: Int): Int = if (b == 0) throw Exception("Division by zero") else a / b diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryInsideCatch.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryInsideCatch.kt index 09f9857b57c..658fbaf3207 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryInsideCatch.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryInsideCatch.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun box(): String = "O" + try { diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryInsideTry.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryInsideTry.kt index 3d1ccd9e7ae..026e4475760 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryInsideTry.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryInsideTry.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED class MyException(message: String): Exception(message) fun box(): String = diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/unmatchedInlineMarkers.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/unmatchedInlineMarkers.kt index 015b4137f65..4d102c1b537 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/unmatchedInlineMarkers.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/unmatchedInlineMarkers.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED inline fun catchAll(x: String, block: () -> Unit): String { try { block() diff --git a/compiler/testData/codegen/box/dataClasses/doubleParam.kt b/compiler/testData/codegen/box/dataClasses/doubleParam.kt index 77af1de2c5e..012b60ac256 100644 --- a/compiler/testData/codegen/box/dataClasses/doubleParam.kt +++ b/compiler/testData/codegen/box/dataClasses/doubleParam.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/dataClasses/floatParam.kt b/compiler/testData/codegen/box/dataClasses/floatParam.kt index 56dacc27817..a0de5fb5980 100644 --- a/compiler/testData/codegen/box/dataClasses/floatParam.kt +++ b/compiler/testData/codegen/box/dataClasses/floatParam.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/dataClasses/toString/arrayParams.kt b/compiler/testData/codegen/box/dataClasses/toString/arrayParams.kt index 7fb1889d5f5..e81b812e428 100644 --- a/compiler/testData/codegen/box/dataClasses/toString/arrayParams.kt +++ b/compiler/testData/codegen/box/dataClasses/toString/arrayParams.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/dataClasses/toString/unitComponent.kt b/compiler/testData/codegen/box/dataClasses/toString/unitComponent.kt index 72e5965b320..b3a699a9cba 100644 --- a/compiler/testData/codegen/box/dataClasses/toString/unitComponent.kt +++ b/compiler/testData/codegen/box/dataClasses/toString/unitComponent.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES data class A(val x: Unit) fun box(): String { diff --git a/compiler/testData/codegen/box/dataClasses/unitComponent.kt b/compiler/testData/codegen/box/dataClasses/unitComponent.kt index b70b461ab91..ad6967dcc9b 100644 --- a/compiler/testData/codegen/box/dataClasses/unitComponent.kt +++ b/compiler/testData/codegen/box/dataClasses/unitComponent.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES data class A(val x: Unit) fun box(): String { diff --git a/compiler/testData/codegen/box/defaultArguments/function/funInTraitChain.kt b/compiler/testData/codegen/box/defaultArguments/function/funInTraitChain.kt index 8933d6ec88d..2045c09a189 100644 --- a/compiler/testData/codegen/box/defaultArguments/function/funInTraitChain.kt +++ b/compiler/testData/codegen/box/defaultArguments/function/funInTraitChain.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BRIDGE_ISSUES interface Foo { fun foo(a: Double = 1.0): Double } diff --git a/compiler/testData/codegen/box/defaultArguments/recursiveDefaultArguments.kt b/compiler/testData/codegen/box/defaultArguments/recursiveDefaultArguments.kt index 7d4eb69d622..57f402d892e 100644 --- a/compiler/testData/codegen/box/defaultArguments/recursiveDefaultArguments.kt +++ b/compiler/testData/codegen/box/defaultArguments/recursiveDefaultArguments.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: JS @Suppress("RECURSION_IN_INLINE") inline fun test(p: String = test("OK")): String { diff --git a/compiler/testData/codegen/box/defaultArguments/useNextParamInLambda.kt b/compiler/testData/codegen/box/defaultArguments/useNextParamInLambda.kt index 5fc3e11515b..dcf5548b4bf 100644 --- a/compiler/testData/codegen/box/defaultArguments/useNextParamInLambda.kt +++ b/compiler/testData/codegen/box/defaultArguments/useNextParamInLambda.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JS, JS_IR, NATIVE // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/destructuringDeclInLambdaParam/stdlibUsages.kt b/compiler/testData/codegen/box/destructuringDeclInLambdaParam/stdlibUsages.kt index 9d6367910f3..e9bf83b229a 100644 --- a/compiler/testData/codegen/box/destructuringDeclInLambdaParam/stdlibUsages.kt +++ b/compiler/testData/codegen/box/destructuringDeclInLambdaParam/stdlibUsages.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/destructuringDeclInLambdaParam/withIndexed.kt b/compiler/testData/codegen/box/destructuringDeclInLambdaParam/withIndexed.kt index 364debd2004..8e1c092ae24 100644 --- a/compiler/testData/codegen/box/destructuringDeclInLambdaParam/withIndexed.kt +++ b/compiler/testData/codegen/box/destructuringDeclInLambdaParam/withIndexed.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME data class Station( diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgsOverridden.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgsOverridden.kt index 52bb89171ed..d12ee214bbb 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgsOverridden.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgsOverridden.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/diagnostics/functions/tailRecursion/functionWithNoTails.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/functionWithNoTails.kt index 4764c912924..d644b7946bd 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/functionWithNoTails.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/functionWithNoTails.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/diagnostics/functions/tailRecursion/functionWithNonTailRecursions.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/functionWithNonTailRecursions.kt index 5877c4bc4f5..bbd9599efa5 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/functionWithNonTailRecursions.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/functionWithNonTailRecursions.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/diagnostics/functions/tailRecursion/insideElvis.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/insideElvis.kt index 73ab3a7c9b1..a8edb975f2a 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/insideElvis.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/insideElvis.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/diagnostics/functions/tailRecursion/labeledThisReferences.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/labeledThisReferences.kt index 3fc39c28be0..aa473b7a699 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/labeledThisReferences.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/labeledThisReferences.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !DIAGNOSTICS: -UNUSED_PARAMETER // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/loops.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/loops.kt index 7968057d649..d20eb13a565 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/loops.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/loops.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/diagnostics/functions/tailRecursion/multilevelBlocks.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/multilevelBlocks.kt index 7defc35c901..98bc94c7b8c 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/multilevelBlocks.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/multilevelBlocks.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/diagnostics/functions/tailRecursion/realStringEscape.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realStringEscape.kt index 958549b3308..1227319496f 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realStringEscape.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realStringEscape.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // DONT_RUN_GENERATED_CODE: JS diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realStringRepeat.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realStringRepeat.kt index 9b58c22110c..582cae0626a 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realStringRepeat.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realStringRepeat.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // DONT_RUN_GENERATED_CODE: JS diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLambda.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLambda.kt index 8d6d3585449..5c34734c3ea 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLambda.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLambda.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !DIAGNOSTICS: -UNUSED_PARAMETER // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLocalFunction.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLocalFunction.kt index 7a5bd6fe5b0..a8abe36f076 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLocalFunction.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLocalFunction.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/diagnostics/functions/tailRecursion/returnIf.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnIf.kt index 21b9836eab7..fe722d7c762 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnIf.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnIf.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/diagnostics/functions/tailRecursion/returnInCatch.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInCatch.kt index f915fe058c4..d44861938a7 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInCatch.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInCatch.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/diagnostics/functions/tailRecursion/returnInFinally.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInFinally.kt index 475ff719519..21b8b3ee44b 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInFinally.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInFinally.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/diagnostics/functions/tailRecursion/returnInIfInFinally.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInIfInFinally.kt index 0cafe2465d8..b12ca20bb7a 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInIfInFinally.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInIfInFinally.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/diagnostics/functions/tailRecursion/returnInTry.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInTry.kt index 7174475aa89..4f47b07aaac 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInTry.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInTry.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/diagnostics/functions/tailRecursion/simpleBlock.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleBlock.kt index f50bb9b7218..05c45c2fd8d 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleBlock.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleBlock.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/diagnostics/functions/tailRecursion/simpleReturn.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleReturn.kt index fd920ee31a7..f4c53d720d0 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleReturn.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleReturn.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/diagnostics/functions/tailRecursion/simpleReturnWithElse.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleReturnWithElse.kt index 1656cf0b7a6..d2b1a61a49e 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleReturnWithElse.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleReturnWithElse.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/diagnostics/functions/tailRecursion/tailCallInBlockInParentheses.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailCallInBlockInParentheses.kt index 4655ecc7a61..93044f70066 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailCallInBlockInParentheses.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailCallInBlockInParentheses.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES // DONT_RUN_GENERATED_CODE: JS tailrec fun foo(x: Int) { diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailRecursionInFinally.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailRecursionInFinally.kt index 1d9debbc1d5..47399a43b4b 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailRecursionInFinally.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailRecursionInFinally.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/diagnostics/functions/tailRecursion/thisReferences.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/thisReferences.kt index 327098b345c..aec5d02a1d0 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/thisReferences.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/thisReferences.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/diagnostics/functions/tailRecursion/unitBlocks.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/unitBlocks.kt index 038d08fb3d5..51761d0a37a 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/unitBlocks.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/unitBlocks.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/diagnostics/functions/tailRecursion/whenWithCondition.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithCondition.kt index 9a833aa5f45..2d6806830fd 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithCondition.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithCondition.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/diagnostics/functions/tailRecursion/whenWithInRange.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithInRange.kt index 4c1a96c80dd..7a158ade975 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithInRange.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithInRange.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !DIAGNOSTICS: -UNUSED_PARAMETER // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithoutCondition.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithoutCondition.kt index 8d6ee4689e7..10546d7038f 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithoutCondition.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithoutCondition.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/elvis/genericElvisWithMoreSpecificLHS.kt b/compiler/testData/codegen/box/elvis/genericElvisWithMoreSpecificLHS.kt index 60521fe8bbf..e7815660613 100644 --- a/compiler/testData/codegen/box/elvis/genericElvisWithMoreSpecificLHS.kt +++ b/compiler/testData/codegen/box/elvis/genericElvisWithMoreSpecificLHS.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // !LANGUAGE: +NewInference // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/elvis/genericElvisWithNullLHS.kt b/compiler/testData/codegen/box/elvis/genericElvisWithNullLHS.kt index 17981e5031e..2dfe2804f39 100644 --- a/compiler/testData/codegen/box/elvis/genericElvisWithNullLHS.kt +++ b/compiler/testData/codegen/box/elvis/genericElvisWithNullLHS.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/enum/emptyEnumValuesValueOf.kt b/compiler/testData/codegen/box/enum/emptyEnumValuesValueOf.kt index 6cad0c98a04..b30305d3e52 100644 --- a/compiler/testData/codegen/box/enum/emptyEnumValuesValueOf.kt +++ b/compiler/testData/codegen/box/enum/emptyEnumValuesValueOf.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED enum class Empty fun box(): String { diff --git a/compiler/testData/codegen/box/enum/enumCompanionInit.kt b/compiler/testData/codegen/box/enum/enumCompanionInit.kt index 0f7a1078844..02ca4ad6315 100644 --- a/compiler/testData/codegen/box/enum/enumCompanionInit.kt +++ b/compiler/testData/codegen/box/enum/enumCompanionInit.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // IGNORE_BACKEND: NATIVE diff --git a/compiler/testData/codegen/box/enum/kt7257_boundReference1.kt b/compiler/testData/codegen/box/enum/kt7257_boundReference1.kt index 02297ec3f33..27df4dc34ee 100644 --- a/compiler/testData/codegen/box/enum/kt7257_boundReference1.kt +++ b/compiler/testData/codegen/box/enum/kt7257_boundReference1.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BINDING_RECEIVERS enum class X { B { val k = "K" diff --git a/compiler/testData/codegen/box/enum/kt7257_boundReference2.kt b/compiler/testData/codegen/box/enum/kt7257_boundReference2.kt index e34bc6403ba..0da0ab1c720 100644 --- a/compiler/testData/codegen/box/enum/kt7257_boundReference2.kt +++ b/compiler/testData/codegen/box/enum/kt7257_boundReference2.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES enum class X { B { diff --git a/compiler/testData/codegen/box/enum/kt7257_boundReferenceWithImplicitReceiver.kt b/compiler/testData/codegen/box/enum/kt7257_boundReferenceWithImplicitReceiver.kt index 50948f805ff..bc65a5fa1d3 100644 --- a/compiler/testData/codegen/box/enum/kt7257_boundReferenceWithImplicitReceiver.kt +++ b/compiler/testData/codegen/box/enum/kt7257_boundReferenceWithImplicitReceiver.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES enum class X { B { override val value = "OK" diff --git a/compiler/testData/codegen/box/enum/sortEnumEntries.kt b/compiler/testData/codegen/box/enum/sortEnumEntries.kt index e50f3b52f89..9ad0c0dc229 100644 --- a/compiler/testData/codegen/box/enum/sortEnumEntries.kt +++ b/compiler/testData/codegen/box/enum/sortEnumEntries.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/enum/valueof.kt b/compiler/testData/codegen/box/enum/valueof.kt index 89aeaa9cce6..2cfc7bd1639 100644 --- a/compiler/testData/codegen/box/enum/valueof.kt +++ b/compiler/testData/codegen/box/enum/valueof.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED enum class Color { RED, BLUE diff --git a/compiler/testData/codegen/box/exclExcl/genericNull.kt b/compiler/testData/codegen/box/exclExcl/genericNull.kt index 0d4f831dfb7..15282c401a1 100644 --- a/compiler/testData/codegen/box/exclExcl/genericNull.kt +++ b/compiler/testData/codegen/box/exclExcl/genericNull.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun foo(t: T) { t!! } diff --git a/compiler/testData/codegen/box/extensionFunctions/kt1953.kt b/compiler/testData/codegen/box/extensionFunctions/kt1953.kt index 4db9260f942..413ddfc7f8d 100644 --- a/compiler/testData/codegen/box/extensionFunctions/kt1953.kt +++ b/compiler/testData/codegen/box/extensionFunctions/kt1953.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME fun box(): String { val sb = StringBuilder() diff --git a/compiler/testData/codegen/box/extensionFunctions/kt1953_class.kt b/compiler/testData/codegen/box/extensionFunctions/kt1953_class.kt index 7d394cff6da..573e03b1c9e 100644 --- a/compiler/testData/codegen/box/extensionFunctions/kt1953_class.kt +++ b/compiler/testData/codegen/box/extensionFunctions/kt1953_class.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME class A { private val sb: StringBuilder = StringBuilder() diff --git a/compiler/testData/codegen/box/extensionFunctions/kt475.kt b/compiler/testData/codegen/box/extensionFunctions/kt475.kt index abb3684d429..9a1e05b3091 100644 --- a/compiler/testData/codegen/box/extensionFunctions/kt475.kt +++ b/compiler/testData/codegen/box/extensionFunctions/kt475.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME fun box() : String { diff --git a/compiler/testData/codegen/box/extensionFunctions/kt606.kt b/compiler/testData/codegen/box/extensionFunctions/kt606.kt index 51449d88e1f..866f1f6cc4d 100644 --- a/compiler/testData/codegen/box/extensionFunctions/kt606.kt +++ b/compiler/testData/codegen/box/extensionFunctions/kt606.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/extensionFunctions/kt865.kt b/compiler/testData/codegen/box/extensionFunctions/kt865.kt index dd741dcef83..41cb75f4180 100644 --- a/compiler/testData/codegen/box/extensionFunctions/kt865.kt +++ b/compiler/testData/codegen/box/extensionFunctions/kt865.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME class Template() { val collected = ArrayList() diff --git a/compiler/testData/codegen/box/extensionFunctions/simple.kt b/compiler/testData/codegen/box/extensionFunctions/simple.kt index b8274e66693..4ae79cd5630 100644 --- a/compiler/testData/codegen/box/extensionFunctions/simple.kt +++ b/compiler/testData/codegen/box/extensionFunctions/simple.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME fun StringBuilder.first() = this.get(0) diff --git a/compiler/testData/codegen/box/extensionFunctions/whenFail.kt b/compiler/testData/codegen/box/extensionFunctions/whenFail.kt index 59b92ef2b6a..ce763e026be 100644 --- a/compiler/testData/codegen/box/extensionFunctions/whenFail.kt +++ b/compiler/testData/codegen/box/extensionFunctions/whenFail.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // 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/fieldRename/delegates.kt b/compiler/testData/codegen/box/fieldRename/delegates.kt index 0a29a513400..66078db13d3 100644 --- a/compiler/testData/codegen/box/fieldRename/delegates.kt +++ b/compiler/testData/codegen/box/fieldRename/delegates.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES import kotlin.reflect.KProperty public open class TestDelegate(private val initializer: () -> T) { diff --git a/compiler/testData/codegen/box/funInterface/basicFunInterfaceConversionClash.kt b/compiler/testData/codegen/box/funInterface/basicFunInterfaceConversionClash.kt index ea1368517af..f2560070c3c 100644 --- a/compiler/testData/codegen/box/funInterface/basicFunInterfaceConversionClash.kt +++ b/compiler/testData/codegen/box/funInterface/basicFunInterfaceConversionClash.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SAM_CONVERSIONS // !LANGUAGE: +NewInference +FunctionalInterfaceConversion +SamConversionPerArgument +SamConversionForKotlinFunctions // FILE: lib.kt diff --git a/compiler/testData/codegen/box/funInterface/castFromAny.kt b/compiler/testData/codegen/box/funInterface/castFromAny.kt index 51db56520e0..6f81cc1d07f 100644 --- a/compiler/testData/codegen/box/funInterface/castFromAny.kt +++ b/compiler/testData/codegen/box/funInterface/castFromAny.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // !LANGUAGE: +NewInference +FunctionalInterfaceConversion +SamConversionPerArgument +SamConversionForKotlinFunctions diff --git a/compiler/testData/codegen/box/funInterface/equality/functionReferencesBound.kt b/compiler/testData/codegen/box/funInterface/equality/functionReferencesBound.kt index 22ef4dfe0f8..8dc0feafdbf 100644 --- a/compiler/testData/codegen/box/funInterface/equality/functionReferencesBound.kt +++ b/compiler/testData/codegen/box/funInterface/equality/functionReferencesBound.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SAM_CONVERSIONS // IGNORE_BACKEND: JS, JS_IR, JS_IR_ES6 // FILE: test.kt diff --git a/compiler/testData/codegen/box/funInterface/equality/functionReferencesUnbound.kt b/compiler/testData/codegen/box/funInterface/equality/functionReferencesUnbound.kt index 336ba4b1a06..8fd3357e0fc 100644 --- a/compiler/testData/codegen/box/funInterface/equality/functionReferencesUnbound.kt +++ b/compiler/testData/codegen/box/funInterface/equality/functionReferencesUnbound.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SAM_CONVERSIONS // IGNORE_BACKEND: JS, JS_IR, JS_IR_ES6 // FILE: test.kt diff --git a/compiler/testData/codegen/box/funInterface/equality/lambdaRuntimeConversion.kt b/compiler/testData/codegen/box/funInterface/equality/lambdaRuntimeConversion.kt index 0ccea8ebb58..c845c82c602 100644 --- a/compiler/testData/codegen/box/funInterface/equality/lambdaRuntimeConversion.kt +++ b/compiler/testData/codegen/box/funInterface/equality/lambdaRuntimeConversion.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SAM_CONVERSIONS // IGNORE_BACKEND: JS, JS_IR, JS_IR_ES6 // FILE: test.kt diff --git a/compiler/testData/codegen/box/funInterface/equality/localFunctionReferences.kt b/compiler/testData/codegen/box/funInterface/equality/localFunctionReferences.kt index 4d2b534f43b..8feefe3287a 100644 --- a/compiler/testData/codegen/box/funInterface/equality/localFunctionReferences.kt +++ b/compiler/testData/codegen/box/funInterface/equality/localFunctionReferences.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SAM_CONVERSIONS // IGNORE_BACKEND: JS, JS_IR, JS_IR_ES6 fun checkEqual(x: Any, y: Any) { diff --git a/compiler/testData/codegen/box/funInterface/funInterfaceInheritance.kt b/compiler/testData/codegen/box/funInterface/funInterfaceInheritance.kt index 81a3e135b25..c297337727d 100644 --- a/compiler/testData/codegen/box/funInterface/funInterfaceInheritance.kt +++ b/compiler/testData/codegen/box/funInterface/funInterfaceInheritance.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SAM_CONVERSIONS // !LANGUAGE: +NewInference +FunctionalInterfaceConversion +SamConversionPerArgument +SamConversionForKotlinFunctions fun interface Base { diff --git a/compiler/testData/codegen/box/funInterface/funInterfaceWithReceiver.kt b/compiler/testData/codegen/box/funInterface/funInterfaceWithReceiver.kt index 6b628186bef..80d36d9821f 100644 --- a/compiler/testData/codegen/box/funInterface/funInterfaceWithReceiver.kt +++ b/compiler/testData/codegen/box/funInterface/funInterfaceWithReceiver.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SAM_CONVERSIONS // IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/funInterface/inlinedSamWrapper.kt b/compiler/testData/codegen/box/funInterface/inlinedSamWrapper.kt index 30e520ea6dc..16e5ef7fdf5 100644 --- a/compiler/testData/codegen/box/funInterface/inlinedSamWrapper.kt +++ b/compiler/testData/codegen/box/funInterface/inlinedSamWrapper.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SAM_CONVERSIONS // !LANGUAGE: +NewInference +FunctionalInterfaceConversion +SamConversionPerArgument +SamConversionForKotlinFunctions // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/funInterface/intersectionTypeToFunInterfaceConversion.kt b/compiler/testData/codegen/box/funInterface/intersectionTypeToFunInterfaceConversion.kt index 4910fe6e4f7..4d517beeff1 100644 --- a/compiler/testData/codegen/box/funInterface/intersectionTypeToFunInterfaceConversion.kt +++ b/compiler/testData/codegen/box/funInterface/intersectionTypeToFunInterfaceConversion.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SAM_CONVERSIONS // IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JS, JS_IR // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/funInterface/irrelevantPrivateDeclarations.kt b/compiler/testData/codegen/box/funInterface/irrelevantPrivateDeclarations.kt index 6aba80b51f6..d012bd5a267 100644 --- a/compiler/testData/codegen/box/funInterface/irrelevantPrivateDeclarations.kt +++ b/compiler/testData/codegen/box/funInterface/irrelevantPrivateDeclarations.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SAM_CONVERSIONS fun interface A { fun invoke(s: String) diff --git a/compiler/testData/codegen/box/funInterface/multimodule.kt b/compiler/testData/codegen/box/funInterface/multimodule.kt index 764eb3d1e68..51f97113f33 100644 --- a/compiler/testData/codegen/box/funInterface/multimodule.kt +++ b/compiler/testData/codegen/box/funInterface/multimodule.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SAM_CONVERSIONS // !LANGUAGE: +NewInference +FunctionalInterfaceConversion +SamConversionPerArgument +SamConversionForKotlinFunctions // MODULE: m1 diff --git a/compiler/testData/codegen/box/funInterface/nonAbstractMethod.kt b/compiler/testData/codegen/box/funInterface/nonAbstractMethod.kt index e190edbd2dc..770c5457689 100644 --- a/compiler/testData/codegen/box/funInterface/nonAbstractMethod.kt +++ b/compiler/testData/codegen/box/funInterface/nonAbstractMethod.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SAM_CONVERSIONS interface I { fun inherited(s: String): String = privateInherited(s) diff --git a/compiler/testData/codegen/box/funInterface/nullableSam.kt b/compiler/testData/codegen/box/funInterface/nullableSam.kt index ce5456238ab..649f77ed49b 100644 --- a/compiler/testData/codegen/box/funInterface/nullableSam.kt +++ b/compiler/testData/codegen/box/funInterface/nullableSam.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SAM_CONVERSIONS // !LANGUAGE: +NewInference +FunctionalInterfaceConversion +SamConversionPerArgument +SamConversionForKotlinFunctions // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/funInterface/subtypeOfFunctionalTypeToFunInterfaceConversion.kt b/compiler/testData/codegen/box/funInterface/subtypeOfFunctionalTypeToFunInterfaceConversion.kt index 7c216af34e5..ab655dd96a2 100644 --- a/compiler/testData/codegen/box/funInterface/subtypeOfFunctionalTypeToFunInterfaceConversion.kt +++ b/compiler/testData/codegen/box/funInterface/subtypeOfFunctionalTypeToFunInterfaceConversion.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SAM_CONVERSIONS // IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JS, JS_IR // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/funInterface/suspendFunInterfaceConversionCodegen.kt b/compiler/testData/codegen/box/funInterface/suspendFunInterfaceConversionCodegen.kt index 1d57b759264..85d5d6fe6b0 100644 --- a/compiler/testData/codegen/box/funInterface/suspendFunInterfaceConversionCodegen.kt +++ b/compiler/testData/codegen/box/funInterface/suspendFunInterfaceConversionCodegen.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // !LANGUAGE: +NewInference +FunctionalInterfaceConversion +SamConversionPerArgument +SamConversionForKotlinFunctions // WITH_COROUTINES // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/functions/bigArity/function255.kt b/compiler/testData/codegen/box/functions/bigArity/function255.kt index 16fdf6c2c9e..f8cef8a27ae 100644 --- a/compiler/testData/codegen/box/functions/bigArity/function255.kt +++ b/compiler/testData/codegen/box/functions/bigArity/function255.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BIG_ARITY // !LANGUAGE: +FunctionTypesWithBigArity class A(val value: Int) { diff --git a/compiler/testData/codegen/box/functions/bigArity/instanceOfCallableReference.kt b/compiler/testData/codegen/box/functions/bigArity/instanceOfCallableReference.kt index a1525050d14..52cf804258c 100644 --- a/compiler/testData/codegen/box/functions/bigArity/instanceOfCallableReference.kt +++ b/compiler/testData/codegen/box/functions/bigArity/instanceOfCallableReference.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BIG_ARITY // !LANGUAGE: +FunctionTypesWithBigArity // IGNORE_BACKEND: JS_IR, JS // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/functions/bigArity/invokeCallableReference.kt b/compiler/testData/codegen/box/functions/bigArity/invokeCallableReference.kt index c9509a07ba5..4ea1b0aa81f 100644 --- a/compiler/testData/codegen/box/functions/bigArity/invokeCallableReference.kt +++ b/compiler/testData/codegen/box/functions/bigArity/invokeCallableReference.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BIG_ARITY // !LANGUAGE: +FunctionTypesWithBigArity class A diff --git a/compiler/testData/codegen/box/functions/bigArity/invokeLambda.kt b/compiler/testData/codegen/box/functions/bigArity/invokeLambda.kt index afb24c958db..07e9d8c8083 100644 --- a/compiler/testData/codegen/box/functions/bigArity/invokeLambda.kt +++ b/compiler/testData/codegen/box/functions/bigArity/invokeLambda.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BIG_ARITY // !LANGUAGE: +FunctionTypesWithBigArity class A(val value: Int) diff --git a/compiler/testData/codegen/box/functions/bigArity/invokeMemberCallableReference.kt b/compiler/testData/codegen/box/functions/bigArity/invokeMemberCallableReference.kt index 743865b5b4d..9ff84d17f0d 100644 --- a/compiler/testData/codegen/box/functions/bigArity/invokeMemberCallableReference.kt +++ b/compiler/testData/codegen/box/functions/bigArity/invokeMemberCallableReference.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BIG_ARITY // !LANGUAGE: +FunctionTypesWithBigArity class A { diff --git a/compiler/testData/codegen/box/functions/bigArity/subclass.kt b/compiler/testData/codegen/box/functions/bigArity/subclass.kt index 98af6b62ecd..87ef207809c 100644 --- a/compiler/testData/codegen/box/functions/bigArity/subclass.kt +++ b/compiler/testData/codegen/box/functions/bigArity/subclass.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !LANGUAGE: +FunctionTypesWithBigArity // Implementing function interface is prohibited in JavaScript diff --git a/compiler/testData/codegen/box/functions/coerceVoidToArray.kt b/compiler/testData/codegen/box/functions/coerceVoidToArray.kt index 695a3a50187..bde97423b6a 100644 --- a/compiler/testData/codegen/box/functions/coerceVoidToArray.kt +++ b/compiler/testData/codegen/box/functions/coerceVoidToArray.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun a(): IntArray? = null fun b(): Nothing = throw Exception() diff --git a/compiler/testData/codegen/box/functions/coerceVoidToObject.kt b/compiler/testData/codegen/box/functions/coerceVoidToObject.kt index 660ea0d44ec..17452d90e0c 100644 --- a/compiler/testData/codegen/box/functions/coerceVoidToObject.kt +++ b/compiler/testData/codegen/box/functions/coerceVoidToObject.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun a(): String? = null fun b(): Nothing = throw Exception() diff --git a/compiler/testData/codegen/box/functions/functionNtoString.kt b/compiler/testData/codegen/box/functions/functionNtoString.kt index 677fd322378..c14eedbf767 100644 --- a/compiler/testData/codegen/box/functions/functionNtoString.kt +++ b/compiler/testData/codegen/box/functions/functionNtoString.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/functions/functionNtoStringGeneric.kt b/compiler/testData/codegen/box/functions/functionNtoStringGeneric.kt index 7e9313d7852..2111c4e3f80 100644 --- a/compiler/testData/codegen/box/functions/functionNtoStringGeneric.kt +++ b/compiler/testData/codegen/box/functions/functionNtoStringGeneric.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/functions/functionNtoStringNoReflect.kt b/compiler/testData/codegen/box/functions/functionNtoStringNoReflect.kt index 5f9ed6419ab..12afc85d43e 100644 --- a/compiler/testData/codegen/box/functions/functionNtoStringNoReflect.kt +++ b/compiler/testData/codegen/box/functions/functionNtoStringNoReflect.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/functions/invoke/kt3190.kt b/compiler/testData/codegen/box/functions/invoke/kt3190.kt index 47860503093..fcf74a128d4 100644 --- a/compiler/testData/codegen/box/functions/invoke/kt3190.kt +++ b/compiler/testData/codegen/box/functions/invoke/kt3190.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 //KT-3190 Compiler crash if function called 'invoke' calls a closure diff --git a/compiler/testData/codegen/box/functions/invoke/kt3297.kt b/compiler/testData/codegen/box/functions/invoke/kt3297.kt index 026ac7a3b37..470d628d0c1 100644 --- a/compiler/testData/codegen/box/functions/invoke/kt3297.kt +++ b/compiler/testData/codegen/box/functions/invoke/kt3297.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED //KT-3297 Calling the wrong function inside an extension method to the Function0 class infix fun Function0.or(alt: () -> R): R { diff --git a/compiler/testData/codegen/box/functions/invoke/kt3822invokeOnThis.kt b/compiler/testData/codegen/box/functions/invoke/kt3822invokeOnThis.kt index 5279ca2ce28..ea0f55a588d 100644 --- a/compiler/testData/codegen/box/functions/invoke/kt3822invokeOnThis.kt +++ b/compiler/testData/codegen/box/functions/invoke/kt3822invokeOnThis.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IMPLEMENTING_FUNCTION_INTERFACE // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 //KT-3822 Compiler crashes when use invoke convention with `this` in class which extends Function0 diff --git a/compiler/testData/codegen/box/functions/kt1649_2.kt b/compiler/testData/codegen/box/functions/kt1649_2.kt index 33f420dc3f9..5b975d07037 100644 --- a/compiler/testData/codegen/box/functions/kt1649_2.kt +++ b/compiler/testData/codegen/box/functions/kt1649_2.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES interface A { val method : () -> Unit? } diff --git a/compiler/testData/codegen/box/functions/kt1739.kt b/compiler/testData/codegen/box/functions/kt1739.kt index e06a1635766..b7622c572c3 100644 --- a/compiler/testData/codegen/box/functions/kt1739.kt +++ b/compiler/testData/codegen/box/functions/kt1739.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/functions/kt3214.kt b/compiler/testData/codegen/box/functions/kt3214.kt index 8ff33fcad23..4b97a069420 100644 --- a/compiler/testData/codegen/box/functions/kt3214.kt +++ b/compiler/testData/codegen/box/functions/kt3214.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES class A { fun get(vararg x: Int) = x.size } diff --git a/compiler/testData/codegen/box/functions/localFunctions/kt4777.kt b/compiler/testData/codegen/box/functions/localFunctions/kt4777.kt index 4301f0dbe62..bd59d40320f 100644 --- a/compiler/testData/codegen/box/functions/localFunctions/kt4777.kt +++ b/compiler/testData/codegen/box/functions/localFunctions/kt4777.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/functions/localFunctions/localExtensionOnNullableParameter.kt b/compiler/testData/codegen/box/functions/localFunctions/localExtensionOnNullableParameter.kt index 709b1c9ac1e..4ce1d05f3ad 100644 --- a/compiler/testData/codegen/box/functions/localFunctions/localExtensionOnNullableParameter.kt +++ b/compiler/testData/codegen/box/functions/localFunctions/localExtensionOnNullableParameter.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES open class T(var value: Int) {} fun localExtensionOnNullableParameter(): T { diff --git a/compiler/testData/codegen/box/ieee754/equalsDouble.kt b/compiler/testData/codegen/box/ieee754/equalsDouble.kt index 2aa48e68651..f2b1fe4b0d4 100644 --- a/compiler/testData/codegen/box/ieee754/equalsDouble.kt +++ b/compiler/testData/codegen/box/ieee754/equalsDouble.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !LANGUAGE: -ProperIeee754Comparisons // DONT_TARGET_EXACT_BACKEND: JS_IR // DONT_TARGET_EXACT_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/ieee754/equalsFloat.kt b/compiler/testData/codegen/box/ieee754/equalsFloat.kt index 51de8cf7a74..db1fe11840b 100644 --- a/compiler/testData/codegen/box/ieee754/equalsFloat.kt +++ b/compiler/testData/codegen/box/ieee754/equalsFloat.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !LANGUAGE: -ProperIeee754Comparisons // DONT_TARGET_EXACT_BACKEND: JS_IR // DONT_TARGET_EXACT_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/ieee754/equalsNaN.kt b/compiler/testData/codegen/box/ieee754/equalsNaN.kt index f38243aa3eb..c50948bac1c 100644 --- a/compiler/testData/codegen/box/ieee754/equalsNaN.kt +++ b/compiler/testData/codegen/box/ieee754/equalsNaN.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !LANGUAGE: -ProperIeee754Comparisons // DONT_TARGET_EXACT_BACKEND: JS_IR // DONT_TARGET_EXACT_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/ieee754/equalsNaN_properIeeeComparisons.kt b/compiler/testData/codegen/box/ieee754/equalsNaN_properIeeeComparisons.kt index 5a7499cebcb..e5b33da6319 100644 --- a/compiler/testData/codegen/box/ieee754/equalsNaN_properIeeeComparisons.kt +++ b/compiler/testData/codegen/box/ieee754/equalsNaN_properIeeeComparisons.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: KOTLIN_TEST_LIB // !LANGUAGE: +ProperIeee754Comparisons // IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ieee754/equalsNullableDouble.kt b/compiler/testData/codegen/box/ieee754/equalsNullableDouble.kt index 4110e9b972e..3a708e12a63 100644 --- a/compiler/testData/codegen/box/ieee754/equalsNullableDouble.kt +++ b/compiler/testData/codegen/box/ieee754/equalsNullableDouble.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !LANGUAGE: -ProperIeee754Comparisons // DONT_TARGET_EXACT_BACKEND: JS_IR // DONT_TARGET_EXACT_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/ieee754/equalsNullableFloat.kt b/compiler/testData/codegen/box/ieee754/equalsNullableFloat.kt index 260cd633d44..26f79779e8d 100644 --- a/compiler/testData/codegen/box/ieee754/equalsNullableFloat.kt +++ b/compiler/testData/codegen/box/ieee754/equalsNullableFloat.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !LANGUAGE: -ProperIeee754Comparisons // DONT_TARGET_EXACT_BACKEND: JS_IR // DONT_TARGET_EXACT_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/ieee754/greaterDouble.kt b/compiler/testData/codegen/box/ieee754/greaterDouble.kt index 453cf64beab..fd5ec339738 100644 --- a/compiler/testData/codegen/box/ieee754/greaterDouble.kt +++ b/compiler/testData/codegen/box/ieee754/greaterDouble.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !LANGUAGE: -ProperIeee754Comparisons // DONT_TARGET_EXACT_BACKEND: JS_IR // DONT_TARGET_EXACT_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/ieee754/greaterFloat.kt b/compiler/testData/codegen/box/ieee754/greaterFloat.kt index 4434d1ff130..6d8a519db25 100644 --- a/compiler/testData/codegen/box/ieee754/greaterFloat.kt +++ b/compiler/testData/codegen/box/ieee754/greaterFloat.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !LANGUAGE: -ProperIeee754Comparisons // DONT_TARGET_EXACT_BACKEND: JS_IR // DONT_TARGET_EXACT_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/ieee754/lessDouble.kt b/compiler/testData/codegen/box/ieee754/lessDouble.kt index 13ab4c05f1a..351482370a4 100644 --- a/compiler/testData/codegen/box/ieee754/lessDouble.kt +++ b/compiler/testData/codegen/box/ieee754/lessDouble.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !LANGUAGE: -ProperIeee754Comparisons // DONT_TARGET_EXACT_BACKEND: JS_IR // DONT_TARGET_EXACT_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/ieee754/lessFloat.kt b/compiler/testData/codegen/box/ieee754/lessFloat.kt index e842cddda33..1a3ac80c13e 100644 --- a/compiler/testData/codegen/box/ieee754/lessFloat.kt +++ b/compiler/testData/codegen/box/ieee754/lessFloat.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !LANGUAGE: -ProperIeee754Comparisons // DONT_TARGET_EXACT_BACKEND: JS_IR // DONT_TARGET_EXACT_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/ieee754/smartCastToDifferentTypes.kt b/compiler/testData/codegen/box/ieee754/smartCastToDifferentTypes.kt index e2069cf944c..5016c0d8306 100644 --- a/compiler/testData/codegen/box/ieee754/smartCastToDifferentTypes.kt +++ b/compiler/testData/codegen/box/ieee754/smartCastToDifferentTypes.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !LANGUAGE: -ProperIeee754Comparisons // IGNORE_BACKEND: NATIVE // DONT_TARGET_EXACT_BACKEND: JS_IR diff --git a/compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt b/compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt index cc9dbc5f430..234dd2e4159 100644 --- a/compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt +++ b/compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !LANGUAGE: -ProperIeee754Comparisons // IGNORE_BACKEND: NATIVE // DONT_TARGET_EXACT_BACKEND: JS_IR diff --git a/compiler/testData/codegen/box/ieee754/when.kt b/compiler/testData/codegen/box/ieee754/when.kt index 4b8d5979276..f67b23bb6c2 100644 --- a/compiler/testData/codegen/box/ieee754/when.kt +++ b/compiler/testData/codegen/box/ieee754/when.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !LANGUAGE: -ProperIeee754Comparisons // DONT_TARGET_EXACT_BACKEND: JS_IR // DONT_TARGET_EXACT_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/ieee754/whenNoSubject.kt b/compiler/testData/codegen/box/ieee754/whenNoSubject.kt index 9a76c4eebea..1bf15fc77c0 100644 --- a/compiler/testData/codegen/box/ieee754/whenNoSubject.kt +++ b/compiler/testData/codegen/box/ieee754/whenNoSubject.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !LANGUAGE: -ProperIeee754Comparisons // DONT_TARGET_EXACT_BACKEND: JS_IR // DONT_TARGET_EXACT_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/increment/mutableListElement.kt b/compiler/testData/codegen/box/increment/mutableListElement.kt index 4a719eaaef5..6e5cc5dc2c7 100644 --- a/compiler/testData/codegen/box/increment/mutableListElement.kt +++ b/compiler/testData/codegen/box/increment/mutableListElement.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inference/builderInferenceLeakingVariable.kt b/compiler/testData/codegen/box/inference/builderInferenceLeakingVariable.kt index 2acf018d39c..2a2b717f157 100644 --- a/compiler/testData/codegen/box/inference/builderInferenceLeakingVariable.kt +++ b/compiler/testData/codegen/box/inference/builderInferenceLeakingVariable.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // Issues: KT-33542, KT-33544 // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/inference/coercionToUnitWithLastLambdaExpression.kt b/compiler/testData/codegen/box/inference/coercionToUnitWithLastLambdaExpression.kt index 11590ac5d57..aeda825f1d7 100644 --- a/compiler/testData/codegen/box/inference/coercionToUnitWithLastLambdaExpression.kt +++ b/compiler/testData/codegen/box/inference/coercionToUnitWithLastLambdaExpression.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES fun myRun(action: () -> T): T = action() fun foo(): String = "foo" diff --git a/compiler/testData/codegen/box/inference/coerctionToUnitForLastExpressionWithStarProjection.kt b/compiler/testData/codegen/box/inference/coerctionToUnitForLastExpressionWithStarProjection.kt index 89f75bbd616..c22d0edddae 100644 --- a/compiler/testData/codegen/box/inference/coerctionToUnitForLastExpressionWithStarProjection.kt +++ b/compiler/testData/codegen/box/inference/coerctionToUnitForLastExpressionWithStarProjection.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNKNOWN class Inv fun Inv<*>.invToInv(): Inv<*>? = null diff --git a/compiler/testData/codegen/box/inference/integerLiteralTypeInLamdaReturnType.kt b/compiler/testData/codegen/box/inference/integerLiteralTypeInLamdaReturnType.kt index 3f635747c4d..66a296c397a 100644 --- a/compiler/testData/codegen/box/inference/integerLiteralTypeInLamdaReturnType.kt +++ b/compiler/testData/codegen/box/inference/integerLiteralTypeInLamdaReturnType.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // !LANGUAGE: +NewInference // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inference/kt35684.kt b/compiler/testData/codegen/box/inference/kt35684.kt index e5e1ef92214..5da4d907ab9 100644 --- a/compiler/testData/codegen/box/inference/kt35684.kt +++ b/compiler/testData/codegen/box/inference/kt35684.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // !LANGUAGE: +NewInference // !USE_EXPERIMENTAL: kotlin.RequiresOptIn // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inference/kt36446.kt b/compiler/testData/codegen/box/inference/kt36446.kt index 06fbf4bb317..58f2a11b34a 100644 --- a/compiler/testData/codegen/box/inference/kt36446.kt +++ b/compiler/testData/codegen/box/inference/kt36446.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // !LANGUAGE: +NewInference // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/inference/kt39824.kt b/compiler/testData/codegen/box/inference/kt39824.kt index 04f88e04615..bc520620caf 100644 --- a/compiler/testData/codegen/box/inference/kt39824.kt +++ b/compiler/testData/codegen/box/inference/kt39824.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // WITH_RUNTIME fun diContext(context: C): DIContext = DIContext(TypeToken(), context) diff --git a/compiler/testData/codegen/box/inference/noCoercionToUnitWithEqualityConstraintForNullableReturnType.kt b/compiler/testData/codegen/box/inference/noCoercionToUnitWithEqualityConstraintForNullableReturnType.kt index 1c5250a327e..a0d2e6e1bae 100644 --- a/compiler/testData/codegen/box/inference/noCoercionToUnitWithEqualityConstraintForNullableReturnType.kt +++ b/compiler/testData/codegen/box/inference/noCoercionToUnitWithEqualityConstraintForNullableReturnType.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES // IGNORE_BACKEND_FIR: JVM_IR class Inv(val x: T?) diff --git a/compiler/testData/codegen/box/inference/plusAssignInsideLambda.kt b/compiler/testData/codegen/box/inference/plusAssignInsideLambda.kt index b6d4ea8c3ec..771ef24b8a5 100644 --- a/compiler/testData/codegen/box/inference/plusAssignInsideLambda.kt +++ b/compiler/testData/codegen/box/inference/plusAssignInsideLambda.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // WITH_RUNTIME import kotlin.experimental.ExperimentalTypeInference diff --git a/compiler/testData/codegen/box/inference/referenceToCatchParameterFromLambdaExpression.kt b/compiler/testData/codegen/box/inference/referenceToCatchParameterFromLambdaExpression.kt index 88c088c7f6b..64b6279d9f3 100644 --- a/compiler/testData/codegen/box/inference/referenceToCatchParameterFromLambdaExpression.kt +++ b/compiler/testData/codegen/box/inference/referenceToCatchParameterFromLambdaExpression.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun test(): () -> Throwable { return try { TODO() diff --git a/compiler/testData/codegen/box/inference/subtypingOfIntersectionIltInsideFlexible.kt b/compiler/testData/codegen/box/inference/subtypingOfIntersectionIltInsideFlexible.kt index 968ac997ae3..44086d82274 100644 --- a/compiler/testData/codegen/box/inference/subtypingOfIntersectionIltInsideFlexible.kt +++ b/compiler/testData/codegen/box/inference/subtypingOfIntersectionIltInsideFlexible.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // TARGET_BACKEND: JVM // FILE: Bar.java diff --git a/compiler/testData/codegen/box/inference/suspendExtensionRecevierFromConstraint.kt b/compiler/testData/codegen/box/inference/suspendExtensionRecevierFromConstraint.kt index a5aba2bc44a..532f2e11fcf 100644 --- a/compiler/testData/codegen/box/inference/suspendExtensionRecevierFromConstraint.kt +++ b/compiler/testData/codegen/box/inference/suspendExtensionRecevierFromConstraint.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME // !LANGUAGE: +NewInference diff --git a/compiler/testData/codegen/box/inlineClasses/UIntArraySortExample.kt b/compiler/testData/codegen/box/inlineClasses/UIntArraySortExample.kt index b3e9d72ba18..c95097d8d68 100644 --- a/compiler/testData/codegen/box/inlineClasses/UIntArraySortExample.kt +++ b/compiler/testData/codegen/box/inlineClasses/UIntArraySortExample.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNSIGNED_ARRAYS // KJS_WITH_FULL_RUNTIME // !LANGUAGE: +InlineClasses diff --git a/compiler/testData/codegen/box/inlineClasses/boxImplDoesNotExecuteInitBlock.kt b/compiler/testData/codegen/box/inlineClasses/boxImplDoesNotExecuteInitBlock.kt index 3bad4968fef..2889cdc5a44 100644 --- a/compiler/testData/codegen/box/inlineClasses/boxImplDoesNotExecuteInitBlock.kt +++ b/compiler/testData/codegen/box/inlineClasses/boxImplDoesNotExecuteInitBlock.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: JS_IR inline class IC(val i: Int) { diff --git a/compiler/testData/codegen/box/inlineClasses/boxReturnValueInLambda/kt27586_1.kt b/compiler/testData/codegen/box/inlineClasses/boxReturnValueInLambda/kt27586_1.kt index 0f9cdf6c279..dd3a6df5e2c 100644 --- a/compiler/testData/codegen/box/inlineClasses/boxReturnValueInLambda/kt27586_1.kt +++ b/compiler/testData/codegen/box/inlineClasses/boxReturnValueInLambda/kt27586_1.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // WITH_RUNTIME fun f1(): () -> Result { return { diff --git a/compiler/testData/codegen/box/inlineClasses/boxReturnValueInLambda/kt27586_2.kt b/compiler/testData/codegen/box/inlineClasses/boxReturnValueInLambda/kt27586_2.kt index c9d3fcb85fc..6f0254f1319 100644 --- a/compiler/testData/codegen/box/inlineClasses/boxReturnValueInLambda/kt27586_2.kt +++ b/compiler/testData/codegen/box/inlineClasses/boxReturnValueInLambda/kt27586_2.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // WITH_RUNTIME fun f1() = lazy { runCatching { diff --git a/compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/covariantOverrideListVsMutableList.kt b/compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/covariantOverrideListVsMutableList.kt index ec59395686a..dbd53ee296b 100644 --- a/compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/covariantOverrideListVsMutableList.kt +++ b/compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/covariantOverrideListVsMutableList.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/kt31585.kt b/compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/kt31585.kt index 25692ded1b3..db1859c62f2 100644 --- a/compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/kt31585.kt +++ b/compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/kt31585.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/kt35234.kt b/compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/kt35234.kt index 6fc7678f016..b09f06d05e5 100644 --- a/compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/kt35234.kt +++ b/compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/kt35234.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_TEXT // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/kt35234a.kt b/compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/kt35234a.kt index 8c0279ca65c..23512f3cc10 100644 --- a/compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/kt35234a.kt +++ b/compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/kt35234a.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_TEXT // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/boxUnboxInlineClassesWithOperatorsGetSet.kt b/compiler/testData/codegen/box/inlineClasses/boxUnboxInlineClassesWithOperatorsGetSet.kt index b5d071cbb02..a2eefd932db 100644 --- a/compiler/testData/codegen/box/inlineClasses/boxUnboxInlineClassesWithOperatorsGetSet.kt +++ b/compiler/testData/codegen/box/inlineClasses/boxUnboxInlineClassesWithOperatorsGetSet.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNSIGNED_ARRAYS // !LANGUAGE: +InlineClasses inline class UInt(private val value: Int) { diff --git a/compiler/testData/codegen/box/inlineClasses/boxUnboxOfInlineClassForCapturedVars.kt b/compiler/testData/codegen/box/inlineClasses/boxUnboxOfInlineClassForCapturedVars.kt index df21fa88cf8..1cd35abfbd7 100644 --- a/compiler/testData/codegen/box/inlineClasses/boxUnboxOfInlineClassForCapturedVars.kt +++ b/compiler/testData/codegen/box/inlineClasses/boxUnboxOfInlineClassForCapturedVars.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES // !LANGUAGE: +InlineClasses inline class UInt(private val value: Int) { diff --git a/compiler/testData/codegen/box/inlineClasses/callableReferences/boundInlineClassExtensionFun.kt b/compiler/testData/codegen/box/inlineClasses/callableReferences/boundInlineClassExtensionFun.kt index ec97a9b91a8..b45e9bb200d 100644 --- a/compiler/testData/codegen/box/inlineClasses/callableReferences/boundInlineClassExtensionFun.kt +++ b/compiler/testData/codegen/box/inlineClasses/callableReferences/boundInlineClassExtensionFun.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BOUND_RECEIVER // !LANGUAGE: +InlineClasses // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/callableReferences/boundInlineClassExtensionVal.kt b/compiler/testData/codegen/box/inlineClasses/callableReferences/boundInlineClassExtensionVal.kt index f2c4757e960..7a9d36d6988 100644 --- a/compiler/testData/codegen/box/inlineClasses/callableReferences/boundInlineClassExtensionVal.kt +++ b/compiler/testData/codegen/box/inlineClasses/callableReferences/boundInlineClassExtensionVal.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // !LANGUAGE: +InlineClasses // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/callableReferences/boundInlineClassMemberFun.kt b/compiler/testData/codegen/box/inlineClasses/callableReferences/boundInlineClassMemberFun.kt index 465845d7c71..4bcd0668be1 100644 --- a/compiler/testData/codegen/box/inlineClasses/callableReferences/boundInlineClassMemberFun.kt +++ b/compiler/testData/codegen/box/inlineClasses/callableReferences/boundInlineClassMemberFun.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BOUND_RECEIVER // !LANGUAGE: +InlineClasses // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/callableReferences/boundInlineClassMemberVal.kt b/compiler/testData/codegen/box/inlineClasses/callableReferences/boundInlineClassMemberVal.kt index 29a89e3ede5..79bbdb1c176 100644 --- a/compiler/testData/codegen/box/inlineClasses/callableReferences/boundInlineClassMemberVal.kt +++ b/compiler/testData/codegen/box/inlineClasses/callableReferences/boundInlineClassMemberVal.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // !LANGUAGE: +InlineClasses // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/callableReferences/boundInlineClassPrimaryVal.kt b/compiler/testData/codegen/box/inlineClasses/callableReferences/boundInlineClassPrimaryVal.kt index 1c1dd71e21e..b8f36f83e6c 100644 --- a/compiler/testData/codegen/box/inlineClasses/callableReferences/boundInlineClassPrimaryVal.kt +++ b/compiler/testData/codegen/box/inlineClasses/callableReferences/boundInlineClassPrimaryVal.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // !LANGUAGE: +InlineClasses // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/callableReferences/equalsHashCodeToString.kt b/compiler/testData/codegen/box/inlineClasses/callableReferences/equalsHashCodeToString.kt index c52e805f0b2..58439f93198 100644 --- a/compiler/testData/codegen/box/inlineClasses/callableReferences/equalsHashCodeToString.kt +++ b/compiler/testData/codegen/box/inlineClasses/callableReferences/equalsHashCodeToString.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: JS, JS_IR, JS_IR_ES6, NATIVE // WITH_REFLECT import kotlin.test.* diff --git a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassExtensionVal.kt b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassExtensionVal.kt index 7db8b64f40a..8510a2e312b 100644 --- a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassExtensionVal.kt +++ b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassExtensionVal.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // !LANGUAGE: +InlineClasses // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassInternalPrimaryVal.kt b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassInternalPrimaryVal.kt index c7477995ee7..733d8657a7b 100644 --- a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassInternalPrimaryVal.kt +++ b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassInternalPrimaryVal.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // !LANGUAGE: +InlineClasses // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassMemberVal.kt b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassMemberVal.kt index 3382c4148f3..f35603ea2a0 100644 --- a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassMemberVal.kt +++ b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassMemberVal.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // !LANGUAGE: +InlineClasses // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassPrimaryVal.kt b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassPrimaryVal.kt index e585afa7e4e..ffdd779d0d8 100644 --- a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassPrimaryVal.kt +++ b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassPrimaryVal.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // !LANGUAGE: +InlineClasses // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassPrivatePrimaryVal.kt b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassPrivatePrimaryVal.kt index 142b2b798eb..6e95b380884 100644 --- a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassPrivatePrimaryVal.kt +++ b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassPrivatePrimaryVal.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // !LANGUAGE: +InlineClasses // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassTypeBoundMemberVar.kt b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassTypeBoundMemberVar.kt index a515a3da6c2..2281e95f11b 100644 --- a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassTypeBoundMemberVar.kt +++ b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassTypeBoundMemberVar.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // !LANGUAGE: +InlineClasses // WITH_RUNTIME inline class Z(val x: Int) diff --git a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassTypeMemberVar.kt b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassTypeMemberVar.kt index 17764bb1826..1381c3cc35d 100644 --- a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassTypeMemberVar.kt +++ b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassTypeMemberVar.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // !LANGUAGE: +InlineClasses // WITH_RUNTIME inline class Z(val x: Int) diff --git a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassTypeTopLevelVar.kt b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassTypeTopLevelVar.kt index e7942b503ce..0f8ffea3ee2 100644 --- a/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassTypeTopLevelVar.kt +++ b/compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassTypeTopLevelVar.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // !LANGUAGE: +InlineClasses // WITH_RUNTIME inline class Z(val x: Int) diff --git a/compiler/testData/codegen/box/inlineClasses/callableReferencesWithInlineClasses.kt b/compiler/testData/codegen/box/inlineClasses/callableReferencesWithInlineClasses.kt index e3e9744f98a..e63c64bd7bf 100644 --- a/compiler/testData/codegen/box/inlineClasses/callableReferencesWithInlineClasses.kt +++ b/compiler/testData/codegen/box/inlineClasses/callableReferencesWithInlineClasses.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BOUND_RECEIVER // !LANGUAGE: +InlineClasses // WITH_REFLECT diff --git a/compiler/testData/codegen/box/inlineClasses/checkBoxingForComplexClassHierarchy.kt b/compiler/testData/codegen/box/inlineClasses/checkBoxingForComplexClassHierarchy.kt index 74b0830be73..4de968ddc10 100644 --- a/compiler/testData/codegen/box/inlineClasses/checkBoxingForComplexClassHierarchy.kt +++ b/compiler/testData/codegen/box/inlineClasses/checkBoxingForComplexClassHierarchy.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BRIDGE_ISSUES // !LANGUAGE: +InlineClasses inline class IC(val x: Int) diff --git a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/kt27513.kt b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/kt27513.kt index 5de31ce12ff..63b09a8c226 100644 --- a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/kt27513.kt +++ b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/kt27513.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // !LANGUAGE: +InlineClasses // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/kt26554.kt b/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/kt26554.kt index 2d34e5668a6..88475e1fa97 100644 --- a/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/kt26554.kt +++ b/compiler/testData/codegen/box/inlineClasses/defaultParameterValues/kt26554.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // !LANGUAGE: +InlineClasses // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/equalityForBoxesOfNullableValuesOfInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/equalityForBoxesOfNullableValuesOfInlineClass.kt index 8ac937a7398..91db1539dce 100644 --- a/compiler/testData/codegen/box/inlineClasses/equalityForBoxesOfNullableValuesOfInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/equalityForBoxesOfNullableValuesOfInlineClass.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: WASM_NULL_CAST // KJS_WITH_FULL_RUNTIME // !LANGUAGE: +InlineClasses // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderInlineClass.kt index 7fc6d414460..d849654ec85 100644 --- a/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderInlineClass.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // !LANGUAGE: +InlineClasses inline class Inner(val x: Int) diff --git a/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderNonNull.kt b/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderNonNull.kt index 1f7ff01c87c..9568e8d8718 100644 --- a/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderNonNull.kt +++ b/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderNonNull.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // !LANGUAGE: +InlineClasses inline class A(val x: String = "") diff --git a/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderNullable.kt b/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderNullable.kt index 60f0ea4e27b..eeca82846f1 100644 --- a/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderNullable.kt +++ b/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderNullable.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // !LANGUAGE: +InlineClasses inline class A(val x: Any? = null) diff --git a/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderPrimitive.kt b/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderPrimitive.kt index 745e3497825..531243a51b7 100644 --- a/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderPrimitive.kt +++ b/compiler/testData/codegen/box/inlineClasses/equalsEvaluationOrderPrimitive.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // !LANGUAGE: +InlineClasses inline class A(val x: Int = 0) diff --git a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/mangledFunctionsPresentInStackTrace.kt b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/mangledFunctionsPresentInStackTrace.kt index 9b7347d891c..8ed45919378 100644 --- a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/mangledFunctionsPresentInStackTrace.kt +++ b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/mangledFunctionsPresentInStackTrace.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // !LANGUAGE: +InlineClasses // IGNORE_BACKEND: JS, JS_IR // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/reflectionForFunctionWithMangledName.kt b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/reflectionForFunctionWithMangledName.kt index 20cb9d58063..7328632658c 100644 --- a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/reflectionForFunctionWithMangledName.kt +++ b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/reflectionForFunctionWithMangledName.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BRIDGE_ISSUES // !LANGUAGE: +InlineClasses // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/reflectionForPropertyOfInlineClassType.kt b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/reflectionForPropertyOfInlineClassType.kt index 2a43d97f524..30f53c6ceb1 100644 --- a/compiler/testData/codegen/box/inlineClasses/functionNameMangling/reflectionForPropertyOfInlineClassType.kt +++ b/compiler/testData/codegen/box/inlineClasses/functionNameMangling/reflectionForPropertyOfInlineClassType.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // !LANGUAGE: +InlineClasses // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/inlineClasses/genericVararg2ndConstructor.kt b/compiler/testData/codegen/box/inlineClasses/genericVararg2ndConstructor.kt index 7394adb23b6..c13a997a252 100644 --- a/compiler/testData/codegen/box/inlineClasses/genericVararg2ndConstructor.kt +++ b/compiler/testData/codegen/box/inlineClasses/genericVararg2ndConstructor.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // KT-41771 diff --git a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/kt28855.kt b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/kt28855.kt index 8594c3aec14..fcb0e09e436 100644 --- a/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/kt28855.kt +++ b/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/kt28855.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNSIGNED_ARRAYS // !LANGUAGE: +InlineClasses // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/initBlock.kt b/compiler/testData/codegen/box/inlineClasses/initBlock.kt index 4bdcdd2b53e..cda7406d835 100644 --- a/compiler/testData/codegen/box/inlineClasses/initBlock.kt +++ b/compiler/testData/codegen/box/inlineClasses/initBlock.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: JS_IR inline class SingleInitBlock(val s: String) { diff --git a/compiler/testData/codegen/box/inlineClasses/inlineClassPropertyReferenceGetAndSet.kt b/compiler/testData/codegen/box/inlineClasses/inlineClassPropertyReferenceGetAndSet.kt index e75ce35c2bc..197f7a6ed56 100644 --- a/compiler/testData/codegen/box/inlineClasses/inlineClassPropertyReferenceGetAndSet.kt +++ b/compiler/testData/codegen/box/inlineClasses/inlineClassPropertyReferenceGetAndSet.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // !LANGUAGE: +InlineClasses // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/interfaceDelegation/kt38337.kt b/compiler/testData/codegen/box/inlineClasses/interfaceDelegation/kt38337.kt index 4ef76daf60f..d0fa36de698 100644 --- a/compiler/testData/codegen/box/inlineClasses/interfaceDelegation/kt38337.kt +++ b/compiler/testData/codegen/box/inlineClasses/interfaceDelegation/kt38337.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/kt25750.kt b/compiler/testData/codegen/box/inlineClasses/kt25750.kt index bdb0cd98ffe..aa6c36b049f 100644 --- a/compiler/testData/codegen/box/inlineClasses/kt25750.kt +++ b/compiler/testData/codegen/box/inlineClasses/kt25750.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // !LANGUAGE: +InlineClasses // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/kt25771.kt b/compiler/testData/codegen/box/inlineClasses/kt25771.kt index d0704e2478a..69f84752912 100644 --- a/compiler/testData/codegen/box/inlineClasses/kt25771.kt +++ b/compiler/testData/codegen/box/inlineClasses/kt25771.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // !LANGUAGE: +InlineClasses inline class Result(val value: Any?) { diff --git a/compiler/testData/codegen/box/inlineClasses/kt27113.kt b/compiler/testData/codegen/box/inlineClasses/kt27113.kt index b7d0368111e..6a56d969688 100644 --- a/compiler/testData/codegen/box/inlineClasses/kt27113.kt +++ b/compiler/testData/codegen/box/inlineClasses/kt27113.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !LANGUAGE: +InlineClasses // IGNORE_BACKEND: JS, JS_IR, NATIVE // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/inlineClasses/kt28405.kt b/compiler/testData/codegen/box/inlineClasses/kt28405.kt index 448ed6fea8f..8f603774a31 100644 --- a/compiler/testData/codegen/box/inlineClasses/kt28405.kt +++ b/compiler/testData/codegen/box/inlineClasses/kt28405.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_TEXT // !LANGUAGE: +InlineClasses // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/kt28585.kt b/compiler/testData/codegen/box/inlineClasses/kt28585.kt index feaab23ffa2..2a5795b0e4e 100644 --- a/compiler/testData/codegen/box/inlineClasses/kt28585.kt +++ b/compiler/testData/codegen/box/inlineClasses/kt28585.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // !LANGUAGE: +InlineClasses // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/passInlineClassWithSpreadOperatorToVarargs.kt b/compiler/testData/codegen/box/inlineClasses/passInlineClassWithSpreadOperatorToVarargs.kt index 24bfd7dbd67..6ac51c23dde 100644 --- a/compiler/testData/codegen/box/inlineClasses/passInlineClassWithSpreadOperatorToVarargs.kt +++ b/compiler/testData/codegen/box/inlineClasses/passInlineClassWithSpreadOperatorToVarargs.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SPREAD_OPERATOR // !LANGUAGE: +InlineClasses inline class UInt(val value: Int) diff --git a/compiler/testData/codegen/box/inlineClasses/propertyDelegation/captureLocalVarDelegatedToInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/propertyDelegation/captureLocalVarDelegatedToInlineClass.kt index b677ce3ab9b..dfc34dc40d8 100644 --- a/compiler/testData/codegen/box/inlineClasses/propertyDelegation/captureLocalVarDelegatedToInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/propertyDelegation/captureLocalVarDelegatedToInlineClass.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // !LANGUAGE: +InlineClasses var setterInvoked = 0 diff --git a/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateClassVarToInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateClassVarToInlineClass.kt index 8cfad98309d..19773e2d633 100644 --- a/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateClassVarToInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateClassVarToInlineClass.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // !LANGUAGE: +InlineClasses class Foo { diff --git a/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateClassVarToInlineClassWithProvideDelegate.kt b/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateClassVarToInlineClassWithProvideDelegate.kt index 31533f625a6..986d7bfeef5 100644 --- a/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateClassVarToInlineClassWithProvideDelegate.kt +++ b/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateClassVarToInlineClassWithProvideDelegate.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // !LANGUAGE: +InlineClasses class Foo { diff --git a/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateCompanionVarToInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateCompanionVarToInlineClass.kt index 0d8d8c78f4b..8b4dfc0852a 100644 --- a/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateCompanionVarToInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateCompanionVarToInlineClass.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // !LANGUAGE: +InlineClasses class Foo { diff --git a/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateLocalVarToInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateLocalVarToInlineClass.kt index c676535dbfa..8bb46f4cfae 100644 --- a/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateLocalVarToInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateLocalVarToInlineClass.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // !LANGUAGE: +InlineClasses var setterInvoked = 0 diff --git a/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateObjectVarToInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateObjectVarToInlineClass.kt index 64880c7ee7a..a922e92f032 100644 --- a/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateObjectVarToInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateObjectVarToInlineClass.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // !LANGUAGE: +InlineClasses object Foo { diff --git a/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegatePrivateCompanionVarToInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegatePrivateCompanionVarToInlineClass.kt index 386a83b8246..7df0669e63a 100644 --- a/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegatePrivateCompanionVarToInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegatePrivateCompanionVarToInlineClass.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // !LANGUAGE: +InlineClasses class Foo { diff --git a/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateTopLevelVarToInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateTopLevelVarToInlineClass.kt index 8e71f010747..72780aa35d6 100644 --- a/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateTopLevelVarToInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegateTopLevelVarToInlineClass.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // !LANGUAGE: +InlineClasses var setterInvoked = 0 diff --git a/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegatedPropertyOfInlineClassType.kt b/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegatedPropertyOfInlineClassType.kt index f3f308eca92..5f17fc07444 100644 --- a/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegatedPropertyOfInlineClassType.kt +++ b/compiler/testData/codegen/box/inlineClasses/propertyDelegation/delegatedPropertyOfInlineClassType.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES import kotlin.reflect.KProperty inline class ICInt(val i: Int) diff --git a/compiler/testData/codegen/box/inlineClasses/propertyDelegation/kt27070.kt b/compiler/testData/codegen/box/inlineClasses/propertyDelegation/kt27070.kt index 17ac0d3d836..ae5c8b8e209 100644 --- a/compiler/testData/codegen/box/inlineClasses/propertyDelegation/kt27070.kt +++ b/compiler/testData/codegen/box/inlineClasses/propertyDelegation/kt27070.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // !LANGUAGE: +InlineClasses // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/removeInInlineCollectionOfInlineClassAsInt.kt b/compiler/testData/codegen/box/inlineClasses/removeInInlineCollectionOfInlineClassAsInt.kt index 1f60cdb2230..0872b6e5685 100644 --- a/compiler/testData/codegen/box/inlineClasses/removeInInlineCollectionOfInlineClassAsInt.kt +++ b/compiler/testData/codegen/box/inlineClasses/removeInInlineCollectionOfInlineClassAsInt.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/resultRunCatchingOrElse.kt b/compiler/testData/codegen/box/inlineClasses/resultRunCatchingOrElse.kt index 96b882ed7d9..6c014fe77ef 100644 --- a/compiler/testData/codegen/box/inlineClasses/resultRunCatchingOrElse.kt +++ b/compiler/testData/codegen/box/inlineClasses/resultRunCatchingOrElse.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED inline class Result(val value: Any?) { fun exceptionOrNull(): Throwable? = when (value) { diff --git a/compiler/testData/codegen/box/inlineClasses/simpleSecondaryConstructor.kt b/compiler/testData/codegen/box/inlineClasses/simpleSecondaryConstructor.kt index 4174055d643..8236dc3f275 100644 --- a/compiler/testData/codegen/box/inlineClasses/simpleSecondaryConstructor.kt +++ b/compiler/testData/codegen/box/inlineClasses/simpleSecondaryConstructor.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: JS, JS_IR, NATIVE, JVM // IGNORE_BACKEND: JS_IR_ES6 // !LANGUAGE: +InlineClasses diff --git a/compiler/testData/codegen/box/inlineClasses/unboxParameterOfSuspendLambdaBeforeInvoke.kt b/compiler/testData/codegen/box/inlineClasses/unboxParameterOfSuspendLambdaBeforeInvoke.kt index 3ef1b7db138..da5ad223329 100644 --- a/compiler/testData/codegen/box/inlineClasses/unboxParameterOfSuspendLambdaBeforeInvoke.kt +++ b/compiler/testData/codegen/box/inlineClasses/unboxParameterOfSuspendLambdaBeforeInvoke.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // WITH_COROUTINES // WITH_RUNTIME // IGNORE_BACKEND: JS_IR diff --git a/compiler/testData/codegen/box/inlineClasses/unboxValueFromPlatformType.kt b/compiler/testData/codegen/box/inlineClasses/unboxValueFromPlatformType.kt index 009c34768bc..61385ac690a 100644 --- a/compiler/testData/codegen/box/inlineClasses/unboxValueFromPlatformType.kt +++ b/compiler/testData/codegen/box/inlineClasses/unboxValueFromPlatformType.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // IGNORE_BACKEND: NATIVE diff --git a/compiler/testData/codegen/box/inlineClasses/unboxValueOfAnyBeforeMethodInvocation.kt b/compiler/testData/codegen/box/inlineClasses/unboxValueOfAnyBeforeMethodInvocation.kt index c4804187c7e..fa5a65b18e2 100644 --- a/compiler/testData/codegen/box/inlineClasses/unboxValueOfAnyBeforeMethodInvocation.kt +++ b/compiler/testData/codegen/box/inlineClasses/unboxValueOfAnyBeforeMethodInvocation.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/intrinsics/kt8666.kt b/compiler/testData/codegen/box/intrinsics/kt8666.kt index 540bd21a93f..dd0743af72c 100644 --- a/compiler/testData/codegen/box/intrinsics/kt8666.kt +++ b/compiler/testData/codegen/box/intrinsics/kt8666.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 val MAX_LONG = "9223372036854775807" diff --git a/compiler/testData/codegen/box/intrinsics/rangeFromCollection.kt b/compiler/testData/codegen/box/intrinsics/rangeFromCollection.kt index f6550bbbd0c..9412cc06799 100644 --- a/compiler/testData/codegen/box/intrinsics/rangeFromCollection.kt +++ b/compiler/testData/codegen/box/intrinsics/rangeFromCollection.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME fun box(): String { val list = ArrayList() diff --git a/compiler/testData/codegen/box/intrinsics/stringFromCollection.kt b/compiler/testData/codegen/box/intrinsics/stringFromCollection.kt index a889f52b9c7..340cee612c2 100644 --- a/compiler/testData/codegen/box/intrinsics/stringFromCollection.kt +++ b/compiler/testData/codegen/box/intrinsics/stringFromCollection.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME fun box(): String { val list = ArrayList() diff --git a/compiler/testData/codegen/box/intrinsics/throwable.kt b/compiler/testData/codegen/box/intrinsics/throwable.kt index 3d184341f22..e44b519b2a9 100644 --- a/compiler/testData/codegen/box/intrinsics/throwable.kt +++ b/compiler/testData/codegen/box/intrinsics/throwable.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/intrinsics/throwableCallableReference.kt b/compiler/testData/codegen/box/intrinsics/throwableCallableReference.kt index c6846ea663b..7e64cdfe17c 100644 --- a/compiler/testData/codegen/box/intrinsics/throwableCallableReference.kt +++ b/compiler/testData/codegen/box/intrinsics/throwableCallableReference.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/intrinsics/trimMarginWithBlankString.kt b/compiler/testData/codegen/box/intrinsics/trimMarginWithBlankString.kt index 01b8b277680..2238cdca26a 100644 --- a/compiler/testData/codegen/box/intrinsics/trimMarginWithBlankString.kt +++ b/compiler/testData/codegen/box/intrinsics/trimMarginWithBlankString.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/ir/anonymousClassLeak.kt b/compiler/testData/codegen/box/ir/anonymousClassLeak.kt index d698de9419e..ca47d4e4e8c 100644 --- a/compiler/testData/codegen/box/ir/anonymousClassLeak.kt +++ b/compiler/testData/codegen/box/ir/anonymousClassLeak.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // WITH_RUNTIME // MODULE: lib diff --git a/compiler/testData/codegen/box/ir/anonymousObjectInForLoopIteratorAndBody.kt b/compiler/testData/codegen/box/ir/anonymousObjectInForLoopIteratorAndBody.kt index ec7c2b79840..041a5eadf6f 100644 --- a/compiler/testData/codegen/box/ir/anonymousObjectInForLoopIteratorAndBody.kt +++ b/compiler/testData/codegen/box/ir/anonymousObjectInForLoopIteratorAndBody.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/ir/kt25405.kt b/compiler/testData/codegen/box/ir/kt25405.kt index 485922deed7..4a4cf08c3d9 100644 --- a/compiler/testData/codegen/box/ir/kt25405.kt +++ b/compiler/testData/codegen/box/ir/kt25405.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES fun tableView(init: Table.() -> Unit) { Table().init() } diff --git a/compiler/testData/codegen/box/ir/serializationRegressions/deepGenericDelegatedProperty.kt b/compiler/testData/codegen/box/ir/serializationRegressions/deepGenericDelegatedProperty.kt index 22930985a50..9f682ba712d 100644 --- a/compiler/testData/codegen/box/ir/serializationRegressions/deepGenericDelegatedProperty.kt +++ b/compiler/testData/codegen/box/ir/serializationRegressions/deepGenericDelegatedProperty.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: NATIVE //For KT-6020 diff --git a/compiler/testData/codegen/box/ir/serializationRegressions/dispatchReceiverValue.kt b/compiler/testData/codegen/box/ir/serializationRegressions/dispatchReceiverValue.kt index 5d31be2b7e3..19cb4bb541f 100644 --- a/compiler/testData/codegen/box/ir/serializationRegressions/dispatchReceiverValue.kt +++ b/compiler/testData/codegen/box/ir/serializationRegressions/dispatchReceiverValue.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/ir/serializationRegressions/genericProperty.kt b/compiler/testData/codegen/box/ir/serializationRegressions/genericProperty.kt index 58fc45eb26a..93d92e76267 100644 --- a/compiler/testData/codegen/box/ir/serializationRegressions/genericProperty.kt +++ b/compiler/testData/codegen/box/ir/serializationRegressions/genericProperty.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // IGNORE_BACKEND: NATIVE //For KT-6020 diff --git a/compiler/testData/codegen/box/ir/serializationRegressions/signatureClash.kt b/compiler/testData/codegen/box/ir/serializationRegressions/signatureClash.kt index 197bfd2f9ac..5c77a53a785 100644 --- a/compiler/testData/codegen/box/ir/serializationRegressions/signatureClash.kt +++ b/compiler/testData/codegen/box/ir/serializationRegressions/signatureClash.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SERIALIZATION_REGRESSION // IGNORE_BACKEND: JS // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/ir/serializationRegressions/transitiveClash.kt b/compiler/testData/codegen/box/ir/serializationRegressions/transitiveClash.kt index 937253f148d..cb91e2572d7 100644 --- a/compiler/testData/codegen/box/ir/serializationRegressions/transitiveClash.kt +++ b/compiler/testData/codegen/box/ir/serializationRegressions/transitiveClash.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SERIALIZATION_REGRESSION // IGNORE_BACKEND_FIR: JVM_IR // EXPECTED_REACHABLE_NODES: 1304 // IGNORE_BACKEND: JS_IR diff --git a/compiler/testData/codegen/box/javaInterop/notNullAssertions/mapPut.kt b/compiler/testData/codegen/box/javaInterop/notNullAssertions/mapPut.kt index a9331b0a576..0d0f966597d 100644 --- a/compiler/testData/codegen/box/javaInterop/notNullAssertions/mapPut.kt +++ b/compiler/testData/codegen/box/javaInterop/notNullAssertions/mapPut.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME fun foo(k: K, v: V) { diff --git a/compiler/testData/codegen/box/javaInterop/objectMethods/cloneCallsConstructor.kt b/compiler/testData/codegen/box/javaInterop/objectMethods/cloneCallsConstructor.kt index 5d3c19faf6b..db066398bb6 100644 --- a/compiler/testData/codegen/box/javaInterop/objectMethods/cloneCallsConstructor.kt +++ b/compiler/testData/codegen/box/javaInterop/objectMethods/cloneCallsConstructor.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/javaInterop/objectMethods/cloneCallsSuper.kt b/compiler/testData/codegen/box/javaInterop/objectMethods/cloneCallsSuper.kt index bae9abe4546..da7000fcc6e 100644 --- a/compiler/testData/codegen/box/javaInterop/objectMethods/cloneCallsSuper.kt +++ b/compiler/testData/codegen/box/javaInterop/objectMethods/cloneCallsSuper.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/javaInterop/objectMethods/cloneCallsSuperAndModifies.kt b/compiler/testData/codegen/box/javaInterop/objectMethods/cloneCallsSuperAndModifies.kt index 0592dde415b..033eb6ece26 100644 --- a/compiler/testData/codegen/box/javaInterop/objectMethods/cloneCallsSuperAndModifies.kt +++ b/compiler/testData/codegen/box/javaInterop/objectMethods/cloneCallsSuperAndModifies.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/javaInterop/objectMethods/cloneableClassWithoutClone.kt b/compiler/testData/codegen/box/javaInterop/objectMethods/cloneableClassWithoutClone.kt index 675635ce024..4d64c076929 100644 --- a/compiler/testData/codegen/box/javaInterop/objectMethods/cloneableClassWithoutClone.kt +++ b/compiler/testData/codegen/box/javaInterop/objectMethods/cloneableClassWithoutClone.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/jdk/arrayList.kt b/compiler/testData/codegen/box/jdk/arrayList.kt index d0ceaccac7f..96396bad55e 100644 --- a/compiler/testData/codegen/box/jdk/arrayList.kt +++ b/compiler/testData/codegen/box/jdk/arrayList.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/jdk/hashMap.kt b/compiler/testData/codegen/box/jdk/hashMap.kt index 6bdb266364b..4f971645c29 100644 --- a/compiler/testData/codegen/box/jdk/hashMap.kt +++ b/compiler/testData/codegen/box/jdk/hashMap.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/jdk/iteratingOverHashMap.kt b/compiler/testData/codegen/box/jdk/iteratingOverHashMap.kt index bdbdbfbf127..da05dd4d9ea 100644 --- a/compiler/testData/codegen/box/jdk/iteratingOverHashMap.kt +++ b/compiler/testData/codegen/box/jdk/iteratingOverHashMap.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME fun box() : String { diff --git a/compiler/testData/codegen/box/jdk/kt1397.kt b/compiler/testData/codegen/box/jdk/kt1397.kt index 33116232260..46f4cda8163 100644 --- a/compiler/testData/codegen/box/jdk/kt1397.kt +++ b/compiler/testData/codegen/box/jdk/kt1397.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: NATIVE diff --git a/compiler/testData/codegen/box/lazyCodegen/exceptionInFieldInitializer.kt b/compiler/testData/codegen/box/lazyCodegen/exceptionInFieldInitializer.kt index f086e0ca2ff..4104557fbe6 100644 --- a/compiler/testData/codegen/box/lazyCodegen/exceptionInFieldInitializer.kt +++ b/compiler/testData/codegen/box/lazyCodegen/exceptionInFieldInitializer.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED class A(val p: String) { val prop: String = throw RuntimeException() } diff --git a/compiler/testData/codegen/box/lazyCodegen/safeCallAndArray.kt b/compiler/testData/codegen/box/lazyCodegen/safeCallAndArray.kt index 90b61d66b5f..59b14a96e31 100644 --- a/compiler/testData/codegen/box/lazyCodegen/safeCallAndArray.kt +++ b/compiler/testData/codegen/box/lazyCodegen/safeCallAndArray.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: NULLABLE_BOX_FUNCTION class C { fun calc() : String { return "OK" diff --git a/compiler/testData/codegen/box/lazyCodegen/tryCatchExpression.kt b/compiler/testData/codegen/box/lazyCodegen/tryCatchExpression.kt index 8617a79e1cf..13a575ecf26 100644 --- a/compiler/testData/codegen/box/lazyCodegen/tryCatchExpression.kt +++ b/compiler/testData/codegen/box/lazyCodegen/tryCatchExpression.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED class A { val p : Int = try{ 1 diff --git a/compiler/testData/codegen/box/localClasses/closureWithSelfInstantiation.kt b/compiler/testData/codegen/box/localClasses/closureWithSelfInstantiation.kt index 20727829c28..102e9d67efc 100644 --- a/compiler/testData/codegen/box/localClasses/closureWithSelfInstantiation.kt +++ b/compiler/testData/codegen/box/localClasses/closureWithSelfInstantiation.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNKNOWN // Enable for JVM backend when KT-8120 gets fixed // IGNORE_BACKEND: JVM diff --git a/compiler/testData/codegen/box/localClasses/localGenericWithTypeParameters.kt b/compiler/testData/codegen/box/localClasses/localGenericWithTypeParameters.kt index 769b77915ef..a93ac89fe39 100644 --- a/compiler/testData/codegen/box/localClasses/localGenericWithTypeParameters.kt +++ b/compiler/testData/codegen/box/localClasses/localGenericWithTypeParameters.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: CLASS_REFERENCES class Q { fun qz(x: T, block: (T) -> String) = block(x) diff --git a/compiler/testData/codegen/box/localClasses/nameWithWhitespace.kt b/compiler/testData/codegen/box/localClasses/nameWithWhitespace.kt index 0128446c2d7..c9de3c01073 100644 --- a/compiler/testData/codegen/box/localClasses/nameWithWhitespace.kt +++ b/compiler/testData/codegen/box/localClasses/nameWithWhitespace.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/mangling/parentheses.kt b/compiler/testData/codegen/box/mangling/parentheses.kt index 220f88e6242..dbb951c4e5f 100644 --- a/compiler/testData/codegen/box/mangling/parentheses.kt +++ b/compiler/testData/codegen/box/mangling/parentheses.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !SANITIZE_PARENTHESES // IGNORE_BACKEND: JS, JS_IR // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/mixedNamedPosition/varargs.kt b/compiler/testData/codegen/box/mixedNamedPosition/varargs.kt index e680a11a175..d2ae696d2c3 100644 --- a/compiler/testData/codegen/box/mixedNamedPosition/varargs.kt +++ b/compiler/testData/codegen/box/mixedNamedPosition/varargs.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SPREAD_OPERATOR // !LANGUAGE: +NewInference +MixedNamedArgumentsInTheirOwnPosition fun foo1( diff --git a/compiler/testData/codegen/box/mixedNamedPosition/varargsEvaluationOrder.kt b/compiler/testData/codegen/box/mixedNamedPosition/varargsEvaluationOrder.kt index 2ce370a8eb0..2202c7b0c4a 100644 --- a/compiler/testData/codegen/box/mixedNamedPosition/varargsEvaluationOrder.kt +++ b/compiler/testData/codegen/box/mixedNamedPosition/varargsEvaluationOrder.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SPREAD_OPERATOR // !LANGUAGE: +NewInference +MixedNamedArgumentsInTheirOwnPosition // IGNORE_BACKEND: JVM // See KT-17691: Wrong argument order in resolved call with varargs. (fixed in JVM_IR) diff --git a/compiler/testData/codegen/box/multiDecl/component.kt b/compiler/testData/codegen/box/multiDecl/component.kt index b021d1a2e2c..b8334d92b84 100644 --- a/compiler/testData/codegen/box/multiDecl/component.kt +++ b/compiler/testData/codegen/box/multiDecl/component.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_TEXT // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclFor.kt b/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclFor.kt index e96af75d108..63055b18f06 100644 --- a/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclFor.kt +++ b/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclFor.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME class C(val i: Int) { operator fun component1() = i + 1 diff --git a/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForComponentExtensions.kt b/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForComponentExtensions.kt index 0105f400e8f..fa433144020 100644 --- a/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForComponentExtensions.kt +++ b/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForComponentExtensions.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME class C(val i: Int) { } diff --git a/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForComponentMemberExtensions.kt b/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForComponentMemberExtensions.kt index b471446f2a5..d056b6a8162 100644 --- a/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForComponentMemberExtensions.kt +++ b/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForComponentMemberExtensions.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME class C(val i: Int) { } diff --git a/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt b/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt index c80a394568c..2f13c73517d 100644 --- a/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt +++ b/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME class C(val i: Int) { } diff --git a/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForValCaptured.kt b/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForValCaptured.kt index b1776f685f3..a8afbba9011 100644 --- a/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForValCaptured.kt +++ b/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForValCaptured.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME class C(val i: Int) { operator fun component1() = i + 1 diff --git a/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentExtensions.kt b/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentExtensions.kt index 872d2a9545b..166b7cd8e79 100644 --- a/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentExtensions.kt +++ b/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentExtensions.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME operator fun Long.component1() = this + 1 operator fun Long.component2() = this + 2 diff --git a/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentExtensionsValCaptured.kt b/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentExtensionsValCaptured.kt index 814344fba6e..914bfa2dbf4 100644 --- a/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentExtensionsValCaptured.kt +++ b/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentExtensionsValCaptured.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME operator fun Long.component1() = this + 1 operator fun Long.component2() = this + 2 diff --git a/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentMemberExtensions.kt b/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentMemberExtensions.kt index 3c8e9e671e8..d066aadc089 100644 --- a/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentMemberExtensions.kt +++ b/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentMemberExtensions.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME class M { operator fun Long.component1() = this + 1 diff --git a/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt b/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt index dc8fc860e69..c13cab0358d 100644 --- a/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt +++ b/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME class M { operator fun Long.component1() = this + 1 diff --git a/compiler/testData/codegen/box/multiDecl/kt9828_hashMap.kt b/compiler/testData/codegen/box/multiDecl/kt9828_hashMap.kt index e2b24dbde61..573dc1e86ad 100644 --- a/compiler/testData/codegen/box/multiDecl/kt9828_hashMap.kt +++ b/compiler/testData/codegen/box/multiDecl/kt9828_hashMap.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/dispatchReceiverValue.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/dispatchReceiverValue.kt index b93a0c189ab..5f9679996b6 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/dispatchReceiverValue.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/dispatchReceiverValue.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXPECT_DEFAULT_PARAMETERS // !LANGUAGE: +MultiPlatformProjects // FILE: common.kt diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/superCall.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/superCall.kt index 3b824cb7fcf..855d40b78d9 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/superCall.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/superCall.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXPECT_DEFAULT_PARAMETERS // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: NATIVE diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/suspend.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/suspend.kt index edf4b923c79..cc9bd0a6a7e 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/suspend.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/suspend.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: NATIVE diff --git a/compiler/testData/codegen/box/nothingValue/nothingValueException.kt b/compiler/testData/codegen/box/nothingValue/nothingValueException.kt index f680d56adc6..25c4469ac1f 100644 --- a/compiler/testData/codegen/box/nothingValue/nothingValueException.kt +++ b/compiler/testData/codegen/box/nothingValue/nothingValueException.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // IGNORE_BACKEND: JS fun something(): T = Any() as T diff --git a/compiler/testData/codegen/box/objectIntrinsics/objects.kt b/compiler/testData/codegen/box/objectIntrinsics/objects.kt index 3eddefd5794..dc3bb8738aa 100644 --- a/compiler/testData/codegen/box/objectIntrinsics/objects.kt +++ b/compiler/testData/codegen/box/objectIntrinsics/objects.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED package foo fun box(): String { diff --git a/compiler/testData/codegen/box/objects/kt1047.kt b/compiler/testData/codegen/box/objects/kt1047.kt index 52aa34dd1e2..cfb4ca092a9 100644 --- a/compiler/testData/codegen/box/objects/kt1047.kt +++ b/compiler/testData/codegen/box/objects/kt1047.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/objects/kt1737.kt b/compiler/testData/codegen/box/objects/kt1737.kt index b34628e3451..382dac83225 100644 --- a/compiler/testData/codegen/box/objects/kt1737.kt +++ b/compiler/testData/codegen/box/objects/kt1737.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/objects/kt2663_2.kt b/compiler/testData/codegen/box/objects/kt2663_2.kt index 5ede08cc8d9..fd4a25a4312 100644 --- a/compiler/testData/codegen/box/objects/kt2663_2.kt +++ b/compiler/testData/codegen/box/objects/kt2663_2.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/objects/kt3238.kt b/compiler/testData/codegen/box/objects/kt3238.kt index 1e4bae1e664..20b60cef963 100644 --- a/compiler/testData/codegen/box/objects/kt3238.kt +++ b/compiler/testData/codegen/box/objects/kt3238.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/objects/kt535.kt b/compiler/testData/codegen/box/objects/kt535.kt index 2c9c2f9f286..6f495c7316b 100644 --- a/compiler/testData/codegen/box/objects/kt535.kt +++ b/compiler/testData/codegen/box/objects/kt535.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/objects/localFunctionInObjectInitializer_kt4516.kt b/compiler/testData/codegen/box/objects/localFunctionInObjectInitializer_kt4516.kt index b86b48aee52..942a4aabeec 100644 --- a/compiler/testData/codegen/box/objects/localFunctionInObjectInitializer_kt4516.kt +++ b/compiler/testData/codegen/box/objects/localFunctionInObjectInitializer_kt4516.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME object O { diff --git a/compiler/testData/codegen/box/objects/objectVsClassInitialization_kt5291.kt b/compiler/testData/codegen/box/objects/objectVsClassInitialization_kt5291.kt index 82a84f5745a..46b10af7f3c 100644 --- a/compiler/testData/codegen/box/objects/objectVsClassInitialization_kt5291.kt +++ b/compiler/testData/codegen/box/objects/objectVsClassInitialization_kt5291.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME public inline fun T.with(f: T.() -> Unit): T { this.f() diff --git a/compiler/testData/codegen/box/oldLanguageVersions/dataClassEqualsHashCodeToString.kt b/compiler/testData/codegen/box/oldLanguageVersions/dataClassEqualsHashCodeToString.kt index 9ee31d60fad..f119ed303d2 100644 --- a/compiler/testData/codegen/box/oldLanguageVersions/dataClassEqualsHashCodeToString.kt +++ b/compiler/testData/codegen/box/oldLanguageVersions/dataClassEqualsHashCodeToString.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // !LANGUAGE: -DataClassInheritance // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/oldLanguageVersions/functions/bigArity/noBigFunctionTypes.kt b/compiler/testData/codegen/box/oldLanguageVersions/functions/bigArity/noBigFunctionTypes.kt index 1dd13185e96..88ff5984d07 100644 --- a/compiler/testData/codegen/box/oldLanguageVersions/functions/bigArity/noBigFunctionTypes.kt +++ b/compiler/testData/codegen/box/oldLanguageVersions/functions/bigArity/noBigFunctionTypes.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BIG_ARITY // !LANGUAGE: -FunctionTypesWithBigArity // This test does not make sense for JVM because a diagnostic is reported when function types with big arity are not available diff --git a/compiler/testData/codegen/box/operatorConventions/kt14227.kt b/compiler/testData/codegen/box/operatorConventions/kt14227.kt index 2c2047b91a3..97bc64010da 100644 --- a/compiler/testData/codegen/box/operatorConventions/kt14227.kt +++ b/compiler/testData/codegen/box/operatorConventions/kt14227.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME // FULL_JDK diff --git a/compiler/testData/codegen/box/operatorConventions/plusAssignWithComplexRHS.kt b/compiler/testData/codegen/box/operatorConventions/plusAssignWithComplexRHS.kt index 090deebc2fb..b2bc3676247 100644 --- a/compiler/testData/codegen/box/operatorConventions/plusAssignWithComplexRHS.kt +++ b/compiler/testData/codegen/box/operatorConventions/plusAssignWithComplexRHS.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/optimizations/kt20844.kt b/compiler/testData/codegen/box/optimizations/kt20844.kt index 3f5b613e05a..3964a5f1bdf 100644 --- a/compiler/testData/codegen/box/optimizations/kt20844.kt +++ b/compiler/testData/codegen/box/optimizations/kt20844.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME //WITH_RUNTIME diff --git a/compiler/testData/codegen/box/package/initializationOrder.kt b/compiler/testData/codegen/box/package/initializationOrder.kt index 9df27c40c3e..f64a2384fb2 100644 --- a/compiler/testData/codegen/box/package/initializationOrder.kt +++ b/compiler/testData/codegen/box/package/initializationOrder.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/package/invokespecial.kt b/compiler/testData/codegen/box/package/invokespecial.kt index 240ffb5b5d4..ba476e8b635 100644 --- a/compiler/testData/codegen/box/package/invokespecial.kt +++ b/compiler/testData/codegen/box/package/invokespecial.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/package/referenceWithTheSameNameAsPackage.kt b/compiler/testData/codegen/box/package/referenceWithTheSameNameAsPackage.kt index 9ac3ac1385f..567b0bdaefe 100644 --- a/compiler/testData/codegen/box/package/referenceWithTheSameNameAsPackage.kt +++ b/compiler/testData/codegen/box/package/referenceWithTheSameNameAsPackage.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // !LANGUAGE: +NewInference // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/primitiveTypes/ea35963.kt b/compiler/testData/codegen/box/primitiveTypes/ea35963.kt index bdd1b87f613..223c639f715 100644 --- a/compiler/testData/codegen/box/primitiveTypes/ea35963.kt +++ b/compiler/testData/codegen/box/primitiveTypes/ea35963.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: WASM fun box(): String { if (1 != 0) { diff --git a/compiler/testData/codegen/box/primitiveTypes/kt684.kt b/compiler/testData/codegen/box/primitiveTypes/kt684.kt index e4b22208182..0ef3f453ad6 100644 --- a/compiler/testData/codegen/box/primitiveTypes/kt684.kt +++ b/compiler/testData/codegen/box/primitiveTypes/kt684.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/primitiveTypes/kt752.kt b/compiler/testData/codegen/box/primitiveTypes/kt752.kt index dcb7cc232e5..8e7eb60ca9b 100644 --- a/compiler/testData/codegen/box/primitiveTypes/kt752.kt +++ b/compiler/testData/codegen/box/primitiveTypes/kt752.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/primitiveTypes/kt753.kt b/compiler/testData/codegen/box/primitiveTypes/kt753.kt index f7199d4755c..596eb4103a5 100644 --- a/compiler/testData/codegen/box/primitiveTypes/kt753.kt +++ b/compiler/testData/codegen/box/primitiveTypes/kt753.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/primitiveTypes/kt756.kt b/compiler/testData/codegen/box/primitiveTypes/kt756.kt index e2874694a23..2864024d1d1 100644 --- a/compiler/testData/codegen/box/primitiveTypes/kt756.kt +++ b/compiler/testData/codegen/box/primitiveTypes/kt756.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/primitiveTypes/kt757.kt b/compiler/testData/codegen/box/primitiveTypes/kt757.kt index e5bfe97d3d9..bae3f2a9a89 100644 --- a/compiler/testData/codegen/box/primitiveTypes/kt757.kt +++ b/compiler/testData/codegen/box/primitiveTypes/kt757.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/primitiveTypes/kt935.kt b/compiler/testData/codegen/box/primitiveTypes/kt935.kt index c80451219d2..d18766ac276 100644 --- a/compiler/testData/codegen/box/primitiveTypes/kt935.kt +++ b/compiler/testData/codegen/box/primitiveTypes/kt935.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/primitiveTypes/nullAsNullableIntIsNull.kt b/compiler/testData/codegen/box/primitiveTypes/nullAsNullableIntIsNull.kt index a9273088e10..e30c1d3aadd 100644 --- a/compiler/testData/codegen/box/primitiveTypes/nullAsNullableIntIsNull.kt +++ b/compiler/testData/codegen/box/primitiveTypes/nullAsNullableIntIsNull.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun box(): String { try { if ((null as Int?)!! == 10) return "Fail #1" diff --git a/compiler/testData/codegen/box/primitiveTypes/stringEqualsHashCodeToString.kt b/compiler/testData/codegen/box/primitiveTypes/stringEqualsHashCodeToString.kt index 4916436b4d2..96c53bef210 100644 --- a/compiler/testData/codegen/box/primitiveTypes/stringEqualsHashCodeToString.kt +++ b/compiler/testData/codegen/box/primitiveTypes/stringEqualsHashCodeToString.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: String.hashCode() // IGNORE_BACKEND: NATIVE fun test(s: String) { diff --git a/compiler/testData/codegen/box/primitiveTypes/substituteIntForGeneric.kt b/compiler/testData/codegen/box/primitiveTypes/substituteIntForGeneric.kt index 43351b8a432..c3c08d50bfa 100644 --- a/compiler/testData/codegen/box/primitiveTypes/substituteIntForGeneric.kt +++ b/compiler/testData/codegen/box/primitiveTypes/substituteIntForGeneric.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/properties/accessToPrivateSetter.kt b/compiler/testData/codegen/box/properties/accessToPrivateSetter.kt index 0fd75b1a33f..7f8207ec70f 100644 --- a/compiler/testData/codegen/box/properties/accessToPrivateSetter.kt +++ b/compiler/testData/codegen/box/properties/accessToPrivateSetter.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/properties/augmentedAssignmentsAndIncrements.kt b/compiler/testData/codegen/box/properties/augmentedAssignmentsAndIncrements.kt index bde3c09d5c4..939a462b86f 100644 --- a/compiler/testData/codegen/box/properties/augmentedAssignmentsAndIncrements.kt +++ b/compiler/testData/codegen/box/properties/augmentedAssignmentsAndIncrements.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // Enable when KT-14833 is fixed. // IGNORE_BACKEND: JVM import kotlin.reflect.KProperty diff --git a/compiler/testData/codegen/box/properties/complexPropertyInitializer.kt b/compiler/testData/codegen/box/properties/complexPropertyInitializer.kt index 02c5661994a..d961a8d49d7 100644 --- a/compiler/testData/codegen/box/properties/complexPropertyInitializer.kt +++ b/compiler/testData/codegen/box/properties/complexPropertyInitializer.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: COROUTINES // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/properties/genericPropertyMultiModule.kt b/compiler/testData/codegen/box/properties/genericPropertyMultiModule.kt index 5922a3102b6..0defd7bf64b 100644 --- a/compiler/testData/codegen/box/properties/genericPropertyMultiModule.kt +++ b/compiler/testData/codegen/box/properties/genericPropertyMultiModule.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // WITH_RUNTIME // MODULE: lib // FILE: common.kt diff --git a/compiler/testData/codegen/box/properties/kt1159.kt b/compiler/testData/codegen/box/properties/kt1159.kt index d53c1c2c00b..2f091cd6061 100644 --- a/compiler/testData/codegen/box/properties/kt1159.kt +++ b/compiler/testData/codegen/box/properties/kt1159.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/properties/kt1398.kt b/compiler/testData/codegen/box/properties/kt1398.kt index 85e4416c689..fa0cdd105ae 100644 --- a/compiler/testData/codegen/box/properties/kt1398.kt +++ b/compiler/testData/codegen/box/properties/kt1398.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_TEXT // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/properties/kt1714.kt b/compiler/testData/codegen/box/properties/kt1714.kt index 692a5ce3d11..9624bc8f496 100644 --- a/compiler/testData/codegen/box/properties/kt1714.kt +++ b/compiler/testData/codegen/box/properties/kt1714.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/properties/kt4383.kt b/compiler/testData/codegen/box/properties/kt4383.kt index 3a8d6e0a1e3..d4b8fe6bfec 100644 --- a/compiler/testData/codegen/box/properties/kt4383.kt +++ b/compiler/testData/codegen/box/properties/kt4383.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES import kotlin.reflect.KProperty class D { diff --git a/compiler/testData/codegen/box/properties/lateinit/accessorException.kt b/compiler/testData/codegen/box/properties/lateinit/accessorException.kt index bf4be90c919..19eb4747432 100644 --- a/compiler/testData/codegen/box/properties/lateinit/accessorException.kt +++ b/compiler/testData/codegen/box/properties/lateinit/accessorException.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED public class A { fun getFromClass(): Boolean { try { diff --git a/compiler/testData/codegen/box/properties/lateinit/accessorExceptionPublic.kt b/compiler/testData/codegen/box/properties/lateinit/accessorExceptionPublic.kt index bcfa741a789..b5e2cf5e05a 100644 --- a/compiler/testData/codegen/box/properties/lateinit/accessorExceptionPublic.kt +++ b/compiler/testData/codegen/box/properties/lateinit/accessorExceptionPublic.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED public class A { fun getFromClass(): Boolean { try { diff --git a/compiler/testData/codegen/box/properties/lateinit/exceptionField.kt b/compiler/testData/codegen/box/properties/lateinit/exceptionField.kt index 76120e7eff5..4e8b24630d4 100644 --- a/compiler/testData/codegen/box/properties/lateinit/exceptionField.kt +++ b/compiler/testData/codegen/box/properties/lateinit/exceptionField.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED class A { private lateinit var str: String diff --git a/compiler/testData/codegen/box/properties/lateinit/exceptionGetter.kt b/compiler/testData/codegen/box/properties/lateinit/exceptionGetter.kt index 35449a38fad..1b8c960328e 100644 --- a/compiler/testData/codegen/box/properties/lateinit/exceptionGetter.kt +++ b/compiler/testData/codegen/box/properties/lateinit/exceptionGetter.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED class A { public lateinit var str: String } diff --git a/compiler/testData/codegen/box/properties/lateinit/local/kt23260.kt b/compiler/testData/codegen/box/properties/lateinit/local/kt23260.kt index c5e7fcee0da..246cd4f44cb 100644 --- a/compiler/testData/codegen/box/properties/lateinit/local/kt23260.kt +++ b/compiler/testData/codegen/box/properties/lateinit/local/kt23260.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/properties/lateinit/local/uninitializedCapturedMemberAccess.kt b/compiler/testData/codegen/box/properties/lateinit/local/uninitializedCapturedMemberAccess.kt index 8735a8ec7e2..c390ea80d87 100644 --- a/compiler/testData/codegen/box/properties/lateinit/local/uninitializedCapturedMemberAccess.kt +++ b/compiler/testData/codegen/box/properties/lateinit/local/uninitializedCapturedMemberAccess.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // WITH_RUNTIME import kotlin.UninitializedPropertyAccessException diff --git a/compiler/testData/codegen/box/properties/lateinit/local/uninitializedCapturedRead.kt b/compiler/testData/codegen/box/properties/lateinit/local/uninitializedCapturedRead.kt index fed7824d7d5..8fb7dba2e16 100644 --- a/compiler/testData/codegen/box/properties/lateinit/local/uninitializedCapturedRead.kt +++ b/compiler/testData/codegen/box/properties/lateinit/local/uninitializedCapturedRead.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // WITH_RUNTIME import kotlin.UninitializedPropertyAccessException diff --git a/compiler/testData/codegen/box/properties/lateinit/local/uninitializedMemberAccess.kt b/compiler/testData/codegen/box/properties/lateinit/local/uninitializedMemberAccess.kt index d3d8acc31e5..e115e5dad5e 100644 --- a/compiler/testData/codegen/box/properties/lateinit/local/uninitializedMemberAccess.kt +++ b/compiler/testData/codegen/box/properties/lateinit/local/uninitializedMemberAccess.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // WITH_RUNTIME import kotlin.UninitializedPropertyAccessException diff --git a/compiler/testData/codegen/box/properties/lateinit/local/uninitializedRead.kt b/compiler/testData/codegen/box/properties/lateinit/local/uninitializedRead.kt index 9a58e3280b3..4e5c97f7a23 100644 --- a/compiler/testData/codegen/box/properties/lateinit/local/uninitializedRead.kt +++ b/compiler/testData/codegen/box/properties/lateinit/local/uninitializedRead.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // WITH_RUNTIME import kotlin.UninitializedPropertyAccessException diff --git a/compiler/testData/codegen/box/properties/lateinit/localClass.kt b/compiler/testData/codegen/box/properties/lateinit/localClass.kt index 9408c85507b..6a53283de4e 100644 --- a/compiler/testData/codegen/box/properties/lateinit/localClass.kt +++ b/compiler/testData/codegen/box/properties/lateinit/localClass.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // WITH_RUNTIME import kotlin.UninitializedPropertyAccessException diff --git a/compiler/testData/codegen/box/properties/lateinit/overrideException.kt b/compiler/testData/codegen/box/properties/lateinit/overrideException.kt index ffc98f1f128..438ab58eb7c 100644 --- a/compiler/testData/codegen/box/properties/lateinit/overrideException.kt +++ b/compiler/testData/codegen/box/properties/lateinit/overrideException.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED interface Intf { val str: String } diff --git a/compiler/testData/codegen/box/properties/lateinit/topLevel/accessorException.kt b/compiler/testData/codegen/box/properties/lateinit/topLevel/accessorException.kt index 16bc04a0a8b..704530d3200 100644 --- a/compiler/testData/codegen/box/properties/lateinit/topLevel/accessorException.kt +++ b/compiler/testData/codegen/box/properties/lateinit/topLevel/accessorException.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // WITH_RUNTIME // FILE: lateinit.kt private lateinit var s: String diff --git a/compiler/testData/codegen/box/properties/lateinit/topLevel/uninitializedMemberAccess.kt b/compiler/testData/codegen/box/properties/lateinit/topLevel/uninitializedMemberAccess.kt index ac24a14335f..6a668e76795 100644 --- a/compiler/testData/codegen/box/properties/lateinit/topLevel/uninitializedMemberAccess.kt +++ b/compiler/testData/codegen/box/properties/lateinit/topLevel/uninitializedMemberAccess.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // WITH_RUNTIME import kotlin.UninitializedPropertyAccessException diff --git a/compiler/testData/codegen/box/properties/lateinit/topLevel/uninitializedRead.kt b/compiler/testData/codegen/box/properties/lateinit/topLevel/uninitializedRead.kt index 9cc162d805c..f8ae570e96d 100644 --- a/compiler/testData/codegen/box/properties/lateinit/topLevel/uninitializedRead.kt +++ b/compiler/testData/codegen/box/properties/lateinit/topLevel/uninitializedRead.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // WITH_RUNTIME import kotlin.UninitializedPropertyAccessException diff --git a/compiler/testData/codegen/box/properties/primitiveOverrideDelegateAccessor.kt b/compiler/testData/codegen/box/properties/primitiveOverrideDelegateAccessor.kt index 008ef946010..790cf9f42f9 100644 --- a/compiler/testData/codegen/box/properties/primitiveOverrideDelegateAccessor.kt +++ b/compiler/testData/codegen/box/properties/primitiveOverrideDelegateAccessor.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES import kotlin.reflect.KProperty class Holder(var value: Int) { diff --git a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForCollection.kt b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForCollection.kt index ba4462fc97c..47812e4ad8e 100644 --- a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForCollection.kt +++ b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForCollection.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForComparableRange.kt b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForComparableRange.kt index f7338fc62cd..50d1f75f772 100644 --- a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForComparableRange.kt +++ b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForComparableRange.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForDownTo.kt b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForDownTo.kt index 6ea04b67d1c..a02f6358d2c 100644 --- a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForDownTo.kt +++ b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForDownTo.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // 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 fe5c62edf7f..d80af48de9f 100644 --- a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForDownToReversed.kt +++ b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForDownToReversed.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_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 0e5899de254..3403cbd73a8 100644 --- a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForNullableArgument.kt +++ b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForNullableArgument.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_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 5ab2d3d3794..74fc0ec6d45 100644 --- a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForRangeLiteral.kt +++ b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForRangeLiteral.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // 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 5f96894b6ae..29c64a8c5bc 100644 --- a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForRangeLiteralReversed.kt +++ b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForRangeLiteralReversed.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_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 d28c1f585f1..51f5880e247 100644 --- a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForUntil.kt +++ b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForUntil.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_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 e6ae37cdddd..bef63e1e570 100644 --- a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForUntilReversed.kt +++ b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForUntilReversed.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_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/generated/charDownTo.kt b/compiler/testData/codegen/box/ranges/contains/generated/charDownTo.kt index 031343a1659..e65f1041412 100644 --- a/compiler/testData/codegen/box/ranges/contains/generated/charDownTo.kt +++ b/compiler/testData/codegen/box/ranges/contains/generated/charDownTo.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by GenerateInRangeExpressionTestData. Do not edit! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/contains/generated/intDownTo.kt b/compiler/testData/codegen/box/ranges/contains/generated/intDownTo.kt index 5aab0a26ce3..5ce62bfc8f2 100644 --- a/compiler/testData/codegen/box/ranges/contains/generated/intDownTo.kt +++ b/compiler/testData/codegen/box/ranges/contains/generated/intDownTo.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by GenerateInRangeExpressionTestData. Do not edit! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/contains/generated/longDownTo.kt b/compiler/testData/codegen/box/ranges/contains/generated/longDownTo.kt index 2c0561beab1..2f8709a8145 100644 --- a/compiler/testData/codegen/box/ranges/contains/generated/longDownTo.kt +++ b/compiler/testData/codegen/box/ranges/contains/generated/longDownTo.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by GenerateInRangeExpressionTestData. Do not edit! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/contains/inCharSequence.kt b/compiler/testData/codegen/box/ranges/contains/inCharSequence.kt index 2ea22d9bc65..78913bbb258 100644 --- a/compiler/testData/codegen/box/ranges/contains/inCharSequence.kt +++ b/compiler/testData/codegen/box/ranges/contains/inCharSequence.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_TEXT // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/contains/inComparableRange.kt b/compiler/testData/codegen/box/ranges/contains/inComparableRange.kt index 8aad5a2332d..e045704d275 100644 --- a/compiler/testData/codegen/box/ranges/contains/inComparableRange.kt +++ b/compiler/testData/codegen/box/ranges/contains/inComparableRange.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/contains/inExtensionRange.kt b/compiler/testData/codegen/box/ranges/contains/inExtensionRange.kt index f6b5dd0e28e..35ad6714156 100644 --- a/compiler/testData/codegen/box/ranges/contains/inExtensionRange.kt +++ b/compiler/testData/codegen/box/ranges/contains/inExtensionRange.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: KOTLIN_TEST_LIB // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/contains/inIntRange.kt b/compiler/testData/codegen/box/ranges/contains/inIntRange.kt index 488c32c72d9..084443f69d4 100644 --- a/compiler/testData/codegen/box/ranges/contains/inIntRange.kt +++ b/compiler/testData/codegen/box/ranges/contains/inIntRange.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: KOTLIN_TEST_LIB // 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 7e2835d5809..22dbb55077e 100644 --- a/compiler/testData/codegen/box/ranges/contains/inOptimizableDoubleRange.kt +++ b/compiler/testData/codegen/box/ranges/contains/inOptimizableDoubleRange.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_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 54392597ad7..9afe687aec5 100644 --- a/compiler/testData/codegen/box/ranges/contains/inOptimizableFloatRange.kt +++ b/compiler/testData/codegen/box/ranges/contains/inOptimizableFloatRange.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_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 377ced92278..71c39a1d74b 100644 --- a/compiler/testData/codegen/box/ranges/contains/inOptimizableIntRange.kt +++ b/compiler/testData/codegen/box/ranges/contains/inOptimizableIntRange.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_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 22a087970f5..7e4c4ed80b5 100644 --- a/compiler/testData/codegen/box/ranges/contains/inOptimizableLongRange.kt +++ b/compiler/testData/codegen/box/ranges/contains/inOptimizableLongRange.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/contains/inPrimitiveProgression.kt b/compiler/testData/codegen/box/ranges/contains/inPrimitiveProgression.kt index b3328aba6d9..5734064a7ea 100644 --- a/compiler/testData/codegen/box/ranges/contains/inPrimitiveProgression.kt +++ b/compiler/testData/codegen/box/ranges/contains/inPrimitiveProgression.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/contains/inRangeWithCustomContains.kt b/compiler/testData/codegen/box/ranges/contains/inRangeWithCustomContains.kt index a03a60539d4..f2ca30dc4a7 100644 --- a/compiler/testData/codegen/box/ranges/contains/inRangeWithCustomContains.kt +++ b/compiler/testData/codegen/box/ranges/contains/inRangeWithCustomContains.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: KOTLIN_TEST_LIB // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/contains/inRangeWithImplicitReceiver.kt b/compiler/testData/codegen/box/ranges/contains/inRangeWithImplicitReceiver.kt index 8a700cd7644..b474c6ed2dd 100644 --- a/compiler/testData/codegen/box/ranges/contains/inRangeWithImplicitReceiver.kt +++ b/compiler/testData/codegen/box/ranges/contains/inRangeWithImplicitReceiver.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: KOTLIN_TEST_LIB // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/contains/inRangeWithNonmatchingArguments.kt b/compiler/testData/codegen/box/ranges/contains/inRangeWithNonmatchingArguments.kt index c675f47decf..352a565237b 100644 --- a/compiler/testData/codegen/box/ranges/contains/inRangeWithNonmatchingArguments.kt +++ b/compiler/testData/codegen/box/ranges/contains/inRangeWithNonmatchingArguments.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: KOTLIN_TEST_LIB // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/contains/inRangeWithSmartCast.kt b/compiler/testData/codegen/box/ranges/contains/inRangeWithSmartCast.kt index c5a0bfe5fce..e6b5bf670f6 100644 --- a/compiler/testData/codegen/box/ranges/contains/inRangeWithSmartCast.kt +++ b/compiler/testData/codegen/box/ranges/contains/inRangeWithSmartCast.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: KOTLIN_TEST_LIB // IGNORE_BACKEND: NATIVE // WITH_RUNTIME import kotlin.test.assertTrue diff --git a/compiler/testData/codegen/box/ranges/contains/kt20106.kt b/compiler/testData/codegen/box/ranges/contains/kt20106.kt index 52d5764705a..0635eb2d6d1 100644 --- a/compiler/testData/codegen/box/ranges/contains/kt20106.kt +++ b/compiler/testData/codegen/box/ranges/contains/kt20106.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/forInDownTo.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/forInDownTo.kt index d4d195a083f..877dc4ee760 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/forInDownTo.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/forInDownTo.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/forInDownToReversed.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/forInDownToReversed.kt index fad30bf9921..0561a2e8040 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/forInDownToReversed.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/forInDownToReversed.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/forInDownToReversedReversed.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/forInDownToReversedReversed.kt index 6dc1db94367..22d72ceaf6d 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/forInDownToReversedReversed.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/forInDownToReversedReversed.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/forInRangeLiteral.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/forInRangeLiteral.kt index fae58fac6ae..a8216b266b4 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/forInRangeLiteral.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/forInRangeLiteral.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/forInRangeLiteralReversed.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/forInRangeLiteralReversed.kt index 09b90f3f3e0..345f9ba369f 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/forInRangeLiteralReversed.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/forInRangeLiteralReversed.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/forInRangeLiteralReversedReversed.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/forInRangeLiteralReversedReversed.kt index 6a2397628b4..a45aced9721 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/forInRangeLiteralReversedReversed.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/forInRangeLiteralReversedReversed.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/forInUntil.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/forInUntil.kt index 8864b09d443..e69c8ef80d0 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/forInUntil.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/forInUntil.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/forInUntilReversed.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/forInUntilReversed.kt index 2e1eb651377..995a59464e8 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/forInUntilReversed.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/forInUntilReversed.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/forInUntilReversedReversed.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/forInUntilReversedReversed.kt index 0a6f11dc70c..fe31169853c 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/forInUntilReversedReversed.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/forInUntilReversedReversed.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToReversedStep.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToReversedStep.kt index 8d0f4686480..d9da7ce2c02 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToReversedStep.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToReversedStep.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToReversedStepReversed.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToReversedStepReversed.kt index 4fd070cbf37..f060967218b 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToReversedStepReversed.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToReversedStepReversed.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToReversedStepReversedStep.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToReversedStepReversedStep.kt index fc37dd3a01a..2fbad7323a1 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToReversedStepReversedStep.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToReversedStepReversedStep.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToStep.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToStep.kt index 2e718a0a471..c9be7b49b8d 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToStep.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToStep.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToStepReversed.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToStepReversed.kt index 2fec56814cd..0658b080261 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToStepReversed.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToStepReversed.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToStepReversedStep.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToStepReversedStep.kt index 6e04eba982d..bdcedf158e1 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToStepReversedStep.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToStepReversedStep.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToStepReversedStepReversed.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToStepReversedStepReversed.kt index bdd3a01c906..496d354fd99 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToStepReversedStepReversed.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToStepReversedStepReversed.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToStepStep.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToStepStep.kt index 11915f827a7..194b78b1922 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToStepStep.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo/forInDownToStepStep.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralReversedStep.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralReversedStep.kt index 4c58b930d6c..84d579173cf 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralReversedStep.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralReversedStep.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralReversedStepReversed.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralReversedStepReversed.kt index 5f802dcad28..f361ed95672 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralReversedStepReversed.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralReversedStepReversed.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralReversedStepReversedStep.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralReversedStepReversedStep.kt index 54842128a97..2576f4fa698 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralReversedStepReversedStep.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralReversedStepReversedStep.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralStep.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralStep.kt index 1866a7cf17a..2be9bba4df4 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralStep.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralStep.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralStepReversed.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralStepReversed.kt index 9cb7555e957..d78af3fabe1 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralStepReversed.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralStepReversed.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralStepReversedStep.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralStepReversedStep.kt index a5b685169f7..82e6bd16052 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralStepReversedStep.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralStepReversedStep.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralStepReversedStepReversed.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralStepReversedStepReversed.kt index 4b857b76258..91c42096828 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralStepReversedStepReversed.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralStepReversedStepReversed.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralStepStep.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralStepStep.kt index 687eea1b142..352c0559b6d 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralStepStep.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral/forInRangeLiteralStepStep.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilReversedStep.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilReversedStep.kt index a8f066ba207..4b8c1212d20 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilReversedStep.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilReversedStep.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilReversedStepReversed.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilReversedStepReversed.kt index ffc6592f0e3..939edcfcf5a 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilReversedStepReversed.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilReversedStepReversed.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilReversedStepReversedStep.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilReversedStepReversedStep.kt index e85cc6ff2fd..6822d8ea2d5 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilReversedStepReversedStep.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilReversedStepReversedStep.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilStep.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilStep.kt index d349928ef90..3bfbbbc0e6f 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilStep.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilStep.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilStepReversed.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilStepReversed.kt index ec98b9436f2..1690865e696 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilStepReversed.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilStepReversed.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilStepReversedStep.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilStepReversedStep.kt index bbef32df651..d4dabd36dba 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilStepReversedStep.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilStepReversedStep.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilStepReversedStepReversed.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilStepReversedStepReversed.kt index 194262dfd85..81aaf538064 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilStepReversedStepReversed.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilStepReversedStepReversed.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilStepStep.kt b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilStepStep.kt index a694fcd9c96..e5d886ce2ba 100644 --- a/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilStepStep.kt +++ b/compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil/forInUntilStepStep.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/expression/emptyDownto.kt b/compiler/testData/codegen/box/ranges/expression/emptyDownto.kt index a49a4d9f8b6..3e59268f861 100644 --- a/compiler/testData/codegen/box/ranges/expression/emptyDownto.kt +++ b/compiler/testData/codegen/box/ranges/expression/emptyDownto.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/emptyRange.kt b/compiler/testData/codegen/box/ranges/expression/emptyRange.kt index a7c6fbee514..87491f1b501 100644 --- a/compiler/testData/codegen/box/ranges/expression/emptyRange.kt +++ b/compiler/testData/codegen/box/ranges/expression/emptyRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/inexactDownToMinValue.kt b/compiler/testData/codegen/box/ranges/expression/inexactDownToMinValue.kt index 65b2dc73b44..6e5bbcf4e17 100644 --- a/compiler/testData/codegen/box/ranges/expression/inexactDownToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/expression/inexactDownToMinValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/inexactSteppedDownTo.kt b/compiler/testData/codegen/box/ranges/expression/inexactSteppedDownTo.kt index 4f20935fbe9..2e4a2734f08 100644 --- a/compiler/testData/codegen/box/ranges/expression/inexactSteppedDownTo.kt +++ b/compiler/testData/codegen/box/ranges/expression/inexactSteppedDownTo.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/inexactSteppedRange.kt b/compiler/testData/codegen/box/ranges/expression/inexactSteppedRange.kt index 3b58dfb0323..27f11dc1221 100644 --- a/compiler/testData/codegen/box/ranges/expression/inexactSteppedRange.kt +++ b/compiler/testData/codegen/box/ranges/expression/inexactSteppedRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/inexactToMaxValue.kt b/compiler/testData/codegen/box/ranges/expression/inexactToMaxValue.kt index 12e7fa96657..dc1e9008f75 100644 --- a/compiler/testData/codegen/box/ranges/expression/inexactToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/expression/inexactToMaxValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/maxValueMinusTwoToMaxValue.kt b/compiler/testData/codegen/box/ranges/expression/maxValueMinusTwoToMaxValue.kt index 95e444a9c9e..5328baccf1b 100644 --- a/compiler/testData/codegen/box/ranges/expression/maxValueMinusTwoToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/expression/maxValueMinusTwoToMaxValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/maxValueToMaxValue.kt b/compiler/testData/codegen/box/ranges/expression/maxValueToMaxValue.kt index 0d21d4fc7ca..cb969f5ccb8 100644 --- a/compiler/testData/codegen/box/ranges/expression/maxValueToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/expression/maxValueToMaxValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/maxValueToMinValue.kt b/compiler/testData/codegen/box/ranges/expression/maxValueToMinValue.kt index 0779afde7c6..357e781b5e4 100644 --- a/compiler/testData/codegen/box/ranges/expression/maxValueToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/expression/maxValueToMinValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/oneElementDownTo.kt b/compiler/testData/codegen/box/ranges/expression/oneElementDownTo.kt index e1e501bd110..69a5234916d 100644 --- a/compiler/testData/codegen/box/ranges/expression/oneElementDownTo.kt +++ b/compiler/testData/codegen/box/ranges/expression/oneElementDownTo.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/oneElementRange.kt b/compiler/testData/codegen/box/ranges/expression/oneElementRange.kt index ec086574042..cb450711aac 100644 --- a/compiler/testData/codegen/box/ranges/expression/oneElementRange.kt +++ b/compiler/testData/codegen/box/ranges/expression/oneElementRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/openRange.kt b/compiler/testData/codegen/box/ranges/expression/openRange.kt index 965ed9d8e8d..5d19f155526 100644 --- a/compiler/testData/codegen/box/ranges/expression/openRange.kt +++ b/compiler/testData/codegen/box/ranges/expression/openRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/overflowZeroDownToMaxValue.kt b/compiler/testData/codegen/box/ranges/expression/overflowZeroDownToMaxValue.kt index c2fbd02c31d..cc596c7bfc3 100644 --- a/compiler/testData/codegen/box/ranges/expression/overflowZeroDownToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/expression/overflowZeroDownToMaxValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/overflowZeroToMinValue.kt b/compiler/testData/codegen/box/ranges/expression/overflowZeroToMinValue.kt index b8eb8a5dbda..aabb30dde85 100644 --- a/compiler/testData/codegen/box/ranges/expression/overflowZeroToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/expression/overflowZeroToMinValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/progressionDownToMinValue.kt b/compiler/testData/codegen/box/ranges/expression/progressionDownToMinValue.kt index bb6ba102fc7..cb22f176cfa 100644 --- a/compiler/testData/codegen/box/ranges/expression/progressionDownToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/expression/progressionDownToMinValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/progressionMaxValueMinusTwoToMaxValue.kt b/compiler/testData/codegen/box/ranges/expression/progressionMaxValueMinusTwoToMaxValue.kt index 0909fbaaf23..5158292543a 100644 --- a/compiler/testData/codegen/box/ranges/expression/progressionMaxValueMinusTwoToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/expression/progressionMaxValueMinusTwoToMaxValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/progressionMaxValueToMaxValue.kt b/compiler/testData/codegen/box/ranges/expression/progressionMaxValueToMaxValue.kt index 9165b07671c..b2f2fae365b 100644 --- a/compiler/testData/codegen/box/ranges/expression/progressionMaxValueToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/expression/progressionMaxValueToMaxValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/progressionMaxValueToMinValue.kt b/compiler/testData/codegen/box/ranges/expression/progressionMaxValueToMinValue.kt index e7332bc0e9b..25a9870784b 100644 --- a/compiler/testData/codegen/box/ranges/expression/progressionMaxValueToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/expression/progressionMaxValueToMinValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/progressionMinValueToMinValue.kt b/compiler/testData/codegen/box/ranges/expression/progressionMinValueToMinValue.kt index c7b83b80f07..0f8e7ade089 100644 --- a/compiler/testData/codegen/box/ranges/expression/progressionMinValueToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/expression/progressionMinValueToMinValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/reversedBackSequence.kt b/compiler/testData/codegen/box/ranges/expression/reversedBackSequence.kt index cfa33912e6a..437e9ee1854 100644 --- a/compiler/testData/codegen/box/ranges/expression/reversedBackSequence.kt +++ b/compiler/testData/codegen/box/ranges/expression/reversedBackSequence.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/reversedEmptyBackSequence.kt b/compiler/testData/codegen/box/ranges/expression/reversedEmptyBackSequence.kt index bc07848c373..6d376b03ebb 100644 --- a/compiler/testData/codegen/box/ranges/expression/reversedEmptyBackSequence.kt +++ b/compiler/testData/codegen/box/ranges/expression/reversedEmptyBackSequence.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/reversedEmptyRange.kt b/compiler/testData/codegen/box/ranges/expression/reversedEmptyRange.kt index 05f396742ec..cf6f2a70d4b 100644 --- a/compiler/testData/codegen/box/ranges/expression/reversedEmptyRange.kt +++ b/compiler/testData/codegen/box/ranges/expression/reversedEmptyRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/reversedInexactSteppedDownTo.kt b/compiler/testData/codegen/box/ranges/expression/reversedInexactSteppedDownTo.kt index 81940e97584..766ef2ff02f 100644 --- a/compiler/testData/codegen/box/ranges/expression/reversedInexactSteppedDownTo.kt +++ b/compiler/testData/codegen/box/ranges/expression/reversedInexactSteppedDownTo.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/reversedRange.kt b/compiler/testData/codegen/box/ranges/expression/reversedRange.kt index 51da1df8774..83b625cb501 100644 --- a/compiler/testData/codegen/box/ranges/expression/reversedRange.kt +++ b/compiler/testData/codegen/box/ranges/expression/reversedRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/reversedSimpleSteppedRange.kt b/compiler/testData/codegen/box/ranges/expression/reversedSimpleSteppedRange.kt index 9e22b65f8c0..73ba1c83ba2 100644 --- a/compiler/testData/codegen/box/ranges/expression/reversedSimpleSteppedRange.kt +++ b/compiler/testData/codegen/box/ranges/expression/reversedSimpleSteppedRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/simpleDownTo.kt b/compiler/testData/codegen/box/ranges/expression/simpleDownTo.kt index 015ec164730..17625677df1 100644 --- a/compiler/testData/codegen/box/ranges/expression/simpleDownTo.kt +++ b/compiler/testData/codegen/box/ranges/expression/simpleDownTo.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/simpleRange.kt b/compiler/testData/codegen/box/ranges/expression/simpleRange.kt index 634155eea17..53f342ccb1f 100644 --- a/compiler/testData/codegen/box/ranges/expression/simpleRange.kt +++ b/compiler/testData/codegen/box/ranges/expression/simpleRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/simpleRangeWithNonConstantEnds.kt b/compiler/testData/codegen/box/ranges/expression/simpleRangeWithNonConstantEnds.kt index 2d56b9890c2..aa585af9f64 100644 --- a/compiler/testData/codegen/box/ranges/expression/simpleRangeWithNonConstantEnds.kt +++ b/compiler/testData/codegen/box/ranges/expression/simpleRangeWithNonConstantEnds.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/simpleSteppedDownTo.kt b/compiler/testData/codegen/box/ranges/expression/simpleSteppedDownTo.kt index 14997ebbf2e..90ea42cb902 100644 --- a/compiler/testData/codegen/box/ranges/expression/simpleSteppedDownTo.kt +++ b/compiler/testData/codegen/box/ranges/expression/simpleSteppedDownTo.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/expression/simpleSteppedRange.kt b/compiler/testData/codegen/box/ranges/expression/simpleSteppedRange.kt index 128176fe584..cb1985ec3dd 100644 --- a/compiler/testData/codegen/box/ranges/expression/simpleSteppedRange.kt +++ b/compiler/testData/codegen/box/ranges/expression/simpleSteppedRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/forInCharSequenceLengthDecreasedInLoopBody.kt b/compiler/testData/codegen/box/ranges/forInCharSequenceLengthDecreasedInLoopBody.kt index a1c065de731..3d5e11505b2 100644 --- a/compiler/testData/codegen/box/ranges/forInCharSequenceLengthDecreasedInLoopBody.kt +++ b/compiler/testData/codegen/box/ranges/forInCharSequenceLengthDecreasedInLoopBody.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/forInCharSequenceLengthIncreasedInLoopBody.kt b/compiler/testData/codegen/box/ranges/forInCharSequenceLengthIncreasedInLoopBody.kt index 827a056e7c5..4a74c6f6486 100644 --- a/compiler/testData/codegen/box/ranges/forInCharSequenceLengthIncreasedInLoopBody.kt +++ b/compiler/testData/codegen/box/ranges/forInCharSequenceLengthIncreasedInLoopBody.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/forInCharSequenceWithCustomIterator.kt b/compiler/testData/codegen/box/ranges/forInCharSequenceWithCustomIterator.kt index cbe68b5f5ee..b989a01c6e0 100644 --- a/compiler/testData/codegen/box/ranges/forInCharSequenceWithCustomIterator.kt +++ b/compiler/testData/codegen/box/ranges/forInCharSequenceWithCustomIterator.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/forInCharSequenceWithMultipleGetFunctions.kt b/compiler/testData/codegen/box/ranges/forInCharSequenceWithMultipleGetFunctions.kt index 968e2762f14..75e0cd79d53 100644 --- a/compiler/testData/codegen/box/ranges/forInCharSequenceWithMultipleGetFunctions.kt +++ b/compiler/testData/codegen/box/ranges/forInCharSequenceWithMultipleGetFunctions.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/forInCustomCharSequence.kt b/compiler/testData/codegen/box/ranges/forInCustomCharSequence.kt index ed53c560f44..f880d551193 100644 --- a/compiler/testData/codegen/box/ranges/forInCustomCharSequence.kt +++ b/compiler/testData/codegen/box/ranges/forInCustomCharSequence.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/forInCustomIterable.kt b/compiler/testData/codegen/box/ranges/forInCustomIterable.kt index c31564a45ea..ff7076709c1 100644 --- a/compiler/testData/codegen/box/ranges/forInCustomIterable.kt +++ b/compiler/testData/codegen/box/ranges/forInCustomIterable.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/forInIndices/forInArrayListIndices.kt b/compiler/testData/codegen/box/ranges/forInIndices/forInArrayListIndices.kt index dcc1c58d479..f6edb542853 100644 --- a/compiler/testData/codegen/box/ranges/forInIndices/forInArrayListIndices.kt +++ b/compiler/testData/codegen/box/ranges/forInIndices/forInArrayListIndices.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/forInIndices/kt43159_GenericArray.kt b/compiler/testData/codegen/box/ranges/forInIndices/kt43159_GenericArray.kt index c48f80f9caa..00e29d1305c 100644 --- a/compiler/testData/codegen/box/ranges/forInIndices/kt43159_GenericArray.kt +++ b/compiler/testData/codegen/box/ranges/forInIndices/kt43159_GenericArray.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInDownToWithIndex.kt b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInDownToWithIndex.kt index 98c87b1dc81..f29252c6d5c 100644 --- a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInDownToWithIndex.kt +++ b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInDownToWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInIndicesWithIndex.kt b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInIndicesWithIndex.kt index 7dd8a96ad9a..23756d0147c 100644 --- a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInIndicesWithIndex.kt +++ b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInIndicesWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInRangeToWithIndex.kt b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInRangeToWithIndex.kt index 3fe1c8fb9df..6297c28fe40 100644 --- a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInRangeToWithIndex.kt +++ b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInRangeToWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInReversedStepWithIndex.kt b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInReversedStepWithIndex.kt index 9e81c0bb604..41e6227cbc6 100644 --- a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInReversedStepWithIndex.kt +++ b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInReversedStepWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInReversedWithIndex.kt b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInReversedWithIndex.kt index 3f9c217af18..efdd1f9cc6d 100644 --- a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInReversedWithIndex.kt +++ b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInReversedWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInStepReversedWithIndex.kt b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInStepReversedWithIndex.kt index 891b409f125..a62e83b92e4 100644 --- a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInStepReversedWithIndex.kt +++ b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInStepReversedWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInStepWithIndex.kt b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInStepWithIndex.kt index 5910b69d52d..f346214e8b4 100644 --- a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInStepWithIndex.kt +++ b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInStepWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInUntilWithIndex.kt b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInUntilWithIndex.kt index 081f66ac43a..30ebcf944e2 100644 --- a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInUntilWithIndex.kt +++ b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInUntilWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInWithIndexBreakAndContinue.kt b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInWithIndexBreakAndContinue.kt index d11c9b4d262..68716864d05 100644 --- a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInWithIndexBreakAndContinue.kt +++ b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInWithIndexBreakAndContinue.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInWithIndexNoIndexOrElementVar.kt b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInWithIndexNoIndexOrElementVar.kt index e78bc9473fc..c99d850dd68 100644 --- a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInWithIndexNoIndexOrElementVar.kt +++ b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInWithIndexNoIndexOrElementVar.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInWithIndexNotDestructured.kt b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInWithIndexNotDestructured.kt index 7b4f47ecf94..926bbb5d46b 100644 --- a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInWithIndexNotDestructured.kt +++ b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInWithIndexNotDestructured.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInWithIndexReversed.kt b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInWithIndexReversed.kt index 1bc3860a203..b626a8f73c1 100644 --- a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInWithIndexReversed.kt +++ b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInWithIndexReversed.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInWithIndexWithDestructuringInLoop.kt b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInWithIndexWithDestructuringInLoop.kt index db09432b9fe..704ce043c08 100644 --- a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInWithIndexWithDestructuringInLoop.kt +++ b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInWithIndexWithDestructuringInLoop.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInWithIndexWithIndex.kt b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInWithIndexWithIndex.kt index 08c7ccb7ddc..66b2021de0e 100644 --- a/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInWithIndexWithIndex.kt +++ b/compiler/testData/codegen/box/ranges/forInProgressionWithIndex/forInWithIndexWithIndex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/kt37370.kt b/compiler/testData/codegen/box/ranges/kt37370.kt index b795fca4f5d..cb347b1e2b4 100644 --- a/compiler/testData/codegen/box/ranges/kt37370.kt +++ b/compiler/testData/codegen/box/ranges/kt37370.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // WITH_RUNTIME fun testContinue1() { diff --git a/compiler/testData/codegen/box/ranges/literal/emptyDownto.kt b/compiler/testData/codegen/box/ranges/literal/emptyDownto.kt index 433910468ac..1fd4cb79169 100644 --- a/compiler/testData/codegen/box/ranges/literal/emptyDownto.kt +++ b/compiler/testData/codegen/box/ranges/literal/emptyDownto.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/emptyRange.kt b/compiler/testData/codegen/box/ranges/literal/emptyRange.kt index 73583591445..87e06b99dae 100644 --- a/compiler/testData/codegen/box/ranges/literal/emptyRange.kt +++ b/compiler/testData/codegen/box/ranges/literal/emptyRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/inexactDownToMinValue.kt b/compiler/testData/codegen/box/ranges/literal/inexactDownToMinValue.kt index cb2ea5e30e2..bb4cdd20640 100644 --- a/compiler/testData/codegen/box/ranges/literal/inexactDownToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/literal/inexactDownToMinValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/inexactSteppedDownTo.kt b/compiler/testData/codegen/box/ranges/literal/inexactSteppedDownTo.kt index 6aa1f97b884..791c45f0a2e 100644 --- a/compiler/testData/codegen/box/ranges/literal/inexactSteppedDownTo.kt +++ b/compiler/testData/codegen/box/ranges/literal/inexactSteppedDownTo.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/inexactSteppedRange.kt b/compiler/testData/codegen/box/ranges/literal/inexactSteppedRange.kt index 9b82086ecfd..3eb6cac051a 100644 --- a/compiler/testData/codegen/box/ranges/literal/inexactSteppedRange.kt +++ b/compiler/testData/codegen/box/ranges/literal/inexactSteppedRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/inexactToMaxValue.kt b/compiler/testData/codegen/box/ranges/literal/inexactToMaxValue.kt index d1927194478..dba8da8d8b9 100644 --- a/compiler/testData/codegen/box/ranges/literal/inexactToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/literal/inexactToMaxValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/maxValueMinusTwoToMaxValue.kt b/compiler/testData/codegen/box/ranges/literal/maxValueMinusTwoToMaxValue.kt index b4e3652832e..0519f3b9794 100644 --- a/compiler/testData/codegen/box/ranges/literal/maxValueMinusTwoToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/literal/maxValueMinusTwoToMaxValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/maxValueToMaxValue.kt b/compiler/testData/codegen/box/ranges/literal/maxValueToMaxValue.kt index a75f5773a31..120ca7f4872 100644 --- a/compiler/testData/codegen/box/ranges/literal/maxValueToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/literal/maxValueToMaxValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/maxValueToMinValue.kt b/compiler/testData/codegen/box/ranges/literal/maxValueToMinValue.kt index c27b51836aa..c296cf71035 100644 --- a/compiler/testData/codegen/box/ranges/literal/maxValueToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/literal/maxValueToMinValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/oneElementDownTo.kt b/compiler/testData/codegen/box/ranges/literal/oneElementDownTo.kt index 4d7b46d6ae0..be8767c4fac 100644 --- a/compiler/testData/codegen/box/ranges/literal/oneElementDownTo.kt +++ b/compiler/testData/codegen/box/ranges/literal/oneElementDownTo.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/oneElementRange.kt b/compiler/testData/codegen/box/ranges/literal/oneElementRange.kt index ff2067aeb18..675631ddee8 100644 --- a/compiler/testData/codegen/box/ranges/literal/oneElementRange.kt +++ b/compiler/testData/codegen/box/ranges/literal/oneElementRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/openRange.kt b/compiler/testData/codegen/box/ranges/literal/openRange.kt index 9102b06fc3a..3b5f23dafe0 100644 --- a/compiler/testData/codegen/box/ranges/literal/openRange.kt +++ b/compiler/testData/codegen/box/ranges/literal/openRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/overflowZeroDownToMaxValue.kt b/compiler/testData/codegen/box/ranges/literal/overflowZeroDownToMaxValue.kt index c1c95024da5..d1606af92f5 100644 --- a/compiler/testData/codegen/box/ranges/literal/overflowZeroDownToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/literal/overflowZeroDownToMaxValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/overflowZeroToMinValue.kt b/compiler/testData/codegen/box/ranges/literal/overflowZeroToMinValue.kt index feed8bc7d1b..07050afed47 100644 --- a/compiler/testData/codegen/box/ranges/literal/overflowZeroToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/literal/overflowZeroToMinValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/progressionDownToMinValue.kt b/compiler/testData/codegen/box/ranges/literal/progressionDownToMinValue.kt index 264dc4c291c..de7375cc9a6 100644 --- a/compiler/testData/codegen/box/ranges/literal/progressionDownToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/literal/progressionDownToMinValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/progressionMaxValueMinusTwoToMaxValue.kt b/compiler/testData/codegen/box/ranges/literal/progressionMaxValueMinusTwoToMaxValue.kt index 46b0a4a0707..0f7b90feb30 100644 --- a/compiler/testData/codegen/box/ranges/literal/progressionMaxValueMinusTwoToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/literal/progressionMaxValueMinusTwoToMaxValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/progressionMaxValueToMaxValue.kt b/compiler/testData/codegen/box/ranges/literal/progressionMaxValueToMaxValue.kt index 15ae24f3a0f..709653fce69 100644 --- a/compiler/testData/codegen/box/ranges/literal/progressionMaxValueToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/literal/progressionMaxValueToMaxValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/progressionMaxValueToMinValue.kt b/compiler/testData/codegen/box/ranges/literal/progressionMaxValueToMinValue.kt index 47c0357d405..996bf71b4d9 100644 --- a/compiler/testData/codegen/box/ranges/literal/progressionMaxValueToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/literal/progressionMaxValueToMinValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/progressionMinValueToMinValue.kt b/compiler/testData/codegen/box/ranges/literal/progressionMinValueToMinValue.kt index 28d129c2ab4..9b19a9ad4ab 100644 --- a/compiler/testData/codegen/box/ranges/literal/progressionMinValueToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/literal/progressionMinValueToMinValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/reversedBackSequence.kt b/compiler/testData/codegen/box/ranges/literal/reversedBackSequence.kt index 4719e88a19b..a28cab111fa 100644 --- a/compiler/testData/codegen/box/ranges/literal/reversedBackSequence.kt +++ b/compiler/testData/codegen/box/ranges/literal/reversedBackSequence.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/reversedEmptyBackSequence.kt b/compiler/testData/codegen/box/ranges/literal/reversedEmptyBackSequence.kt index 56385626b0f..f8a4b969819 100644 --- a/compiler/testData/codegen/box/ranges/literal/reversedEmptyBackSequence.kt +++ b/compiler/testData/codegen/box/ranges/literal/reversedEmptyBackSequence.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/reversedEmptyRange.kt b/compiler/testData/codegen/box/ranges/literal/reversedEmptyRange.kt index 409b818d6c3..e85dcf517d2 100644 --- a/compiler/testData/codegen/box/ranges/literal/reversedEmptyRange.kt +++ b/compiler/testData/codegen/box/ranges/literal/reversedEmptyRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/reversedInexactSteppedDownTo.kt b/compiler/testData/codegen/box/ranges/literal/reversedInexactSteppedDownTo.kt index 50b9486fa09..2af043d9747 100644 --- a/compiler/testData/codegen/box/ranges/literal/reversedInexactSteppedDownTo.kt +++ b/compiler/testData/codegen/box/ranges/literal/reversedInexactSteppedDownTo.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/reversedRange.kt b/compiler/testData/codegen/box/ranges/literal/reversedRange.kt index 38bec62cd9a..b72801bbf52 100644 --- a/compiler/testData/codegen/box/ranges/literal/reversedRange.kt +++ b/compiler/testData/codegen/box/ranges/literal/reversedRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/reversedSimpleSteppedRange.kt b/compiler/testData/codegen/box/ranges/literal/reversedSimpleSteppedRange.kt index e55d9732629..ac53741107e 100644 --- a/compiler/testData/codegen/box/ranges/literal/reversedSimpleSteppedRange.kt +++ b/compiler/testData/codegen/box/ranges/literal/reversedSimpleSteppedRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/simpleDownTo.kt b/compiler/testData/codegen/box/ranges/literal/simpleDownTo.kt index 57ae1158e3f..bf8ea4b1b20 100644 --- a/compiler/testData/codegen/box/ranges/literal/simpleDownTo.kt +++ b/compiler/testData/codegen/box/ranges/literal/simpleDownTo.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/simpleRange.kt b/compiler/testData/codegen/box/ranges/literal/simpleRange.kt index 9e60bfb7645..8246181780d 100644 --- a/compiler/testData/codegen/box/ranges/literal/simpleRange.kt +++ b/compiler/testData/codegen/box/ranges/literal/simpleRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/simpleRangeWithNonConstantEnds.kt b/compiler/testData/codegen/box/ranges/literal/simpleRangeWithNonConstantEnds.kt index 05642cd81e2..f6b09ae6810 100644 --- a/compiler/testData/codegen/box/ranges/literal/simpleRangeWithNonConstantEnds.kt +++ b/compiler/testData/codegen/box/ranges/literal/simpleRangeWithNonConstantEnds.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/simpleSteppedDownTo.kt b/compiler/testData/codegen/box/ranges/literal/simpleSteppedDownTo.kt index 2de0daf85e8..724375467c4 100644 --- a/compiler/testData/codegen/box/ranges/literal/simpleSteppedDownTo.kt +++ b/compiler/testData/codegen/box/ranges/literal/simpleSteppedDownTo.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/literal/simpleSteppedRange.kt b/compiler/testData/codegen/box/ranges/literal/simpleSteppedRange.kt index 650e13c4b1e..3a90009a363 100644 --- a/compiler/testData/codegen/box/ranges/literal/simpleSteppedRange.kt +++ b/compiler/testData/codegen/box/ranges/literal/simpleSteppedRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/multiAssignmentIterationOverIntRange.kt b/compiler/testData/codegen/box/ranges/multiAssignmentIterationOverIntRange.kt index 7d76e00ffec..7a1471666f8 100644 --- a/compiler/testData/codegen/box/ranges/multiAssignmentIterationOverIntRange.kt +++ b/compiler/testData/codegen/box/ranges/multiAssignmentIterationOverIntRange.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/safeCallRangeTo.kt b/compiler/testData/codegen/box/ranges/safeCallRangeTo.kt index 524f5d21000..ce8430a4d96 100644 --- a/compiler/testData/codegen/box/ranges/safeCallRangeTo.kt +++ b/compiler/testData/codegen/box/ranges/safeCallRangeTo.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/ranges/stepped/expression/downTo/emptyProgression.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/emptyProgression.kt index 6f0cfef97b8..9f159184603 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/emptyProgression.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/emptyProgression.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/illegalStepNegative.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/illegalStepNegative.kt index c315db324d5..7b8499d71f1 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/illegalStepNegative.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/illegalStepNegative.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/illegalStepNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/illegalStepNonConst.kt index 23c6d858efd..86ddcce41c1 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/illegalStepNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/illegalStepNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/illegalStepThenLegalStep.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/illegalStepThenLegalStep.kt index 683d19dc8fa..6ca4106c3da 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/illegalStepThenLegalStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/illegalStepThenLegalStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/illegalStepZero.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/illegalStepZero.kt index 84cafa454b8..f4b5ca50429 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/illegalStepZero.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/illegalStepZero.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/legalStepThenIllegalStep.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/legalStepThenIllegalStep.kt index ec09945cf2e..5d505405a8b 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/legalStepThenIllegalStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/legalStepThenIllegalStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/maxValueToMinValueStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/maxValueToMinValueStepMaxValue.kt index 8afc4ddd45f..71e67ec184b 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/maxValueToMinValueStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/maxValueToMinValueStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/maxValueToOneStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/maxValueToOneStepMaxValue.kt index 071bd39161c..8fb4c68444e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/maxValueToOneStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/maxValueToOneStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/maxValueToZeroStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/maxValueToZeroStepMaxValue.kt index 72e798d2533..5b1d2d20d24 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/maxValueToZeroStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/maxValueToZeroStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/mixedTypeStep.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/mixedTypeStep.kt index 424396a89a9..fae1bfa5ad0 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/mixedTypeStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/mixedTypeStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepOneThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepOneThenStepOne.kt index 5f610042289..3f5dd9ca385 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepOneThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepOneThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepThenSameStep.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepThenSameStep.kt index 30dd1825543..0f4d17fa0ec 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepThenSameStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepThenSameStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepToSameLastThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepToSameLastThenStepOne.kt index 093451482b9..eb2e7c20851 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepToSameLastThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepToSameLastThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepToSameLastThenStepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepToSameLastThenStepToSameLast.kt index 1fd072a26dc..6dbcad49410 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepToSameLastThenStepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepToSameLastThenStepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt index 2a1e0dc40ac..5e53a68e5c2 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepToSmallerLastThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepToSmallerLastThenStepOne.kt index d48bd23379f..92d0247d5cb 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepToSmallerLastThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepToSmallerLastThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt index 269be1bd85e..fbff55b723d 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt index 2309028fa7a..09d536fc7bf 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed/reversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed/reversedThenStep.kt index 6d13ff089b6..4254441f1f9 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed/reversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed/reversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed/reversedThenStepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed/reversedThenStepThenReversed.kt index 3fc28d97217..56ab82d1825 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed/reversedThenStepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed/reversedThenStepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed/reversedThenStepThenReversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed/reversedThenStepThenReversedThenStep.kt index fdd896ba069..f9deab6af6b 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed/reversedThenStepThenReversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed/reversedThenStepThenReversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed/stepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed/stepThenReversed.kt index 181a5a3cc77..4532a33c6fe 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed/stepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed/stepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed/stepThenReversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed/stepThenReversedThenStep.kt index 219df8dbc40..e859ae91e53 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed/stepThenReversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed/stepThenReversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed/stepThenReversedThenStepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed/stepThenReversedThenStepThenReversed.kt index 5e5c5becc48..c7591059d15 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed/stepThenReversedThenStepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed/stepThenReversedThenStepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/singleElementStepTwo.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/singleElementStepTwo.kt index 8dbf9464a9e..43fb5868458 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/singleElementStepTwo.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/singleElementStepTwo.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/stepNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/stepNonConst.kt index 10f6d8868fa..3ee75b5c18e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/stepNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/stepNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/stepOne.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/stepOne.kt index 8698f11f718..bfa6c017f75 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/stepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/stepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/stepToOutsideRange.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/stepToOutsideRange.kt index cdb5f08da40..822ae571b2a 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/stepToOutsideRange.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/stepToOutsideRange.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/stepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/stepToSameLast.kt index bae285566f6..cfece3f836a 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/stepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/stepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/stepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/stepToSmallerLast.kt index 8aef71449cd..56cfb06150c 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/downTo/stepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/downTo/stepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/emptyProgression.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/emptyProgression.kt index bc5fd024fda..6f49ac6c79c 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/emptyProgression.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/emptyProgression.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/illegalStepNegative.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/illegalStepNegative.kt index 605c6d38b23..1d1ce374339 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/illegalStepNegative.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/illegalStepNegative.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/illegalStepNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/illegalStepNonConst.kt index 9044c70aeec..ecca9447b1f 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/illegalStepNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/illegalStepNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/illegalStepThenLegalStep.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/illegalStepThenLegalStep.kt index 07455f8b013..040c64da37a 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/illegalStepThenLegalStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/illegalStepThenLegalStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/illegalStepZero.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/illegalStepZero.kt index d8967548604..6f33ba9ea95 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/illegalStepZero.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/illegalStepZero.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/legalStepThenIllegalStep.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/legalStepThenIllegalStep.kt index 67675a0b0ff..1e9ba68d70b 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/legalStepThenIllegalStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/legalStepThenIllegalStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/minValueToMaxValueStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/minValueToMaxValueStepMaxValue.kt index ae8588bfc30..0efdc55110d 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/minValueToMaxValueStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/minValueToMaxValueStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/mixedTypeStep.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/mixedTypeStep.kt index 86d6444b8b6..af8669db6db 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/mixedTypeStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/mixedTypeStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepOneThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepOneThenStepOne.kt index d99686d1e66..c66e9664687 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepOneThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepOneThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepThenSameStep.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepThenSameStep.kt index e6849747721..13ff3ad3024 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepThenSameStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepThenSameStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepToSameLastThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepToSameLastThenStepOne.kt index f21328e3156..0afada60ef4 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepToSameLastThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepToSameLastThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepToSameLastThenStepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepToSameLastThenStepToSameLast.kt index ea62cb7b7b5..36f8ead4f2b 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepToSameLastThenStepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepToSameLastThenStepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt index e8911d0cbb4..4a5d0855755 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepToSmallerLastThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepToSmallerLastThenStepOne.kt index 2fafc8f9929..ee79f8e3329 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepToSmallerLastThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepToSmallerLastThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt index ea550457391..f67439cbe44 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt index f1828ed10ea..95631381a91 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/oneToMaxValueStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/oneToMaxValueStepMaxValue.kt index 75534998b14..b934cc79b61 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/oneToMaxValueStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/oneToMaxValueStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed/reversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed/reversedThenStep.kt index 6ab3858e680..22f67c51e29 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed/reversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed/reversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed/reversedThenStepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed/reversedThenStepThenReversed.kt index 1d2a625d425..1a2249e9f27 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed/reversedThenStepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed/reversedThenStepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed/reversedThenStepThenReversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed/reversedThenStepThenReversedThenStep.kt index 782c4f7debe..8e2db1afd2b 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed/reversedThenStepThenReversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed/reversedThenStepThenReversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed/stepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed/stepThenReversed.kt index c26c85f5eae..1538522975b 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed/stepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed/stepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed/stepThenReversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed/stepThenReversedThenStep.kt index 839c5783cc0..ec56ebfae48 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed/stepThenReversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed/stepThenReversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed/stepThenReversedThenStepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed/stepThenReversedThenStepThenReversed.kt index c60d8c5254c..3f12982746d 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed/stepThenReversedThenStepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed/stepThenReversedThenStepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/singleElementStepTwo.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/singleElementStepTwo.kt index 75ea6a544bc..a9d8076fc84 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/singleElementStepTwo.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/singleElementStepTwo.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/stepNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/stepNonConst.kt index 1d0319fea76..4a7d4800a7f 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/stepNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/stepNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/stepOne.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/stepOne.kt index bec2eaf2b3e..b9b4cf50ade 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/stepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/stepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/stepToOutsideRange.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/stepToOutsideRange.kt index ba1ec8f33a0..5158dcfa3c0 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/stepToOutsideRange.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/stepToOutsideRange.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/stepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/stepToSameLast.kt index 41fa84a76bd..c7d366942bd 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/stepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/stepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/stepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/stepToSmallerLast.kt index a289587c703..7c638f1b10c 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/stepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/stepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/zeroToMaxValueStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/zeroToMaxValueStepMaxValue.kt index a9961799e03..c86d962be0c 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/zeroToMaxValueStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/zeroToMaxValueStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/emptyProgression.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/emptyProgression.kt index 1c59dbb21b1..88dce5c7b7c 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/emptyProgression.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/emptyProgression.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/emptyProgressionToMinValue.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/emptyProgressionToMinValue.kt index 1f6de2f61e5..b7e7904de9d 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/emptyProgressionToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/emptyProgressionToMinValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/illegalStepNegative.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/illegalStepNegative.kt index 8ee8c5f4b19..99e2cacb340 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/illegalStepNegative.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/illegalStepNegative.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/illegalStepNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/illegalStepNonConst.kt index b51aeb2453b..173ebf8e958 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/illegalStepNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/illegalStepNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/illegalStepThenLegalStep.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/illegalStepThenLegalStep.kt index 026b2da6c99..992f5bc0142 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/illegalStepThenLegalStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/illegalStepThenLegalStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/illegalStepZero.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/illegalStepZero.kt index 933e2978ec0..53e1ae06b02 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/illegalStepZero.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/illegalStepZero.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/legalStepThenIllegalStep.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/legalStepThenIllegalStep.kt index 000f898f893..a0cffc6f692 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/legalStepThenIllegalStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/legalStepThenIllegalStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/minValueToMaxValueStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/minValueToMaxValueStepMaxValue.kt index 7a47e95b19f..f38278ac312 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/minValueToMaxValueStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/minValueToMaxValueStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/mixedTypeStep.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/mixedTypeStep.kt index 1ceb9bec7a2..9e9e60fd986 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/mixedTypeStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/mixedTypeStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepOneThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepOneThenStepOne.kt index f75f798ba6c..75b686c8f56 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepOneThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepOneThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepThenSameStep.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepThenSameStep.kt index ddac8c155f6..897322e9985 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepThenSameStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepThenSameStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepToSameLastThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepToSameLastThenStepOne.kt index f56de2c19eb..f5cdd1663e7 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepToSameLastThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepToSameLastThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepToSameLastThenStepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepToSameLastThenStepToSameLast.kt index 1df82ca4a7f..b6ee4fa11b1 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepToSameLastThenStepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepToSameLastThenStepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepToSameLastThenStepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepToSameLastThenStepToSmallerLast.kt index 2e541e05233..6c7d32106c8 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepToSameLastThenStepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepToSameLastThenStepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepToSmallerLastThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepToSmallerLastThenStepOne.kt index 5f8c7093441..b28be646998 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepToSmallerLastThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepToSmallerLastThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepToSmallerLastThenStepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepToSmallerLastThenStepToSameLast.kt index 529a3f73d98..d2095d79749 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepToSmallerLastThenStepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepToSmallerLastThenStepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt index 28df0e89054..eebb9567279 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/progressionToNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/progressionToNonConst.kt index 91e2d4755d3..e7a16570241 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/progressionToNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/progressionToNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/reversed/reversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/reversed/reversedThenStep.kt index 0d26524d594..3f912916317 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/reversed/reversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/reversed/reversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/reversed/reversedThenStepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/reversed/reversedThenStepThenReversed.kt index 5833042508e..6a58c17a743 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/reversed/reversedThenStepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/reversed/reversedThenStepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/reversed/reversedThenStepThenReversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/reversed/reversedThenStepThenReversedThenStep.kt index 57572890dea..26091635e0c 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/reversed/reversedThenStepThenReversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/reversed/reversedThenStepThenReversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/reversed/stepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/reversed/stepThenReversed.kt index 418c03d86cd..1638a4ca7f2 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/reversed/stepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/reversed/stepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/reversed/stepThenReversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/reversed/stepThenReversedThenStep.kt index 6d2f4c7bcc5..02479387fe4 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/reversed/stepThenReversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/reversed/stepThenReversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/reversed/stepThenReversedThenStepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/reversed/stepThenReversedThenStepThenReversed.kt index 42eeb4072a1..b45230beaa5 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/reversed/stepThenReversedThenStepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/reversed/stepThenReversedThenStepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/singleElementStepTwo.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/singleElementStepTwo.kt index 7bef33bfc6f..1ad18f58ccc 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/singleElementStepTwo.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/singleElementStepTwo.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/stepNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/stepNonConst.kt index ad2bcf8206f..1be754925e0 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/stepNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/stepNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/stepOne.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/stepOne.kt index 3ecd62cde83..886916e9e41 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/stepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/stepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/stepToOutsideRange.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/stepToOutsideRange.kt index 7407affe5d7..530dea9b46b 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/stepToOutsideRange.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/stepToOutsideRange.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/stepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/stepToSameLast.kt index f088b385fe8..142a44fd3b3 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/stepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/stepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/stepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/stepToSmallerLast.kt index a068c74ee0f..71126c845a2 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/stepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/stepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/expression/until/zeroToMaxValueStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/expression/until/zeroToMaxValueStepMaxValue.kt index 726f3fe9f03..ab77219475e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/expression/until/zeroToMaxValueStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/expression/until/zeroToMaxValueStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/emptyProgression.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/emptyProgression.kt index 25772418994..ed339203336 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/emptyProgression.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/emptyProgression.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/illegalStepNegative.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/illegalStepNegative.kt index 68d9f35206c..8ed1910af9e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/illegalStepNegative.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/illegalStepNegative.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // KT-34166: Translation of loop over literal completely removes the validation of step diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/illegalStepNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/illegalStepNonConst.kt index 48a3b202d37..59359331acb 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/illegalStepNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/illegalStepNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // KT-34166: Translation of loop over literal completely removes the validation of step diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/illegalStepThenLegalStep.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/illegalStepThenLegalStep.kt index a1d0ab868d6..f9cd5dd5677 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/illegalStepThenLegalStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/illegalStepThenLegalStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/illegalStepZero.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/illegalStepZero.kt index 47b36011ec1..24b8c26d7fc 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/illegalStepZero.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/illegalStepZero.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // KT-34166: Translation of loop over literal completely removes the validation of step diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/legalStepThenIllegalStep.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/legalStepThenIllegalStep.kt index 81ed6a3d1e3..4c79581440a 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/legalStepThenIllegalStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/legalStepThenIllegalStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/maxValueToMinValueStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/maxValueToMinValueStepMaxValue.kt index b7a64c00a7c..0f6a7bd8f29 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/maxValueToMinValueStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/maxValueToMinValueStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/maxValueToOneStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/maxValueToOneStepMaxValue.kt index e6d93a96a39..d55c9b6c1ae 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/maxValueToOneStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/maxValueToOneStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/maxValueToZeroStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/maxValueToZeroStepMaxValue.kt index 22f66590857..820e9a8f28d 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/maxValueToZeroStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/maxValueToZeroStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/mixedTypeStep.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/mixedTypeStep.kt index b8c9d749f38..e9ae7a15aff 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/mixedTypeStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/mixedTypeStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepOneThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepOneThenStepOne.kt index 48ba23af731..4f09de6c6b8 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepOneThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepOneThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepThenSameStep.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepThenSameStep.kt index 7a960789a8b..e537fd43502 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepThenSameStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepThenSameStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepToSameLastThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepToSameLastThenStepOne.kt index 7133d9931f4..9dd1437299e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepToSameLastThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepToSameLastThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepToSameLastThenStepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepToSameLastThenStepToSameLast.kt index 0793a2a548f..36c06a490c8 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepToSameLastThenStepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepToSameLastThenStepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt index 7cc7c4a5954..c451bdabbb3 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepToSmallerLastThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepToSmallerLastThenStepOne.kt index 801bcd25bbb..fbe81df4bf1 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepToSmallerLastThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepToSmallerLastThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt index d8be6a1b6ec..a6d8fd716f4 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt index ec84adedd77..5b7103ba6c5 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed/reversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed/reversedThenStep.kt index dbd11d202c4..367158c572f 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed/reversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed/reversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed/reversedThenStepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed/reversedThenStepThenReversed.kt index 9b134cc271b..bf6b76437b0 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed/reversedThenStepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed/reversedThenStepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed/reversedThenStepThenReversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed/reversedThenStepThenReversedThenStep.kt index df0f86c6313..1f7d2cab32a 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed/reversedThenStepThenReversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed/reversedThenStepThenReversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed/stepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed/stepThenReversed.kt index 9795b226dc5..a0654615c40 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed/stepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed/stepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed/stepThenReversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed/stepThenReversedThenStep.kt index be42d07af7d..55f7bca2de9 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed/stepThenReversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed/stepThenReversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed/stepThenReversedThenStepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed/stepThenReversedThenStepThenReversed.kt index 8ec37d6f545..3b78a77b7f5 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed/stepThenReversedThenStepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed/stepThenReversedThenStepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/singleElementStepTwo.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/singleElementStepTwo.kt index 469fa75015a..177a7842a05 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/singleElementStepTwo.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/singleElementStepTwo.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/stepNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/stepNonConst.kt index 82aad8644f1..cd96e4df7cf 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/stepNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/stepNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/stepOne.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/stepOne.kt index 916ff0c2bf7..2d63f5ee11a 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/stepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/stepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/stepToOutsideRange.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/stepToOutsideRange.kt index 2cc8d2d8694..122302f005c 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/stepToOutsideRange.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/stepToOutsideRange.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/stepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/stepToSameLast.kt index 0c202ae7bae..2af0c9294a1 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/stepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/stepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/stepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/stepToSmallerLast.kt index 58f624770a2..8c78c911cd4 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/downTo/stepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/downTo/stepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/emptyProgression.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/emptyProgression.kt index d7f17054d7b..78b8e2cc303 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/emptyProgression.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/emptyProgression.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/illegalStepNegative.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/illegalStepNegative.kt index 46918dbe4a7..01c2032571a 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/illegalStepNegative.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/illegalStepNegative.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // KT-34166: Translation of loop over literal completely removes the validation of step diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/illegalStepNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/illegalStepNonConst.kt index 540a720d28c..b130864810a 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/illegalStepNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/illegalStepNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // KT-34166: Translation of loop over literal completely removes the validation of step diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/illegalStepThenLegalStep.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/illegalStepThenLegalStep.kt index 50d661732f6..30854c7ad17 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/illegalStepThenLegalStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/illegalStepThenLegalStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/illegalStepZero.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/illegalStepZero.kt index 1185bdd2e05..5b2b2e963c0 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/illegalStepZero.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/illegalStepZero.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // KT-34166: Translation of loop over literal completely removes the validation of step diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/legalStepThenIllegalStep.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/legalStepThenIllegalStep.kt index f401356292d..dbb149dcc7a 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/legalStepThenIllegalStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/legalStepThenIllegalStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/minValueToMaxValueStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/minValueToMaxValueStepMaxValue.kt index 88027551d59..a09aef2eea1 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/minValueToMaxValueStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/minValueToMaxValueStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/mixedTypeStep.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/mixedTypeStep.kt index e480e609660..636b014be84 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/mixedTypeStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/mixedTypeStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepOneThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepOneThenStepOne.kt index 96392b7e06f..1082e3980af 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepOneThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepOneThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepThenSameStep.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepThenSameStep.kt index 2e8c9a10af8..1348edb5223 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepThenSameStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepThenSameStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepToSameLastThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepToSameLastThenStepOne.kt index 7e489c1b5a4..709df094ac4 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepToSameLastThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepToSameLastThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepToSameLastThenStepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepToSameLastThenStepToSameLast.kt index ed991a8c807..451e58c77af 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepToSameLastThenStepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepToSameLastThenStepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt index 84196843d05..54cafb05b1b 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepToSmallerLastThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepToSmallerLastThenStepOne.kt index b29914cfdb9..14f0bc5e258 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepToSmallerLastThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepToSmallerLastThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt index 0eb24433e67..475a1ea7302 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt index 42df39f27d1..9b6a24034d1 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/oneToMaxValueStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/oneToMaxValueStepMaxValue.kt index d79493b8bab..51c70425d7f 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/oneToMaxValueStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/oneToMaxValueStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed/reversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed/reversedThenStep.kt index a9face85d4f..6434d6a4ec3 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed/reversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed/reversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed/reversedThenStepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed/reversedThenStepThenReversed.kt index 2d121893473..5a968c8ece7 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed/reversedThenStepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed/reversedThenStepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed/reversedThenStepThenReversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed/reversedThenStepThenReversedThenStep.kt index 10d6286ca1c..04f7dd22336 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed/reversedThenStepThenReversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed/reversedThenStepThenReversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed/stepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed/stepThenReversed.kt index bf5b33f1cef..f71c5c98899 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed/stepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed/stepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed/stepThenReversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed/stepThenReversedThenStep.kt index 20cfe6da567..ae1c7708d1f 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed/stepThenReversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed/stepThenReversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed/stepThenReversedThenStepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed/stepThenReversedThenStepThenReversed.kt index 03ffe907d10..855215b61f3 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed/stepThenReversedThenStepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed/stepThenReversedThenStepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/singleElementStepTwo.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/singleElementStepTwo.kt index bdbf8cdf57f..4fc64f373f7 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/singleElementStepTwo.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/singleElementStepTwo.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/stepNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/stepNonConst.kt index 72a19b0b785..8227e141ce9 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/stepNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/stepNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/stepOne.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/stepOne.kt index b8a4c17dc60..9e0d582da8a 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/stepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/stepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/stepToOutsideRange.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/stepToOutsideRange.kt index fd053d2e1d8..ef51ac0a38f 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/stepToOutsideRange.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/stepToOutsideRange.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/stepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/stepToSameLast.kt index 250cefffdeb..3dee49186dd 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/stepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/stepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/stepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/stepToSmallerLast.kt index 963db28bd62..53de1c7524c 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/stepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/stepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/zeroToMaxValueStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/zeroToMaxValueStepMaxValue.kt index 376e1f67463..dc4edeb502d 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/zeroToMaxValueStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/zeroToMaxValueStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/emptyProgression.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/emptyProgression.kt index 9b1689ab432..e1f1741528e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/emptyProgression.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/emptyProgression.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/emptyProgressionToMinValue.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/emptyProgressionToMinValue.kt index 95ccbeeb8ff..0236a4ea06c 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/emptyProgressionToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/emptyProgressionToMinValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/illegalStepNegative.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/illegalStepNegative.kt index ebde24567c6..d2c8c00453e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/illegalStepNegative.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/illegalStepNegative.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // KT-34166: Translation of loop over literal completely removes the validation of step diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/illegalStepNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/illegalStepNonConst.kt index 7b29b0b53be..8cb501ff80e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/illegalStepNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/illegalStepNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // KT-34166: Translation of loop over literal completely removes the validation of step diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/illegalStepThenLegalStep.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/illegalStepThenLegalStep.kt index a6a04a31524..138ed3292f5 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/illegalStepThenLegalStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/illegalStepThenLegalStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/illegalStepZero.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/illegalStepZero.kt index db07226b3d2..f6b12c296d7 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/illegalStepZero.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/illegalStepZero.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // KT-34166: Translation of loop over literal completely removes the validation of step diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/legalStepThenIllegalStep.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/legalStepThenIllegalStep.kt index fb8f078c6f5..357e0d8b7f2 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/legalStepThenIllegalStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/legalStepThenIllegalStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/minValueToMaxValueStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/minValueToMaxValueStepMaxValue.kt index 8176a766ef3..6a45a8c2880 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/minValueToMaxValueStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/minValueToMaxValueStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/mixedTypeStep.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/mixedTypeStep.kt index 5a9dcac6cc8..81ead5cdc80 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/mixedTypeStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/mixedTypeStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepOneThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepOneThenStepOne.kt index 9c2b9e3350e..9fc5621b19c 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepOneThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepOneThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepThenSameStep.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepThenSameStep.kt index 7753b06ffa6..c13c0ac6a05 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepThenSameStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepThenSameStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepToSameLastThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepToSameLastThenStepOne.kt index bb647abec15..41c5027d95d 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepToSameLastThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepToSameLastThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepToSameLastThenStepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepToSameLastThenStepToSameLast.kt index 5a0ef513834..d06ebf89035 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepToSameLastThenStepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepToSameLastThenStepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepToSameLastThenStepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepToSameLastThenStepToSmallerLast.kt index 18b9d64105d..697c68d1bd3 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepToSameLastThenStepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepToSameLastThenStepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepToSmallerLastThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepToSmallerLastThenStepOne.kt index 7729ee17791..624dc9c1631 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepToSmallerLastThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepToSmallerLastThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepToSmallerLastThenStepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepToSmallerLastThenStepToSameLast.kt index 19cf455e07e..c43634ecf04 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepToSmallerLastThenStepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepToSmallerLastThenStepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt index 85a69b4a998..95b1657770f 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/progressionToNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/progressionToNonConst.kt index 8f5ff81b92f..d976c485e71 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/progressionToNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/progressionToNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/reversed/reversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/reversed/reversedThenStep.kt index c0e5acc29e1..bb387ea4184 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/reversed/reversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/reversed/reversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/reversed/reversedThenStepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/reversed/reversedThenStepThenReversed.kt index fee9efbe784..e6caa12301d 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/reversed/reversedThenStepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/reversed/reversedThenStepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/reversed/reversedThenStepThenReversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/reversed/reversedThenStepThenReversedThenStep.kt index 7d7e8310812..2a696e1b4c1 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/reversed/reversedThenStepThenReversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/reversed/reversedThenStepThenReversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/reversed/stepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/reversed/stepThenReversed.kt index c5ad07fe191..31a82ad4321 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/reversed/stepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/reversed/stepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/reversed/stepThenReversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/reversed/stepThenReversedThenStep.kt index 37398c54cb7..52d907c8fcf 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/reversed/stepThenReversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/reversed/stepThenReversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/reversed/stepThenReversedThenStepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/reversed/stepThenReversedThenStepThenReversed.kt index f55dc8c3bd7..1b1b8b7b603 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/reversed/stepThenReversedThenStepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/reversed/stepThenReversedThenStepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/singleElementStepTwo.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/singleElementStepTwo.kt index 8e936779659..b04db025e4e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/singleElementStepTwo.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/singleElementStepTwo.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/stepNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/stepNonConst.kt index 07715b11e0b..448a1f20b2d 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/stepNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/stepNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/stepOne.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/stepOne.kt index 67d8a0a0153..d22d619513c 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/stepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/stepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/stepToOutsideRange.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/stepToOutsideRange.kt index c55c96d67d7..d82a5de5848 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/stepToOutsideRange.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/stepToOutsideRange.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/stepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/stepToSameLast.kt index 27e271c4a9a..a0a5d614297 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/stepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/stepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/stepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/stepToSmallerLast.kt index 5141bc5446f..8ca97e8c0db 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/stepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/stepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/literal/until/zeroToMaxValueStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/literal/until/zeroToMaxValueStepMaxValue.kt index 3998f56dacf..252b0f9df2e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/literal/until/zeroToMaxValueStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/literal/until/zeroToMaxValueStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/emptyProgression.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/emptyProgression.kt index 28ec5251fa0..87fb2ebcc6e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/emptyProgression.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/emptyProgression.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/illegalStepNegative.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/illegalStepNegative.kt index 4059407965e..8f1d5c80619 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/illegalStepNegative.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/illegalStepNegative.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/illegalStepNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/illegalStepNonConst.kt index 4bfbb0e157b..b64149ec44b 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/illegalStepNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/illegalStepNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/illegalStepThenLegalStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/illegalStepThenLegalStep.kt index b11835673a0..9786044f6ba 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/illegalStepThenLegalStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/illegalStepThenLegalStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/illegalStepZero.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/illegalStepZero.kt index 4d8f7578a5b..85da3721ae1 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/illegalStepZero.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/illegalStepZero.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/legalStepThenIllegalStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/legalStepThenIllegalStep.kt index 9fb3308573a..1d7f5d58eba 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/legalStepThenIllegalStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/legalStepThenIllegalStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/maxValueToMinValueStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/maxValueToMinValueStepMaxValue.kt index 0a341b4bbac..fa411a1d048 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/maxValueToMinValueStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/maxValueToMinValueStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/maxValueToOneStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/maxValueToOneStepMaxValue.kt index ccfc49f2816..04a45fbfd11 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/maxValueToOneStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/maxValueToOneStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/maxValueToZeroStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/maxValueToZeroStepMaxValue.kt index 795ecc71c92..264d52b032b 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/maxValueToZeroStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/maxValueToZeroStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/mixedTypeStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/mixedTypeStep.kt index a69111557c4..4010c3bed60 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/mixedTypeStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/mixedTypeStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepOneThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepOneThenStepOne.kt index 5f4c38e44ec..e461d51ae8c 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepOneThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepOneThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepThenSameStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepThenSameStep.kt index f3fcab0911e..be8294e6430 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepThenSameStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepThenSameStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepToSameLastThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepToSameLastThenStepOne.kt index 908fa8a56b7..f1530486807 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepToSameLastThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepToSameLastThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepToSameLastThenStepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepToSameLastThenStepToSameLast.kt index fbe69da2ee6..19ef1d05c02 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepToSameLastThenStepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepToSameLastThenStepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt index 526d7c5136d..dc20edc0a30 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepToSmallerLastThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepToSmallerLastThenStepOne.kt index c02f653bdfd..f214b33066d 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepToSmallerLastThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepToSmallerLastThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt index 629ffc5880a..97ffc9894a5 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt index a3163b71207..b5d8acf7bab 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed/reversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed/reversedThenStep.kt index baacf6f8231..ec5b1393536 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed/reversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed/reversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed/reversedThenStepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed/reversedThenStepThenReversed.kt index 2e7603e3149..fa51c32c8d7 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed/reversedThenStepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed/reversedThenStepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed/reversedThenStepThenReversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed/reversedThenStepThenReversedThenStep.kt index 9d08d61a6b0..8455eb762f4 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed/reversedThenStepThenReversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed/reversedThenStepThenReversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed/stepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed/stepThenReversed.kt index 7529a2e60d8..82bc89042df 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed/stepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed/stepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed/stepThenReversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed/stepThenReversedThenStep.kt index 65f5f80107c..479845f7ef6 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed/stepThenReversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed/stepThenReversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed/stepThenReversedThenStepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed/stepThenReversedThenStepThenReversed.kt index 3eb5aa09134..c5deccfb5da 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed/stepThenReversedThenStepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/reversed/stepThenReversedThenStepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/singleElementStepTwo.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/singleElementStepTwo.kt index 7bafff48aba..99e282b1ae4 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/singleElementStepTwo.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/singleElementStepTwo.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/stepNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/stepNonConst.kt index 89d445d7ca8..f1e8751f756 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/stepNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/stepNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/stepOne.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/stepOne.kt index 712ab0f373d..c550917834c 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/stepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/stepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/stepToOutsideRange.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/stepToOutsideRange.kt index dfa9cd0ad06..c90bff86794 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/stepToOutsideRange.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/stepToOutsideRange.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/stepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/stepToSameLast.kt index 63524bcb543..0c592c27f4f 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/stepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/stepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/stepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/stepToSmallerLast.kt index d83f9150771..b1493e8f885 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/stepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/downTo/stepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/emptyProgression.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/emptyProgression.kt index 91bf49f20fd..b364c192304 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/emptyProgression.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/emptyProgression.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/illegalStepNegative.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/illegalStepNegative.kt index fb1e0eb9d53..f530d9a0078 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/illegalStepNegative.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/illegalStepNegative.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/illegalStepNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/illegalStepNonConst.kt index 43d1cd2a120..bdfca888492 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/illegalStepNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/illegalStepNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/illegalStepThenLegalStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/illegalStepThenLegalStep.kt index 9bebf6f2b95..9e8912819df 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/illegalStepThenLegalStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/illegalStepThenLegalStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/illegalStepZero.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/illegalStepZero.kt index e0dcb770ace..c4bf136937e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/illegalStepZero.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/illegalStepZero.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/legalStepThenIllegalStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/legalStepThenIllegalStep.kt index cab81d9639c..1e6ceb88a45 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/legalStepThenIllegalStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/legalStepThenIllegalStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/minValueToMaxValueStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/minValueToMaxValueStepMaxValue.kt index dca73f8d250..7caf0799450 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/minValueToMaxValueStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/minValueToMaxValueStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/mixedTypeStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/mixedTypeStep.kt index c2b2cb43aa8..78743550a0f 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/mixedTypeStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/mixedTypeStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepOneThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepOneThenStepOne.kt index 5a1e472c95d..bbae91fc44d 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepOneThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepOneThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepThenSameStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepThenSameStep.kt index 4ba8228860a..5cc3b75a669 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepThenSameStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepThenSameStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepToSameLastThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepToSameLastThenStepOne.kt index 8997e1db48f..9578ebb8e8a 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepToSameLastThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepToSameLastThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepToSameLastThenStepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepToSameLastThenStepToSameLast.kt index 732275ef95b..62b18addc6c 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepToSameLastThenStepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepToSameLastThenStepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt index b70df5e44e4..bfe09f8e4c2 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepToSmallerLastThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepToSmallerLastThenStepOne.kt index d2607da8f9d..cbe78af5f12 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepToSmallerLastThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepToSmallerLastThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt index f7ee65411f9..3b8a15fa258 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt index 62f716a1773..1e4c5b0e501 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/oneToMaxValueStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/oneToMaxValueStepMaxValue.kt index 4c3cc84c351..2e35d2d27d1 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/oneToMaxValueStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/oneToMaxValueStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed/reversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed/reversedThenStep.kt index 3b8f4c67734..f529c3b2742 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed/reversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed/reversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed/reversedThenStepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed/reversedThenStepThenReversed.kt index bfa5ea1431c..1d096b924dc 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed/reversedThenStepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed/reversedThenStepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed/reversedThenStepThenReversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed/reversedThenStepThenReversedThenStep.kt index 8d7d13edbf9..0cdfbc1fbc3 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed/reversedThenStepThenReversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed/reversedThenStepThenReversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed/stepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed/stepThenReversed.kt index 7538c78167d..cf09e5270d6 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed/stepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed/stepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed/stepThenReversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed/stepThenReversedThenStep.kt index 6cb250f68e2..66357b75771 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed/stepThenReversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed/stepThenReversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed/stepThenReversedThenStepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed/stepThenReversedThenStepThenReversed.kt index 95554ffd030..a0bb27aba29 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed/stepThenReversedThenStepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/reversed/stepThenReversedThenStepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/singleElementStepTwo.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/singleElementStepTwo.kt index 8d8d5f84e95..8fb574e1b61 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/singleElementStepTwo.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/singleElementStepTwo.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/stepNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/stepNonConst.kt index 5adac93e69c..4e2e87b0c97 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/stepNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/stepNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/stepOne.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/stepOne.kt index 3a3b115cf60..3c6d9179900 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/stepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/stepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/stepToOutsideRange.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/stepToOutsideRange.kt index 7e2999a2a36..61ec5789a99 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/stepToOutsideRange.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/stepToOutsideRange.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/stepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/stepToSameLast.kt index e25f80b4ffa..4f4f2ff96b7 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/stepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/stepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/stepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/stepToSmallerLast.kt index 0dd665b1fd9..82ad3ad4aeb 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/stepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/stepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/zeroToMaxValueStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/zeroToMaxValueStepMaxValue.kt index 506d39a0f3f..70570b7635e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/zeroToMaxValueStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/zeroToMaxValueStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/emptyProgression.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/emptyProgression.kt index f012f0d524e..7f35c887652 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/emptyProgression.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/emptyProgression.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/emptyProgressionToMinValue.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/emptyProgressionToMinValue.kt index 94ef50aa51f..aee17b0c921 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/emptyProgressionToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/emptyProgressionToMinValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/illegalStepNegative.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/illegalStepNegative.kt index a1cec13bba5..58b4023639d 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/illegalStepNegative.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/illegalStepNegative.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/illegalStepNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/illegalStepNonConst.kt index a835e4c4696..41b87a0b274 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/illegalStepNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/illegalStepNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/illegalStepThenLegalStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/illegalStepThenLegalStep.kt index 290e61850fd..42c46b67751 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/illegalStepThenLegalStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/illegalStepThenLegalStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/illegalStepZero.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/illegalStepZero.kt index 31f20d82bb8..e9465d51195 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/illegalStepZero.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/illegalStepZero.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/legalStepThenIllegalStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/legalStepThenIllegalStep.kt index 629ccfabbef..cbb9dd83e98 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/legalStepThenIllegalStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/legalStepThenIllegalStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/minValueToMaxValueStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/minValueToMaxValueStepMaxValue.kt index 790f63c3b3e..47c8b668b7c 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/minValueToMaxValueStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/minValueToMaxValueStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/mixedTypeStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/mixedTypeStep.kt index d88883542fa..c4529b8f024 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/mixedTypeStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/mixedTypeStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepOneThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepOneThenStepOne.kt index 371ffa168c5..1f4c7bc6b63 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepOneThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepOneThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepThenSameStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepThenSameStep.kt index 9295154131c..1bb81d68908 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepThenSameStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepThenSameStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepToSameLastThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepToSameLastThenStepOne.kt index 51d446daa1b..1577d2fd1ac 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepToSameLastThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepToSameLastThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepToSameLastThenStepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepToSameLastThenStepToSameLast.kt index 7460a007a9e..5a7ecaf2d9e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepToSameLastThenStepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepToSameLastThenStepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepToSameLastThenStepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepToSameLastThenStepToSmallerLast.kt index db522e214ce..5b7592a0178 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepToSameLastThenStepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepToSameLastThenStepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepToSmallerLastThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepToSmallerLastThenStepOne.kt index 764e3ac8ef4..48204f0edb0 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepToSmallerLastThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepToSmallerLastThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepToSmallerLastThenStepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepToSmallerLastThenStepToSameLast.kt index 35e93f87395..d76d013742b 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepToSmallerLastThenStepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepToSmallerLastThenStepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt index f2c34289ff3..2d66854102e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/progressionToNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/progressionToNonConst.kt index 9f72749c9a8..f5bed14627e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/progressionToNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/progressionToNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed/reversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed/reversedThenStep.kt index 3c44f55302d..7e17d53e6b9 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed/reversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed/reversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed/reversedThenStepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed/reversedThenStepThenReversed.kt index 7a2add865b7..39a259a6083 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed/reversedThenStepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed/reversedThenStepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed/reversedThenStepThenReversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed/reversedThenStepThenReversedThenStep.kt index ea13e5baa72..55d71b4714c 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed/reversedThenStepThenReversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed/reversedThenStepThenReversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed/stepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed/stepThenReversed.kt index 1c67f3b8398..614a1035d76 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed/stepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed/stepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed/stepThenReversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed/stepThenReversedThenStep.kt index 5fe5a1f3511..65d12eda56d 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed/stepThenReversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed/stepThenReversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed/stepThenReversedThenStepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed/stepThenReversedThenStepThenReversed.kt index c22a7fd472d..90988c051ec 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed/stepThenReversedThenStepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/reversed/stepThenReversedThenStepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/singleElementStepTwo.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/singleElementStepTwo.kt index 8fbf7690631..2e4995d2850 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/singleElementStepTwo.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/singleElementStepTwo.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/stepNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/stepNonConst.kt index 505fe2e794c..be68fc497f9 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/stepNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/stepNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/stepOne.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/stepOne.kt index 7d490069007..d04826ca615 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/stepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/stepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/stepToOutsideRange.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/stepToOutsideRange.kt index 4dbd4cec779..21c305f9358 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/stepToOutsideRange.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/stepToOutsideRange.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/stepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/stepToSameLast.kt index 1469e983358..ab24a97c06f 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/stepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/stepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/stepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/stepToSmallerLast.kt index faf6edaba50..ac26047c424 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/stepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/stepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/zeroToMaxValueStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/zeroToMaxValueStepMaxValue.kt index eaee238aa7a..77d8af8ac20 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/zeroToMaxValueStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/expression/until/zeroToMaxValueStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/emptyProgression.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/emptyProgression.kt index a263caac6b0..6cf5cdc5ada 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/emptyProgression.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/emptyProgression.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/illegalStepNegative.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/illegalStepNegative.kt index 8d797294ad3..b10e4fe679b 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/illegalStepNegative.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/illegalStepNegative.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // KT-34166: Translation of loop over literal completely removes the validation of step diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/illegalStepNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/illegalStepNonConst.kt index 3f1b329d72d..ffdfe85d414 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/illegalStepNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/illegalStepNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // KT-34166: Translation of loop over literal completely removes the validation of step diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/illegalStepThenLegalStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/illegalStepThenLegalStep.kt index 1d481f5726b..8f924fbba21 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/illegalStepThenLegalStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/illegalStepThenLegalStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/illegalStepZero.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/illegalStepZero.kt index 869e53de0cf..29fb3ba2ebb 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/illegalStepZero.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/illegalStepZero.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // KT-34166: Translation of loop over literal completely removes the validation of step diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/legalStepThenIllegalStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/legalStepThenIllegalStep.kt index c1e1e55e39c..b489b2a1174 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/legalStepThenIllegalStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/legalStepThenIllegalStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/maxValueToMinValueStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/maxValueToMinValueStepMaxValue.kt index 4aa1ce62319..19b964ec592 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/maxValueToMinValueStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/maxValueToMinValueStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/maxValueToOneStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/maxValueToOneStepMaxValue.kt index b81147e54ba..5ab8a83460a 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/maxValueToOneStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/maxValueToOneStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/maxValueToZeroStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/maxValueToZeroStepMaxValue.kt index ebed1788519..18040c9c51e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/maxValueToZeroStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/maxValueToZeroStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/mixedTypeStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/mixedTypeStep.kt index 4164c0337a3..79b22a4238d 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/mixedTypeStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/mixedTypeStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepOneThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepOneThenStepOne.kt index ba6ac0b3541..9f5f9cf9dca 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepOneThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepOneThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepThenSameStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepThenSameStep.kt index ead64bb55b1..07659b2bf22 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepThenSameStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepThenSameStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepToSameLastThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepToSameLastThenStepOne.kt index 366f2530bc8..5998cceccb5 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepToSameLastThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepToSameLastThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepToSameLastThenStepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepToSameLastThenStepToSameLast.kt index c747b05f355..cc8c9ae2734 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepToSameLastThenStepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepToSameLastThenStepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt index 9a00ef57054..558f3ac6bc0 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepToSmallerLastThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepToSmallerLastThenStepOne.kt index b9c2c8ecb98..8b26c84dd8f 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepToSmallerLastThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepToSmallerLastThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt index edcf0d9ae68..d8bc3fa789e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt index 8186a183653..12b4bbabd0b 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed/reversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed/reversedThenStep.kt index 5182789de41..bb00bf0033c 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed/reversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed/reversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed/reversedThenStepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed/reversedThenStepThenReversed.kt index 3146aa09dd4..53aef732711 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed/reversedThenStepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed/reversedThenStepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed/reversedThenStepThenReversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed/reversedThenStepThenReversedThenStep.kt index 0c5453484cb..a9606973cbb 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed/reversedThenStepThenReversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed/reversedThenStepThenReversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed/stepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed/stepThenReversed.kt index e06dbc2ae48..9916e004f03 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed/stepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed/stepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed/stepThenReversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed/stepThenReversedThenStep.kt index 1dddc926f91..bd3afc4a03a 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed/stepThenReversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed/stepThenReversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed/stepThenReversedThenStepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed/stepThenReversedThenStepThenReversed.kt index 5eba927440f..d845e026da7 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed/stepThenReversedThenStepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/reversed/stepThenReversedThenStepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/singleElementStepTwo.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/singleElementStepTwo.kt index 8e727483005..fb387c41cb4 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/singleElementStepTwo.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/singleElementStepTwo.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/stepNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/stepNonConst.kt index 9be7c4be8d4..d247301c3a8 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/stepNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/stepNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/stepOne.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/stepOne.kt index d090b52af22..80f08f163d0 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/stepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/stepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/stepToOutsideRange.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/stepToOutsideRange.kt index b2b77493d68..708c6fd7ce1 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/stepToOutsideRange.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/stepToOutsideRange.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/stepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/stepToSameLast.kt index 89078be53d6..f3ed0909644 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/stepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/stepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/stepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/stepToSmallerLast.kt index 65b55ae70e8..dcdda95c90e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/stepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/downTo/stepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/emptyProgression.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/emptyProgression.kt index b39f815a483..b243aba2318 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/emptyProgression.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/emptyProgression.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/illegalStepNegative.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/illegalStepNegative.kt index 9d83e6d274e..9a904c80f5f 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/illegalStepNegative.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/illegalStepNegative.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // KT-34166: Translation of loop over literal completely removes the validation of step diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/illegalStepNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/illegalStepNonConst.kt index b783e91d77f..a351ea801f1 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/illegalStepNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/illegalStepNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // KT-34166: Translation of loop over literal completely removes the validation of step diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/illegalStepThenLegalStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/illegalStepThenLegalStep.kt index 5455b1b0b6d..d97acf7c1cf 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/illegalStepThenLegalStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/illegalStepThenLegalStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/illegalStepZero.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/illegalStepZero.kt index 6fa01aeafcb..b4b185a2387 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/illegalStepZero.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/illegalStepZero.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // KT-34166: Translation of loop over literal completely removes the validation of step diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/legalStepThenIllegalStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/legalStepThenIllegalStep.kt index 887bdeaa6f8..02497a24f6f 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/legalStepThenIllegalStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/legalStepThenIllegalStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/minValueToMaxValueStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/minValueToMaxValueStepMaxValue.kt index 22b379be03a..4057dfb2d0f 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/minValueToMaxValueStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/minValueToMaxValueStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/mixedTypeStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/mixedTypeStep.kt index ee11002c4fc..e4ba49a610a 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/mixedTypeStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/mixedTypeStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepOneThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepOneThenStepOne.kt index f53dfd90cc6..590608c318b 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepOneThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepOneThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepThenSameStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepThenSameStep.kt index e0b411e89a7..de6866084b3 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepThenSameStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepThenSameStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepToSameLastThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepToSameLastThenStepOne.kt index 6b1dc6fbc6b..2f739ed2c0e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepToSameLastThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepToSameLastThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepToSameLastThenStepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepToSameLastThenStepToSameLast.kt index 377f004655d..395532e6926 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepToSameLastThenStepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepToSameLastThenStepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt index bb0ae9fae4e..7c75507f76f 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepToSameLastThenStepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepToSmallerLastThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepToSmallerLastThenStepOne.kt index c5a52dffa17..b510d9bebde 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepToSmallerLastThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepToSmallerLastThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt index ba44ea177bb..16a5bb7e98e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepToSmallerLastThenStepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt index d5d56cd951d..871cb01ed44 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/oneToMaxValueStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/oneToMaxValueStepMaxValue.kt index 05cd6325a82..94577554c48 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/oneToMaxValueStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/oneToMaxValueStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed/reversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed/reversedThenStep.kt index 45cc15a531c..ed3de14055c 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed/reversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed/reversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed/reversedThenStepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed/reversedThenStepThenReversed.kt index 12c7a3860c7..a09c3cac28a 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed/reversedThenStepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed/reversedThenStepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed/reversedThenStepThenReversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed/reversedThenStepThenReversedThenStep.kt index cc00adc71f0..6071d5ac4f9 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed/reversedThenStepThenReversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed/reversedThenStepThenReversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed/stepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed/stepThenReversed.kt index db7f5e60fb0..2d6ad9ef2af 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed/stepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed/stepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed/stepThenReversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed/stepThenReversedThenStep.kt index 2473a758efc..cb9741f4bf4 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed/stepThenReversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed/stepThenReversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed/stepThenReversedThenStepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed/stepThenReversedThenStepThenReversed.kt index 15a4ed69a95..5bb868adc4b 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed/stepThenReversedThenStepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/reversed/stepThenReversedThenStepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/singleElementStepTwo.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/singleElementStepTwo.kt index fde3fea78a8..a6d8582117e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/singleElementStepTwo.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/singleElementStepTwo.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/stepNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/stepNonConst.kt index 79982cf52c2..561c5f2c719 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/stepNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/stepNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/stepOne.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/stepOne.kt index 0710359d743..cf5dcb02724 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/stepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/stepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/stepToOutsideRange.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/stepToOutsideRange.kt index 89b13aadd9f..8cc7892324e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/stepToOutsideRange.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/stepToOutsideRange.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/stepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/stepToSameLast.kt index 2da3fad18c0..dbbd62edd41 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/stepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/stepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/stepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/stepToSmallerLast.kt index 1d476974216..aee5c487f02 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/stepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/stepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/zeroToMaxValueStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/zeroToMaxValueStepMaxValue.kt index 64736ef6357..364c2a26286 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/zeroToMaxValueStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/rangeTo/zeroToMaxValueStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/emptyProgression.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/emptyProgression.kt index 042afef7456..f2bafb2a17f 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/emptyProgression.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/emptyProgression.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/emptyProgressionToMinValue.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/emptyProgressionToMinValue.kt index a73ff83bb51..1c55cf614dc 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/emptyProgressionToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/emptyProgressionToMinValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/illegalStepNegative.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/illegalStepNegative.kt index ad8a6e36a48..87a0bf20b9e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/illegalStepNegative.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/illegalStepNegative.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // KT-34166: Translation of loop over literal completely removes the validation of step diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/illegalStepNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/illegalStepNonConst.kt index c25d1994b9b..1feb4e9889a 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/illegalStepNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/illegalStepNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // KT-34166: Translation of loop over literal completely removes the validation of step diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/illegalStepThenLegalStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/illegalStepThenLegalStep.kt index 9f40c02f23d..708afa0718e 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/illegalStepThenLegalStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/illegalStepThenLegalStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/illegalStepZero.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/illegalStepZero.kt index 72e65b84396..2db5dc54e07 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/illegalStepZero.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/illegalStepZero.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // KT-34166: Translation of loop over literal completely removes the validation of step diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/legalStepThenIllegalStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/legalStepThenIllegalStep.kt index cf5cc061ad5..74c6b7868a4 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/legalStepThenIllegalStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/legalStepThenIllegalStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/minValueToMaxValueStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/minValueToMaxValueStepMaxValue.kt index 63fee4f0f1c..e7dd4bea0a9 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/minValueToMaxValueStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/minValueToMaxValueStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/mixedTypeStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/mixedTypeStep.kt index 21806217fb0..49f79f5dc63 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/mixedTypeStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/mixedTypeStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepOneThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepOneThenStepOne.kt index f2a2996fa81..10fad960dd7 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepOneThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepOneThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepThenSameStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepThenSameStep.kt index ae922b4e896..4b7f95329fa 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepThenSameStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepThenSameStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepToSameLastThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepToSameLastThenStepOne.kt index 5c6707f525a..37dab718f52 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepToSameLastThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepToSameLastThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepToSameLastThenStepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepToSameLastThenStepToSameLast.kt index e62f16e4a29..aa070a307fb 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepToSameLastThenStepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepToSameLastThenStepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepToSameLastThenStepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepToSameLastThenStepToSmallerLast.kt index 796ce706cdb..979cca4757b 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepToSameLastThenStepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepToSameLastThenStepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepToSmallerLastThenStepOne.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepToSmallerLastThenStepOne.kt index 81015e606c8..1f0d65d9f57 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepToSmallerLastThenStepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepToSmallerLastThenStepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepToSmallerLastThenStepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepToSmallerLastThenStepToSameLast.kt index 27bc27d59d8..25748b59399 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepToSmallerLastThenStepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepToSmallerLastThenStepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt index 218cc844b1b..cc79b7a5d56 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/nestedStep/stepToSmallerLastThenStepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/progressionToNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/progressionToNonConst.kt index b718ed6ca74..b184fea9bff 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/progressionToNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/progressionToNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed/reversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed/reversedThenStep.kt index 42188d20878..d10fa976de6 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed/reversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed/reversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed/reversedThenStepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed/reversedThenStepThenReversed.kt index edda45da6c0..cbbfc31d455 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed/reversedThenStepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed/reversedThenStepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed/reversedThenStepThenReversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed/reversedThenStepThenReversedThenStep.kt index 3e5f602344b..c19b7c20619 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed/reversedThenStepThenReversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed/reversedThenStepThenReversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed/stepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed/stepThenReversed.kt index 7a57ee8f8fb..bea791e49f9 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed/stepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed/stepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed/stepThenReversedThenStep.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed/stepThenReversedThenStep.kt index 33186d2c0ad..4255b48f6d1 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed/stepThenReversedThenStep.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed/stepThenReversedThenStep.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed/stepThenReversedThenStepThenReversed.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed/stepThenReversedThenStepThenReversed.kt index 5094c60c63b..d633687904d 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed/stepThenReversedThenStepThenReversed.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/reversed/stepThenReversedThenStepThenReversed.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/singleElementStepTwo.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/singleElementStepTwo.kt index d83c3c7a3dc..1fefdf6f659 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/singleElementStepTwo.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/singleElementStepTwo.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/stepNonConst.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/stepNonConst.kt index 8f49ec3d62a..c676073a41c 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/stepNonConst.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/stepNonConst.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/stepOne.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/stepOne.kt index f24ea7b2dc3..56da45a89fd 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/stepOne.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/stepOne.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/stepToOutsideRange.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/stepToOutsideRange.kt index 9314f9f29e2..ca343a471ea 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/stepToOutsideRange.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/stepToOutsideRange.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/stepToSameLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/stepToSameLast.kt index 88b5633e6eb..9fa28fa3316 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/stepToSameLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/stepToSameLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/stepToSmallerLast.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/stepToSmallerLast.kt index f24364b000a..58edec1f152 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/stepToSmallerLast.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/stepToSmallerLast.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/zeroToMaxValueStepMaxValue.kt b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/zeroToMaxValueStepMaxValue.kt index f6d8a91b8e7..71a852c16fe 100644 --- a/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/zeroToMaxValueStepMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/stepped/unsigned/literal/until/zeroToMaxValueStepMaxValue.kt @@ -1,4 +1,5 @@ // Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/emptyDownto.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/emptyDownto.kt index 42bc3fd915e..72c639a788e 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/emptyDownto.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/emptyDownto.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/emptyRange.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/emptyRange.kt index 6add0ae2d34..09dbe0d55d0 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/emptyRange.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/emptyRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/inexactDownToMinValue.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/inexactDownToMinValue.kt index 71be0101509..174c6ac583f 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/inexactDownToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/inexactDownToMinValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/inexactSteppedDownTo.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/inexactSteppedDownTo.kt index ac6b7bfda7a..27e13195878 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/inexactSteppedDownTo.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/inexactSteppedDownTo.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/inexactSteppedRange.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/inexactSteppedRange.kt index 6a95d0cefe2..a88b1329950 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/inexactSteppedRange.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/inexactSteppedRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/inexactToMaxValue.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/inexactToMaxValue.kt index 1757d6c08d2..67d3c78628c 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/inexactToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/inexactToMaxValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/maxValueMinusTwoToMaxValue.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/maxValueMinusTwoToMaxValue.kt index 2ff1a388003..1afbcf9d366 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/maxValueMinusTwoToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/maxValueMinusTwoToMaxValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/maxValueToMaxValue.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/maxValueToMaxValue.kt index eff345d81b2..d937fe82eb2 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/maxValueToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/maxValueToMaxValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/maxValueToMinValue.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/maxValueToMinValue.kt index f085cb9de1c..de189ca387a 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/maxValueToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/maxValueToMinValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/oneElementDownTo.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/oneElementDownTo.kt index 82527214111..d30a088fed9 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/oneElementDownTo.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/oneElementDownTo.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/oneElementRange.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/oneElementRange.kt index 8a247245b29..7adef77fab5 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/oneElementRange.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/oneElementRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/openRange.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/openRange.kt index 9a815778fc1..633650bc000 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/openRange.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/openRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/overflowZeroDownToMaxValue.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/overflowZeroDownToMaxValue.kt index e185469021f..e7ad04c973d 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/overflowZeroDownToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/overflowZeroDownToMaxValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/overflowZeroToMinValue.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/overflowZeroToMinValue.kt index 9d0ead69173..e711519081f 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/overflowZeroToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/overflowZeroToMinValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/progressionDownToMinValue.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/progressionDownToMinValue.kt index 792268865ee..44a451225e6 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/progressionDownToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/progressionDownToMinValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/progressionMaxValueMinusTwoToMaxValue.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/progressionMaxValueMinusTwoToMaxValue.kt index 5c0aaf389b4..fe5b3c8cb68 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/progressionMaxValueMinusTwoToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/progressionMaxValueMinusTwoToMaxValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/progressionMaxValueToMaxValue.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/progressionMaxValueToMaxValue.kt index 3bf7b520b89..878300bec9a 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/progressionMaxValueToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/progressionMaxValueToMaxValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/progressionMaxValueToMinValue.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/progressionMaxValueToMinValue.kt index 63cd9da9e68..ad12c6b7d09 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/progressionMaxValueToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/progressionMaxValueToMinValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/progressionMinValueToMinValue.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/progressionMinValueToMinValue.kt index 68182aee7cd..17ff6acfce9 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/progressionMinValueToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/progressionMinValueToMinValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/reversedBackSequence.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/reversedBackSequence.kt index a0205a86024..bb830c82d17 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/reversedBackSequence.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/reversedBackSequence.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/reversedEmptyBackSequence.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/reversedEmptyBackSequence.kt index 19503035d32..72081398d6c 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/reversedEmptyBackSequence.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/reversedEmptyBackSequence.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/reversedEmptyRange.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/reversedEmptyRange.kt index 6b1ac78fe26..86cec6938c1 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/reversedEmptyRange.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/reversedEmptyRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/reversedInexactSteppedDownTo.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/reversedInexactSteppedDownTo.kt index fe5e2843db4..b7d9e13fba1 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/reversedInexactSteppedDownTo.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/reversedInexactSteppedDownTo.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/reversedRange.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/reversedRange.kt index d11b0242c84..8fe46c1f2a7 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/reversedRange.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/reversedRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/reversedSimpleSteppedRange.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/reversedSimpleSteppedRange.kt index 28e9e494f07..6f44889ace3 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/reversedSimpleSteppedRange.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/reversedSimpleSteppedRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/simpleDownTo.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/simpleDownTo.kt index ba82cbff8d6..cb6fa9aeab2 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/simpleDownTo.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/simpleDownTo.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/simpleRange.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/simpleRange.kt index d7812817982..84d0b377713 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/simpleRange.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/simpleRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/simpleRangeWithNonConstantEnds.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/simpleRangeWithNonConstantEnds.kt index f46d7ce9f96..d744d23e068 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/simpleRangeWithNonConstantEnds.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/simpleRangeWithNonConstantEnds.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/simpleSteppedDownTo.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/simpleSteppedDownTo.kt index 6f9fb59b9e6..d6af23230a7 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/simpleSteppedDownTo.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/simpleSteppedDownTo.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/expression/simpleSteppedRange.kt b/compiler/testData/codegen/box/ranges/unsigned/expression/simpleSteppedRange.kt index f7e218327e3..98077e8c5b8 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/expression/simpleSteppedRange.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/expression/simpleSteppedRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/kt36953.kt b/compiler/testData/codegen/box/ranges/unsigned/kt36953.kt index 61b204783d0..64a6a6210ef 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/kt36953.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/kt36953.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/emptyDownto.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/emptyDownto.kt index fb3296321fd..9f352315f74 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/emptyDownto.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/emptyDownto.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/emptyRange.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/emptyRange.kt index 7ca5e45f608..68d1e6deedb 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/emptyRange.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/emptyRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/inexactDownToMinValue.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/inexactDownToMinValue.kt index 83ac75d74c9..59f538569ed 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/inexactDownToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/inexactDownToMinValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/inexactSteppedDownTo.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/inexactSteppedDownTo.kt index 017cfa2c18d..8d1b5337f60 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/inexactSteppedDownTo.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/inexactSteppedDownTo.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/inexactSteppedRange.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/inexactSteppedRange.kt index 46c75e303e8..2b3eed65e78 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/inexactSteppedRange.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/inexactSteppedRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/inexactToMaxValue.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/inexactToMaxValue.kt index 9afcca63eb4..7ea406af627 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/inexactToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/inexactToMaxValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/maxValueMinusTwoToMaxValue.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/maxValueMinusTwoToMaxValue.kt index 7d51595017e..7bdadad10be 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/maxValueMinusTwoToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/maxValueMinusTwoToMaxValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/maxValueToMaxValue.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/maxValueToMaxValue.kt index f6f4644d912..7ec6d3bc01f 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/maxValueToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/maxValueToMaxValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/maxValueToMinValue.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/maxValueToMinValue.kt index fd19977f3b3..50024ec5ad0 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/maxValueToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/maxValueToMinValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/oneElementDownTo.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/oneElementDownTo.kt index 32249933a9c..1e0149c3db2 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/oneElementDownTo.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/oneElementDownTo.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/oneElementRange.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/oneElementRange.kt index 99b77a02b4d..a7654e85e3c 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/oneElementRange.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/oneElementRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/openRange.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/openRange.kt index 1e56cfc81db..6d03c4b82f4 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/openRange.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/openRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/overflowZeroDownToMaxValue.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/overflowZeroDownToMaxValue.kt index 89e09aeb8e4..62caddeaa53 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/overflowZeroDownToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/overflowZeroDownToMaxValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/overflowZeroToMinValue.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/overflowZeroToMinValue.kt index 7ad278920dc..d8240386829 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/overflowZeroToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/overflowZeroToMinValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/progressionDownToMinValue.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/progressionDownToMinValue.kt index 7b3f68b51ac..171cf47fa8f 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/progressionDownToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/progressionDownToMinValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/progressionMaxValueMinusTwoToMaxValue.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/progressionMaxValueMinusTwoToMaxValue.kt index f0095b0732c..1325586e0a0 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/progressionMaxValueMinusTwoToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/progressionMaxValueMinusTwoToMaxValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/progressionMaxValueToMaxValue.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/progressionMaxValueToMaxValue.kt index 93323a7e66e..2903a2a636c 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/progressionMaxValueToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/progressionMaxValueToMaxValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/progressionMaxValueToMinValue.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/progressionMaxValueToMinValue.kt index 6051b5d7137..72bbb338ea7 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/progressionMaxValueToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/progressionMaxValueToMinValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/progressionMinValueToMinValue.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/progressionMinValueToMinValue.kt index 7104a0b9db8..8a2d799dd07 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/progressionMinValueToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/progressionMinValueToMinValue.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/reversedBackSequence.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/reversedBackSequence.kt index f933445fb51..57bfd36cbe4 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/reversedBackSequence.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/reversedBackSequence.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/reversedEmptyBackSequence.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/reversedEmptyBackSequence.kt index 9a691e754ee..fd0eb26c2fa 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/reversedEmptyBackSequence.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/reversedEmptyBackSequence.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/reversedEmptyRange.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/reversedEmptyRange.kt index d5ad10d0763..3ec8219375f 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/reversedEmptyRange.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/reversedEmptyRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/reversedInexactSteppedDownTo.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/reversedInexactSteppedDownTo.kt index b7c37de4af8..3015ebe55f7 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/reversedInexactSteppedDownTo.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/reversedInexactSteppedDownTo.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/reversedRange.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/reversedRange.kt index 4fe0e8bc9d7..b9ff3930fbd 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/reversedRange.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/reversedRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/reversedSimpleSteppedRange.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/reversedSimpleSteppedRange.kt index c8c3e4dd741..fee6d077bc6 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/reversedSimpleSteppedRange.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/reversedSimpleSteppedRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/simpleDownTo.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/simpleDownTo.kt index 1e0d09523d0..d920ad750e9 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/simpleDownTo.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/simpleDownTo.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/simpleRange.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/simpleRange.kt index 7538c5a1630..9e759fcd1c6 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/simpleRange.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/simpleRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/simpleRangeWithNonConstantEnds.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/simpleRangeWithNonConstantEnds.kt index 3769013108f..2ec1bfab108 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/simpleRangeWithNonConstantEnds.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/simpleRangeWithNonConstantEnds.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/simpleSteppedDownTo.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/simpleSteppedDownTo.kt index bc2ede6762a..d76b90b7bb3 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/simpleSteppedDownTo.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/simpleSteppedDownTo.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/unsigned/literal/simpleSteppedRange.kt b/compiler/testData/codegen/box/ranges/unsigned/literal/simpleSteppedRange.kt index feffef146e5..dbd8ee6748e 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/literal/simpleSteppedRange.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/literal/simpleSteppedRange.kt @@ -1,3 +1,4 @@ +// DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // Auto-generated by org.jetbrains.kotlin.generators.tests.GenerateRangesCodegenTestData. DO NOT EDIT! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/regressions/Kt1149.kt b/compiler/testData/codegen/box/regressions/Kt1149.kt index 985e1628eab..1fe81b1069c 100644 --- a/compiler/testData/codegen/box/regressions/Kt1149.kt +++ b/compiler/testData/codegen/box/regressions/Kt1149.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/regressions/Kt1619Test.kt b/compiler/testData/codegen/box/regressions/Kt1619Test.kt index 2540b77d307..332b18424da 100644 --- a/compiler/testData/codegen/box/regressions/Kt1619Test.kt +++ b/compiler/testData/codegen/box/regressions/Kt1619Test.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/regressions/Kt2495Test.kt b/compiler/testData/codegen/box/regressions/Kt2495Test.kt index 8fd6f97bbb9..1e18e4e2b94 100644 --- a/compiler/testData/codegen/box/regressions/Kt2495Test.kt +++ b/compiler/testData/codegen/box/regressions/Kt2495Test.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/regressions/generic.kt b/compiler/testData/codegen/box/regressions/generic.kt index ede3a824d0f..fdac2c87a6a 100644 --- a/compiler/testData/codegen/box/regressions/generic.kt +++ b/compiler/testData/codegen/box/regressions/generic.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/regressions/kt1172.kt b/compiler/testData/codegen/box/regressions/kt1172.kt index 75260322148..db345ec2b8b 100644 --- a/compiler/testData/codegen/box/regressions/kt1172.kt +++ b/compiler/testData/codegen/box/regressions/kt1172.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/regressions/kt1800.kt b/compiler/testData/codegen/box/regressions/kt1800.kt index 80abfaa72ee..770b00cc49a 100644 --- a/compiler/testData/codegen/box/regressions/kt1800.kt +++ b/compiler/testData/codegen/box/regressions/kt1800.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME //KT-1800 error/NonExistentClass generated on runtime diff --git a/compiler/testData/codegen/box/regressions/kt18779.kt b/compiler/testData/codegen/box/regressions/kt18779.kt index 986fc495998..228b827bb4e 100644 --- a/compiler/testData/codegen/box/regressions/kt18779.kt +++ b/compiler/testData/codegen/box/regressions/kt18779.kt @@ -1,3 +1,6 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED + sealed class Result { class Failure(val exception: Exception) : Result() class Success(val message: String) : Result() diff --git a/compiler/testData/codegen/box/regressions/kt2017.kt b/compiler/testData/codegen/box/regressions/kt2017.kt index c28300c2f54..60b1e7e1e6f 100644 --- a/compiler/testData/codegen/box/regressions/kt2017.kt +++ b/compiler/testData/codegen/box/regressions/kt2017.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/regressions/kt3107.kt b/compiler/testData/codegen/box/regressions/kt3107.kt index 851d6931058..a7af15e5592 100644 --- a/compiler/testData/codegen/box/regressions/kt3107.kt +++ b/compiler/testData/codegen/box/regressions/kt3107.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun foo(): String { val s = try { "OK" diff --git a/compiler/testData/codegen/box/regressions/kt344.kt b/compiler/testData/codegen/box/regressions/kt344.kt index dd730dfcfbf..7a4b4c33b21 100644 --- a/compiler/testData/codegen/box/regressions/kt344.kt +++ b/compiler/testData/codegen/box/regressions/kt344.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/regressions/kt3442.kt b/compiler/testData/codegen/box/regressions/kt3442.kt index 19c49d33516..78f56c96710 100644 --- a/compiler/testData/codegen/box/regressions/kt3442.kt +++ b/compiler/testData/codegen/box/regressions/kt3442.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/regressions/kt5056.kt b/compiler/testData/codegen/box/regressions/kt5056.kt index 646c8cbe443..31183afd06d 100644 --- a/compiler/testData/codegen/box/regressions/kt5056.kt +++ b/compiler/testData/codegen/box/regressions/kt5056.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/regressions/kt5953.kt b/compiler/testData/codegen/box/regressions/kt5953.kt index 3ccb46f328a..63d15a2f3cc 100644 --- a/compiler/testData/codegen/box/regressions/kt5953.kt +++ b/compiler/testData/codegen/box/regressions/kt5953.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/regressions/kt6153.kt b/compiler/testData/codegen/box/regressions/kt6153.kt index d2b703a5520..9d964b2a507 100644 --- a/compiler/testData/codegen/box/regressions/kt6153.kt +++ b/compiler/testData/codegen/box/regressions/kt6153.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // KT-6153 java.lang.IllegalStateException while building object Bug { diff --git a/compiler/testData/codegen/box/regressions/kt6434.kt b/compiler/testData/codegen/box/regressions/kt6434.kt index 58a4f20c451..d89e12e6936 100644 --- a/compiler/testData/codegen/box/regressions/kt6434.kt +++ b/compiler/testData/codegen/box/regressions/kt6434.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/regressions/kt789.kt b/compiler/testData/codegen/box/regressions/kt789.kt index d3df588ce1f..c4b65c2efe4 100644 --- a/compiler/testData/codegen/box/regressions/kt789.kt +++ b/compiler/testData/codegen/box/regressions/kt789.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME package foo diff --git a/compiler/testData/codegen/box/regressions/objectInsideDelegation.kt b/compiler/testData/codegen/box/regressions/objectInsideDelegation.kt index f2f9caf960d..441b9b5161f 100644 --- a/compiler/testData/codegen/box/regressions/objectInsideDelegation.kt +++ b/compiler/testData/codegen/box/regressions/objectInsideDelegation.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // WITH_RUNTIME val b: First by lazy { diff --git a/compiler/testData/codegen/box/regressions/resolvedCallForGetOperator.kt b/compiler/testData/codegen/box/regressions/resolvedCallForGetOperator.kt index 19841190362..d58741aaa56 100644 --- a/compiler/testData/codegen/box/regressions/resolvedCallForGetOperator.kt +++ b/compiler/testData/codegen/box/regressions/resolvedCallForGetOperator.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: NULLABLE_BOX_FUNCTION // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt b/compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt index 71517c9e4aa..84fc4baa06a 100644 --- a/compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt +++ b/compiler/testData/codegen/box/reified/arraysReification/instanceOf.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: NATIVE // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt b/compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt index 851f55b63dd..1b47ffdcf9d 100644 --- a/compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt +++ b/compiler/testData/codegen/box/reified/arraysReification/instanceOfArrays.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: NATIVE // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/reified/checkcast.kt b/compiler/testData/codegen/box/reified/checkcast.kt index 3b10a4bd5f8..7c534d47c4a 100644 --- a/compiler/testData/codegen/box/reified/checkcast.kt +++ b/compiler/testData/codegen/box/reified/checkcast.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/reified/copyToArray.kt b/compiler/testData/codegen/box/reified/copyToArray.kt index 43564bbd88e..1274b471d07 100644 --- a/compiler/testData/codegen/box/reified/copyToArray.kt +++ b/compiler/testData/codegen/box/reified/copyToArray.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/reified/filterIsInstance.kt b/compiler/testData/codegen/box/reified/filterIsInstance.kt index 400a08a4fd3..20ae572ed5a 100644 --- a/compiler/testData/codegen/box/reified/filterIsInstance.kt +++ b/compiler/testData/codegen/box/reified/filterIsInstance.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/reified/reifiedIntersectionTypeArgument.kt b/compiler/testData/codegen/box/reified/reifiedIntersectionTypeArgument.kt index f042f5db330..bcdeeddd831 100644 --- a/compiler/testData/codegen/box/reified/reifiedIntersectionTypeArgument.kt +++ b/compiler/testData/codegen/box/reified/reifiedIntersectionTypeArgument.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: CLASS_REFERENCES // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/reified/reifiedIntersectionTypeArgumentCrossModule.kt b/compiler/testData/codegen/box/reified/reifiedIntersectionTypeArgumentCrossModule.kt index f627328a70e..58107262155 100644 --- a/compiler/testData/codegen/box/reified/reifiedIntersectionTypeArgumentCrossModule.kt +++ b/compiler/testData/codegen/box/reified/reifiedIntersectionTypeArgumentCrossModule.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: CLASS_REFERENCES // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/reified/reifiedTypeArgumentWithIntersectionTypeAsTypeArgument.kt b/compiler/testData/codegen/box/reified/reifiedTypeArgumentWithIntersectionTypeAsTypeArgument.kt index be1965b57fd..91d35ae921c 100644 --- a/compiler/testData/codegen/box/reified/reifiedTypeArgumentWithIntersectionTypeAsTypeArgument.kt +++ b/compiler/testData/codegen/box/reified/reifiedTypeArgumentWithIntersectionTypeAsTypeArgument.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: CLASS_REFERENCES // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/reified/reifiedTypeArgumentWithRecursion.kt b/compiler/testData/codegen/box/reified/reifiedTypeArgumentWithRecursion.kt index 8dcff939afe..f8a58f7b81c 100644 --- a/compiler/testData/codegen/box/reified/reifiedTypeArgumentWithRecursion.kt +++ b/compiler/testData/codegen/box/reified/reifiedTypeArgumentWithRecursion.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: CLASS_REFERENCES // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/reified/spreads.kt b/compiler/testData/codegen/box/reified/spreads.kt index 3ef1765c97b..40c8f187256 100644 --- a/compiler/testData/codegen/box/reified/spreads.kt +++ b/compiler/testData/codegen/box/reified/spreads.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SPREAD_OPERATOR // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/reified/varargs.kt b/compiler/testData/codegen/box/reified/varargs.kt index a3cd0cbb9d4..32ce927095a 100644 --- a/compiler/testData/codegen/box/reified/varargs.kt +++ b/compiler/testData/codegen/box/reified/varargs.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/safeCall/kt232.kt b/compiler/testData/codegen/box/safeCall/kt232.kt index 2e3a1225d35..f24f123382c 100644 --- a/compiler/testData/codegen/box/safeCall/kt232.kt +++ b/compiler/testData/codegen/box/safeCall/kt232.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/sam/constructors/comparator.kt b/compiler/testData/codegen/box/sam/constructors/comparator.kt index 2970617d582..8db96272fa0 100644 --- a/compiler/testData/codegen/box/sam/constructors/comparator.kt +++ b/compiler/testData/codegen/box/sam/constructors/comparator.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // WITH_RUNTIME // KJS_WITH_FULL_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 87722bd3110..3ed46508728 100644 --- a/compiler/testData/codegen/box/sam/constructors/nonLiteralComparator.kt +++ b/compiler/testData/codegen/box/sam/constructors/nonLiteralComparator.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME // SKIP_DCE_DRIVEN diff --git a/compiler/testData/codegen/box/sam/constructors/sameWrapperClass.kt b/compiler/testData/codegen/box/sam/constructors/sameWrapperClass.kt index 6df35e72ea4..9e678745924 100644 --- a/compiler/testData/codegen/box/sam/constructors/sameWrapperClass.kt +++ b/compiler/testData/codegen/box/sam/constructors/sameWrapperClass.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/secondaryConstructors/fieldInitializerOptimization.kt b/compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt index 395fcfb46a1..76a698344ca 100644 --- a/compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt +++ b/compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: JS // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt b/compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt index 4d82bd9a2d9..6ea6ea3c94e 100644 --- a/compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt +++ b/compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: JS // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/secondaryConstructors/varargs.kt b/compiler/testData/codegen/box/secondaryConstructors/varargs.kt index 39bfb8bf7a9..3e439918592 100644 --- a/compiler/testData/codegen/box/secondaryConstructors/varargs.kt +++ b/compiler/testData/codegen/box/secondaryConstructors/varargs.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SPREAD_OPERATOR fun join(x: Array): String { var result = "" for (i in x) { diff --git a/compiler/testData/codegen/box/secondaryConstructors/withNonLocalReturn.kt b/compiler/testData/codegen/box/secondaryConstructors/withNonLocalReturn.kt index 4ab9a4450b1..0079a2dade7 100644 --- a/compiler/testData/codegen/box/secondaryConstructors/withNonLocalReturn.kt +++ b/compiler/testData/codegen/box/secondaryConstructors/withNonLocalReturn.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES inline fun run2(block: () -> Unit) = block() class A { diff --git a/compiler/testData/codegen/box/secondaryConstructors/withReturn.kt b/compiler/testData/codegen/box/secondaryConstructors/withReturn.kt index b6cb18cf2af..3ce661208cf 100644 --- a/compiler/testData/codegen/box/secondaryConstructors/withReturn.kt +++ b/compiler/testData/codegen/box/secondaryConstructors/withReturn.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES class A { val prop: Int constructor(arg: Boolean) { diff --git a/compiler/testData/codegen/box/secondaryConstructors/withReturnUnit.kt b/compiler/testData/codegen/box/secondaryConstructors/withReturnUnit.kt index 956c6db367e..b8785eef427 100644 --- a/compiler/testData/codegen/box/secondaryConstructors/withReturnUnit.kt +++ b/compiler/testData/codegen/box/secondaryConstructors/withReturnUnit.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES class A { val prop: Int constructor(arg: Boolean) { diff --git a/compiler/testData/codegen/box/smartCasts/kt42517.kt b/compiler/testData/codegen/box/smartCasts/kt42517.kt index 55746dd9a93..8a914df7fa4 100644 --- a/compiler/testData/codegen/box/smartCasts/kt42517.kt +++ b/compiler/testData/codegen/box/smartCasts/kt42517.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: JAVA // WITH_RUNTIME // FULL_JDK // IGNORE_BACKEND: JS_IR diff --git a/compiler/testData/codegen/box/smartCasts/lambdaArgumentWithoutType.kt b/compiler/testData/codegen/box/smartCasts/lambdaArgumentWithoutType.kt index d61d8b3c707..c7e572430d3 100644 --- a/compiler/testData/codegen/box/smartCasts/lambdaArgumentWithoutType.kt +++ b/compiler/testData/codegen/box/smartCasts/lambdaArgumentWithoutType.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: MINOR: JS_NAME_CLASH // 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/smartCasts/nullSmartCast.kt b/compiler/testData/codegen/box/smartCasts/nullSmartCast.kt index 9f1935c7851..41cd6812690 100644 --- a/compiler/testData/codegen/box/smartCasts/nullSmartCast.kt +++ b/compiler/testData/codegen/box/smartCasts/nullSmartCast.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: NULL_REF_CAST // IGNORE_BACKEND_FIR: JVM_IR fun String?.foo() = this ?: "OK" diff --git a/compiler/testData/codegen/box/specialBuiltins/bridges.kt b/compiler/testData/codegen/box/specialBuiltins/bridges.kt index 8f40a4bea0d..ebad83489a5 100644 --- a/compiler/testData/codegen/box/specialBuiltins/bridges.kt +++ b/compiler/testData/codegen/box/specialBuiltins/bridges.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: NATIVE diff --git a/compiler/testData/codegen/box/specialBuiltins/commonBridgesTarget.kt b/compiler/testData/codegen/box/specialBuiltins/commonBridgesTarget.kt index 638ea3eca78..5437eb7b6b0 100644 --- a/compiler/testData/codegen/box/specialBuiltins/commonBridgesTarget.kt +++ b/compiler/testData/codegen/box/specialBuiltins/commonBridgesTarget.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: NATIVE diff --git a/compiler/testData/codegen/box/specialBuiltins/entrySetSOE.kt b/compiler/testData/codegen/box/specialBuiltins/entrySetSOE.kt index c96ea032fa2..435cbae40c9 100644 --- a/compiler/testData/codegen/box/specialBuiltins/entrySetSOE.kt +++ b/compiler/testData/codegen/box/specialBuiltins/entrySetSOE.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: NATIVE diff --git a/compiler/testData/codegen/box/specialBuiltins/enumAsOrdinaled.kt b/compiler/testData/codegen/box/specialBuiltins/enumAsOrdinaled.kt index 434c332237d..60eeded27c5 100644 --- a/compiler/testData/codegen/box/specialBuiltins/enumAsOrdinaled.kt +++ b/compiler/testData/codegen/box/specialBuiltins/enumAsOrdinaled.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BRIDGE_ISSUES interface Ordinaled { val ordinal: Int } diff --git a/compiler/testData/codegen/box/specialBuiltins/explicitSuperCall.kt b/compiler/testData/codegen/box/specialBuiltins/explicitSuperCall.kt index eb8cf9326cf..f9f912f3ab6 100644 --- a/compiler/testData/codegen/box/specialBuiltins/explicitSuperCall.kt +++ b/compiler/testData/codegen/box/specialBuiltins/explicitSuperCall.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // IGNORE_BACKEND_FIR: JVM_IR // KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: NATIVE diff --git a/compiler/testData/codegen/box/specialBuiltins/removeSetInt.kt b/compiler/testData/codegen/box/specialBuiltins/removeSetInt.kt index 48dcbc92e93..fc1c32139c8 100644 --- a/compiler/testData/codegen/box/specialBuiltins/removeSetInt.kt +++ b/compiler/testData/codegen/box/specialBuiltins/removeSetInt.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: NATIVE class MySet : HashSet() { diff --git a/compiler/testData/codegen/box/specialBuiltins/throwable.kt b/compiler/testData/codegen/box/specialBuiltins/throwable.kt index e4040a63794..c6b5f4770e5 100644 --- a/compiler/testData/codegen/box/specialBuiltins/throwable.kt +++ b/compiler/testData/codegen/box/specialBuiltins/throwable.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun box(): String { try { throw Throwable("OK", null) diff --git a/compiler/testData/codegen/box/specialBuiltins/throwableComplex.kt b/compiler/testData/codegen/box/specialBuiltins/throwableComplex.kt index 94e41cbfa77..9fa821dd303 100644 --- a/compiler/testData/codegen/box/specialBuiltins/throwableComplex.kt +++ b/compiler/testData/codegen/box/specialBuiltins/throwableComplex.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // Super calls to Throwable properties are not supported // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 @@ -43,4 +45,4 @@ fun check(t: Throwable, msg: String) { val m = if (c != null) t.message!! + c.message!! else t.message!! if (m != msg) throw AssertionError(m) } -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/specialBuiltins/throwableImpl.kt b/compiler/testData/codegen/box/specialBuiltins/throwableImpl.kt index 0d4ed1d6824..120ddbba4a6 100644 --- a/compiler/testData/codegen/box/specialBuiltins/throwableImpl.kt +++ b/compiler/testData/codegen/box/specialBuiltins/throwableImpl.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED // Super calls to Throwable properties are not supported // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/specialBuiltins/throwableImplWithSecondaryConstructor.kt b/compiler/testData/codegen/box/specialBuiltins/throwableImplWithSecondaryConstructor.kt index afa627c4598..785989e1ccb 100644 --- a/compiler/testData/codegen/box/specialBuiltins/throwableImplWithSecondaryConstructor.kt +++ b/compiler/testData/codegen/box/specialBuiltins/throwableImplWithSecondaryConstructor.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED class MyThrowable : Throwable { val x: String diff --git a/compiler/testData/codegen/box/strings/constInStringTemplate.kt b/compiler/testData/codegen/box/strings/constInStringTemplate.kt index 5595599889d..2251d329391 100644 --- a/compiler/testData/codegen/box/strings/constInStringTemplate.kt +++ b/compiler/testData/codegen/box/strings/constInStringTemplate.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: Float.toString() // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/strings/kt2592.kt b/compiler/testData/codegen/box/strings/kt2592.kt index 013ad56f0d6..7d5e21f4eb4 100644 --- a/compiler/testData/codegen/box/strings/kt2592.kt +++ b/compiler/testData/codegen/box/strings/kt2592.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB fun box(): String { String() return String() + "OK" + String() diff --git a/compiler/testData/codegen/box/strings/kt5389_stringBuilderGet.kt b/compiler/testData/codegen/box/strings/kt5389_stringBuilderGet.kt index 49855350814..9dc2d6d776d 100644 --- a/compiler/testData/codegen/box/strings/kt5389_stringBuilderGet.kt +++ b/compiler/testData/codegen/box/strings/kt5389_stringBuilderGet.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_STRING_BUILDER // KJS_WITH_FULL_RUNTIME fun box(): String { val sb = StringBuilder("OK") diff --git a/compiler/testData/codegen/box/strings/kt889.kt b/compiler/testData/codegen/box/strings/kt889.kt index 2736e0176e6..ea43a1050a8 100644 --- a/compiler/testData/codegen/box/strings/kt889.kt +++ b/compiler/testData/codegen/box/strings/kt889.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/strings/stringBuilderAppend.kt b/compiler/testData/codegen/box/strings/stringBuilderAppend.kt index 30c2eb17951..4b4612a9981 100644 --- a/compiler/testData/codegen/box/strings/stringBuilderAppend.kt +++ b/compiler/testData/codegen/box/strings/stringBuilderAppend.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: JS class A() { diff --git a/compiler/testData/codegen/box/strings/stringPlusOnlyWorksOnString.kt b/compiler/testData/codegen/box/strings/stringPlusOnlyWorksOnString.kt index 69806f7415b..ed4e3a97673 100644 --- a/compiler/testData/codegen/box/strings/stringPlusOnlyWorksOnString.kt +++ b/compiler/testData/codegen/box/strings/stringPlusOnlyWorksOnString.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/super/basicmethodSuperClass.kt b/compiler/testData/codegen/box/super/basicmethodSuperClass.kt index 4165898b355..cc404cfe15b 100644 --- a/compiler/testData/codegen/box/super/basicmethodSuperClass.kt +++ b/compiler/testData/codegen/box/super/basicmethodSuperClass.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: NATIVE diff --git a/compiler/testData/codegen/box/super/superConstructor/kt13846.kt b/compiler/testData/codegen/box/super/superConstructor/kt13846.kt index c066d8e6ce5..d8d7883cc5b 100644 --- a/compiler/testData/codegen/box/super/superConstructor/kt13846.kt +++ b/compiler/testData/codegen/box/super/superConstructor/kt13846.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: BOUND_RECEIVER open class SuperClass(val arg: () -> String) object obj { diff --git a/compiler/testData/codegen/box/super/superConstructor/kt17464_linkedMapOf.kt b/compiler/testData/codegen/box/super/superConstructor/kt17464_linkedMapOf.kt index b4d06baa10b..68554bda49b 100644 --- a/compiler/testData/codegen/box/super/superConstructor/kt17464_linkedMapOf.kt +++ b/compiler/testData/codegen/box/super/superConstructor/kt17464_linkedMapOf.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // FULL_JDK diff --git a/compiler/testData/codegen/box/super/superConstructor/kt18356_2.kt b/compiler/testData/codegen/box/super/superConstructor/kt18356_2.kt index 9773342f5fa..c0e685bc9ff 100644 --- a/compiler/testData/codegen/box/super/superConstructor/kt18356_2.kt +++ b/compiler/testData/codegen/box/super/superConstructor/kt18356_2.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SPREAD_OPERATOR abstract class Base(val s: String, vararg ints: Int) fun foo(s: String, ints: IntArray) = object : Base(ints = *ints, s = s) {} diff --git a/compiler/testData/codegen/box/traits/kt2399.kt b/compiler/testData/codegen/box/traits/kt2399.kt index 3531a36633c..1cf6b20d19f 100644 --- a/compiler/testData/codegen/box/traits/kt2399.kt +++ b/compiler/testData/codegen/box/traits/kt2399.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/traits/noPrivateDelegation.kt b/compiler/testData/codegen/box/traits/noPrivateDelegation.kt index 28546541852..bb94e8ead2d 100644 --- a/compiler/testData/codegen/box/traits/noPrivateDelegation.kt +++ b/compiler/testData/codegen/box/traits/noPrivateDelegation.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/typeMapping/kt3863.kt b/compiler/testData/codegen/box/typeMapping/kt3863.kt index 21b6b4acd63..81c2d49e430 100644 --- a/compiler/testData/codegen/box/typeMapping/kt3863.kt +++ b/compiler/testData/codegen/box/typeMapping/kt3863.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES import kotlin.reflect.KProperty // java.lang.VerifyError: (class: NotImplemented, method: get signature: (Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;) Unable to pop operand off an empty stack diff --git a/compiler/testData/codegen/box/typeMapping/kt3976.kt b/compiler/testData/codegen/box/typeMapping/kt3976.kt index 47110878e72..46cfe76a477 100644 --- a/compiler/testData/codegen/box/typeMapping/kt3976.kt +++ b/compiler/testData/codegen/box/typeMapping/kt3976.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES import kotlin.reflect.KProperty // java.lang.ClassNotFoundException: kotlin.Nothing diff --git a/compiler/testData/codegen/box/typealias/typeAliasAsBareType.kt b/compiler/testData/codegen/box/typealias/typeAliasAsBareType.kt index 165de444126..9316639067a 100644 --- a/compiler/testData/codegen/box/typealias/typeAliasAsBareType.kt +++ b/compiler/testData/codegen/box/typealias/typeAliasAsBareType.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unit/UnitValue.kt b/compiler/testData/codegen/box/unit/UnitValue.kt index 243b563dba8..a13c0e6e54b 100644 --- a/compiler/testData/codegen/box/unit/UnitValue.kt +++ b/compiler/testData/codegen/box/unit/UnitValue.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES fun foo() {} fun box(): String { diff --git a/compiler/testData/codegen/box/unit/closureReturnsNullableUnit.kt b/compiler/testData/codegen/box/unit/closureReturnsNullableUnit.kt index 604b35ab71f..ec1d4db35f3 100644 --- a/compiler/testData/codegen/box/unit/closureReturnsNullableUnit.kt +++ b/compiler/testData/codegen/box/unit/closureReturnsNullableUnit.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES fun isNull(x: Unit?) = x == null fun box(): String { diff --git a/compiler/testData/codegen/box/unit/kt3634.kt b/compiler/testData/codegen/box/unit/kt3634.kt index 4dcbf3f5bfe..41b355ce56a 100644 --- a/compiler/testData/codegen/box/unit/kt3634.kt +++ b/compiler/testData/codegen/box/unit/kt3634.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES val c = Unit val d = c diff --git a/compiler/testData/codegen/box/unit/kt4212.kt b/compiler/testData/codegen/box/unit/kt4212.kt index 5d9db4097e7..f90e272af85 100644 --- a/compiler/testData/codegen/box/unit/kt4212.kt +++ b/compiler/testData/codegen/box/unit/kt4212.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES fun foo(): Any? = bar() fun bar() {} diff --git a/compiler/testData/codegen/box/unit/kt4265.kt b/compiler/testData/codegen/box/unit/kt4265.kt index 3c1aaf9d462..ccde5f60ef7 100644 --- a/compiler/testData/codegen/box/unit/kt4265.kt +++ b/compiler/testData/codegen/box/unit/kt4265.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES fun T.let(f: (T) -> R): R = f(this) fun box(): String { diff --git a/compiler/testData/codegen/box/unit/nullableUnit.kt b/compiler/testData/codegen/box/unit/nullableUnit.kt index 0289cca09ba..c9d1772bc5a 100644 --- a/compiler/testData/codegen/box/unit/nullableUnit.kt +++ b/compiler/testData/codegen/box/unit/nullableUnit.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES fun isNull(x: Unit?) = x == null fun isNullGeneric(x: T?) = x == null diff --git a/compiler/testData/codegen/box/unit/nullableUnitInWhen3.kt b/compiler/testData/codegen/box/unit/nullableUnitInWhen3.kt index b2e2b0ae439..dec7f2b7a1f 100644 --- a/compiler/testData/codegen/box/unit/nullableUnitInWhen3.kt +++ b/compiler/testData/codegen/box/unit/nullableUnitInWhen3.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES fun foo() {} fun box(): String { diff --git a/compiler/testData/codegen/box/unit/unitClassObject.kt b/compiler/testData/codegen/box/unit/unitClassObject.kt index e4cdbacbe14..6d29747589a 100644 --- a/compiler/testData/codegen/box/unit/unitClassObject.kt +++ b/compiler/testData/codegen/box/unit/unitClassObject.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES fun box(): String { Unit diff --git a/compiler/testData/codegen/box/unsignedTypes/forEachIndexedInListOfUInts.kt b/compiler/testData/codegen/box/unsignedTypes/forEachIndexedInListOfUInts.kt index c5b1fb680c4..884682c5ee6 100644 --- a/compiler/testData/codegen/box/unsignedTypes/forEachIndexedInListOfUInts.kt +++ b/compiler/testData/codegen/box/unsignedTypes/forEachIndexedInListOfUInts.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/forInUnsignedDownTo.kt b/compiler/testData/codegen/box/unsignedTypes/forInUnsignedDownTo.kt index ffc80bfeefa..3ecb162d576 100644 --- a/compiler/testData/codegen/box/unsignedTypes/forInUnsignedDownTo.kt +++ b/compiler/testData/codegen/box/unsignedTypes/forInUnsignedDownTo.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/forInUnsignedProgression.kt b/compiler/testData/codegen/box/unsignedTypes/forInUnsignedProgression.kt index d1246849750..92035351c45 100644 --- a/compiler/testData/codegen/box/unsignedTypes/forInUnsignedProgression.kt +++ b/compiler/testData/codegen/box/unsignedTypes/forInUnsignedProgression.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/forInUnsignedRange.kt b/compiler/testData/codegen/box/unsignedTypes/forInUnsignedRange.kt index 87ada5cdb3e..7a88f58a014 100644 --- a/compiler/testData/codegen/box/unsignedTypes/forInUnsignedRange.kt +++ b/compiler/testData/codegen/box/unsignedTypes/forInUnsignedRange.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/forInUnsignedRangeLiteral.kt b/compiler/testData/codegen/box/unsignedTypes/forInUnsignedRangeLiteral.kt index 87f11adc429..aaefd703764 100644 --- a/compiler/testData/codegen/box/unsignedTypes/forInUnsignedRangeLiteral.kt +++ b/compiler/testData/codegen/box/unsignedTypes/forInUnsignedRangeLiteral.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/forInUnsignedUntil.kt b/compiler/testData/codegen/box/unsignedTypes/forInUnsignedUntil.kt index 377a90e66af..8468e31d528 100644 --- a/compiler/testData/codegen/box/unsignedTypes/forInUnsignedUntil.kt +++ b/compiler/testData/codegen/box/unsignedTypes/forInUnsignedUntil.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/inUnsignedDownTo.kt b/compiler/testData/codegen/box/unsignedTypes/inUnsignedDownTo.kt index bbd6b7bd505..c87972db022 100644 --- a/compiler/testData/codegen/box/unsignedTypes/inUnsignedDownTo.kt +++ b/compiler/testData/codegen/box/unsignedTypes/inUnsignedDownTo.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/iterateOverArrayOfUnsignedValues.kt b/compiler/testData/codegen/box/unsignedTypes/iterateOverArrayOfUnsignedValues.kt index e3ef1d808f9..75c87d38f30 100644 --- a/compiler/testData/codegen/box/unsignedTypes/iterateOverArrayOfUnsignedValues.kt +++ b/compiler/testData/codegen/box/unsignedTypes/iterateOverArrayOfUnsignedValues.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNSIGNED_ARRAYS // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/kt25784.kt b/compiler/testData/codegen/box/unsignedTypes/kt25784.kt index 41b3aa34a06..e7dc0265f04 100644 --- a/compiler/testData/codegen/box/unsignedTypes/kt25784.kt +++ b/compiler/testData/codegen/box/unsignedTypes/kt25784.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: PROPERTY_REFERENCES // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/unsignedLongToString.kt b/compiler/testData/codegen/box/unsignedTypes/unsignedLongToString.kt index de80a1a7b62..5600a0751bd 100644 --- a/compiler/testData/codegen/box/unsignedTypes/unsignedLongToString.kt +++ b/compiler/testData/codegen/box/unsignedTypes/unsignedLongToString.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_TEXT // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/unsignedTypePrefixIncrementDecrementBoxing.kt b/compiler/testData/codegen/box/unsignedTypes/unsignedTypePrefixIncrementDecrementBoxing.kt index 69204a99b26..9c6543edddf 100644 --- a/compiler/testData/codegen/box/unsignedTypes/unsignedTypePrefixIncrementDecrementBoxing.kt +++ b/compiler/testData/codegen/box/unsignedTypes/unsignedTypePrefixIncrementDecrementBoxing.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: CLASS_REFERENCES // KJS_WITH_FULL_RUNTIME // WITH_REFLECT diff --git a/compiler/testData/codegen/box/unsignedTypes/unsignedTypeValuesInsideStringTemplates.kt b/compiler/testData/codegen/box/unsignedTypes/unsignedTypeValuesInsideStringTemplates.kt index 12bb49a4795..32b0ffc28d2 100644 --- a/compiler/testData/codegen/box/unsignedTypes/unsignedTypeValuesInsideStringTemplates.kt +++ b/compiler/testData/codegen/box/unsignedTypes/unsignedTypeValuesInsideStringTemplates.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_TEXT // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/varargsOfUnsignedTypes.kt b/compiler/testData/codegen/box/unsignedTypes/varargsOfUnsignedTypes.kt index 93b631ec9ae..b37a7918758 100644 --- a/compiler/testData/codegen/box/unsignedTypes/varargsOfUnsignedTypes.kt +++ b/compiler/testData/codegen/box/unsignedTypes/varargsOfUnsignedTypes.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SPREAD_OPERATOR // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/whenByUnsigned.kt b/compiler/testData/codegen/box/unsignedTypes/whenByUnsigned.kt index a400de3e431..463344912ea 100644 --- a/compiler/testData/codegen/box/unsignedTypes/whenByUnsigned.kt +++ b/compiler/testData/codegen/box/unsignedTypes/whenByUnsigned.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JS diff --git a/compiler/testData/codegen/box/vararg/doNotCopyImmediatelyCreatedArrays.kt b/compiler/testData/codegen/box/vararg/doNotCopyImmediatelyCreatedArrays.kt index 6cc4d47dc23..944304246c5 100644 --- a/compiler/testData/codegen/box/vararg/doNotCopyImmediatelyCreatedArrays.kt +++ b/compiler/testData/codegen/box/vararg/doNotCopyImmediatelyCreatedArrays.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SPREAD_OPERATOR fun booleanVararg(vararg xs: Boolean) { if (xs.size != 1 && xs[0] != true) throw AssertionError() } diff --git a/compiler/testData/codegen/box/vararg/kt37715.kt b/compiler/testData/codegen/box/vararg/kt37715.kt index 023b7340e9e..880a0c327f0 100644 --- a/compiler/testData/codegen/box/vararg/kt37715.kt +++ b/compiler/testData/codegen/box/vararg/kt37715.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // !LANGUAGE: +NewInference // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/box/vararg/kt37779.kt b/compiler/testData/codegen/box/vararg/kt37779.kt index df99fcd9bf4..8cb0f18e726 100644 --- a/compiler/testData/codegen/box/vararg/kt37779.kt +++ b/compiler/testData/codegen/box/vararg/kt37779.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SPREAD_OPERATOR // !LANGUAGE: +AllowAssigningArrayElementsToVarargsInNamedFormForFunctions fun test(vararg s: String) = s[1] + s.size diff --git a/compiler/testData/codegen/box/vararg/kt581.kt b/compiler/testData/codegen/box/vararg/kt581.kt index 9e7c41a3e9a..2407d54ef35 100644 --- a/compiler/testData/codegen/box/vararg/kt581.kt +++ b/compiler/testData/codegen/box/vararg/kt581.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME package whats.the.difference diff --git a/compiler/testData/codegen/box/vararg/kt6192.kt b/compiler/testData/codegen/box/vararg/kt6192.kt index d442cda5937..daa118b13e0 100644 --- a/compiler/testData/codegen/box/vararg/kt6192.kt +++ b/compiler/testData/codegen/box/vararg/kt6192.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SPREAD_OPERATOR fun barB(vararg args: Byte) = args fun barC(vararg args: Char) = args fun barD(vararg args: Double) = args diff --git a/compiler/testData/codegen/box/vararg/spreadCopiesArray.kt b/compiler/testData/codegen/box/vararg/spreadCopiesArray.kt index d5b7fc1fe65..5582075eda9 100644 --- a/compiler/testData/codegen/box/vararg/spreadCopiesArray.kt +++ b/compiler/testData/codegen/box/vararg/spreadCopiesArray.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SPREAD_OPERATOR // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/vararg/varargInFunParam.kt b/compiler/testData/codegen/box/vararg/varargInFunParam.kt index 6f0d02a20d0..abfb078be71 100644 --- a/compiler/testData/codegen/box/vararg/varargInFunParam.kt +++ b/compiler/testData/codegen/box/vararg/varargInFunParam.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: SPREAD_OPERATOR fun box(): String { if (test1() != "") return "fail 1" if (test1(1) != "1") return "fail 2" diff --git a/compiler/testData/codegen/box/when/exceptionOnNoMatch.kt b/compiler/testData/codegen/box/when/exceptionOnNoMatch.kt index 15a1b759082..a2b7d5348a9 100644 --- a/compiler/testData/codegen/box/when/exceptionOnNoMatch.kt +++ b/compiler/testData/codegen/box/when/exceptionOnNoMatch.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED fun isZero(x: Int) = when(x) { 0 -> true else -> throw Exception() diff --git a/compiler/testData/codegen/box/when/integralWhenWithNoInlinedConstants.kt b/compiler/testData/codegen/box/when/integralWhenWithNoInlinedConstants.kt index 1b86e600a2d..3adbc2fa578 100644 --- a/compiler/testData/codegen/box/when/integralWhenWithNoInlinedConstants.kt +++ b/compiler/testData/codegen/box/when/integralWhenWithNoInlinedConstants.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: IGNORED_IN_JS // 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/when/is.kt b/compiler/testData/codegen/box/when/is.kt index 3e1088b8656..a8827fb098d 100644 --- a/compiler/testData/codegen/box/when/is.kt +++ b/compiler/testData/codegen/box/when/is.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME fun typeName(a: Any?) : String { return when(a) { diff --git a/compiler/testData/codegen/box/when/kt5448.kt b/compiler/testData/codegen/box/when/kt5448.kt index e7bb0376b21..9a19e4ac6d9 100644 --- a/compiler/testData/codegen/box/when/kt5448.kt +++ b/compiler/testData/codegen/box/when/kt5448.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/when/noElseExhaustiveUnitExpected.kt b/compiler/testData/codegen/box/when/noElseExhaustiveUnitExpected.kt index 2c69069abac..12e50f90e8e 100644 --- a/compiler/testData/codegen/box/when/noElseExhaustiveUnitExpected.kt +++ b/compiler/testData/codegen/box/when/noElseExhaustiveUnitExpected.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: UNIT_ISSUES enum class En { A, B diff --git a/compiler/testData/codegen/box/when/range.kt b/compiler/testData/codegen/box/when/range.kt index 661765305ac..de4fca5498d 100644 --- a/compiler/testData/codegen/box/when/range.kt +++ b/compiler/testData/codegen/box/when/range.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME fun isDigit(a: Int) : String { val aa = ArrayList () diff --git a/compiler/testData/codegen/box/when/stringOptimization/temporaryVarInWhenByStringIsDisposedProperly.kt b/compiler/testData/codegen/box/when/stringOptimization/temporaryVarInWhenByStringIsDisposedProperly.kt index b452b5a85d6..4e32bbaf047 100644 --- a/compiler/testData/codegen/box/when/stringOptimization/temporaryVarInWhenByStringIsDisposedProperly.kt +++ b/compiler/testData/codegen/box/when/stringOptimization/temporaryVarInWhenByStringIsDisposedProperly.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_GENERATED // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/when/switchOptimizationDense.kt b/compiler/testData/codegen/box/when/switchOptimizationDense.kt index 02eee6b6ca9..cd1e54f3596 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationDense.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationDense.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // CHECK_CASES_COUNT: function=dense count=10 diff --git a/compiler/testData/codegen/box/when/switchOptimizationMultipleConditions.kt b/compiler/testData/codegen/box/when/switchOptimizationMultipleConditions.kt index 9fa88043b27..a610f2b5abb 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationMultipleConditions.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationMultipleConditions.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME // CHECK_CASES_COUNT: function=foo count=9 diff --git a/compiler/testData/codegen/box/when/switchOptimizationSparse.kt b/compiler/testData/codegen/box/when/switchOptimizationSparse.kt index 59c7a10cd02..34760d9f3f4 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationSparse.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationSparse.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // CHECK_CASES_COUNT: function=sparse count=3 diff --git a/compiler/testData/codegen/box/when/switchOptimizationStatement.kt b/compiler/testData/codegen/box/when/switchOptimizationStatement.kt index fed77d9e5a1..cb19a31a809 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationStatement.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationStatement.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // CHECK_CASES_COUNT: function=exhaustive count=3 diff --git a/compiler/testData/codegen/box/when/switchOptimizationTypes.kt b/compiler/testData/codegen/box/when/switchOptimizationTypes.kt index 6f0137bd7cf..f795ba581d1 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationTypes.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationTypes.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // CHECK_CASES_COUNT: function=intFoo count=3 diff --git a/compiler/testData/codegen/box/when/switchOptimizationUnordered.kt b/compiler/testData/codegen/box/when/switchOptimizationUnordered.kt index 32a1dc501f7..25bde3c69bc 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationUnordered.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationUnordered.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // CHECK_CASES_COUNT: function=foo count=3 diff --git a/compiler/testData/codegen/box/when/switchOptimizationWithGap.kt b/compiler/testData/codegen/box/when/switchOptimizationWithGap.kt index 8e22f547c87..a2280401a83 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationWithGap.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationWithGap.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // CHECK_CASES_COUNT: function=foo count=4 diff --git a/compiler/testData/codegen/box/when/whenArgumentIsEvaluatedOnlyOnce.kt b/compiler/testData/codegen/box/when/whenArgumentIsEvaluatedOnlyOnce.kt index 665d10d7d3a..290af098c87 100644 --- a/compiler/testData/codegen/box/when/whenArgumentIsEvaluatedOnlyOnce.kt +++ b/compiler/testData/codegen/box/when/whenArgumentIsEvaluatedOnlyOnce.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME var x = 0 fun inc(): Int { diff --git a/compiler/testData/codegen/box/when/whenSubjectVariable/denseIntSwitchWithSubjectVariable.kt b/compiler/testData/codegen/box/when/whenSubjectVariable/denseIntSwitchWithSubjectVariable.kt index 17116b208d0..f807f43c8c2 100644 --- a/compiler/testData/codegen/box/when/whenSubjectVariable/denseIntSwitchWithSubjectVariable.kt +++ b/compiler/testData/codegen/box/when/whenSubjectVariable/denseIntSwitchWithSubjectVariable.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // !LANGUAGE: +VariableDeclarationInWhenSubject // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/when/whenSubjectVariable/sparseIntSwitchWithSubjectVariable.kt b/compiler/testData/codegen/box/when/whenSubjectVariable/sparseIntSwitchWithSubjectVariable.kt index e6b7d06b2d2..4cbfa4c5f64 100644 --- a/compiler/testData/codegen/box/when/whenSubjectVariable/sparseIntSwitchWithSubjectVariable.kt +++ b/compiler/testData/codegen/box/when/whenSubjectVariable/sparseIntSwitchWithSubjectVariable.kt @@ -1,3 +1,5 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: STDLIB_COLLECTIONS // KJS_WITH_FULL_RUNTIME // !LANGUAGE: +VariableDeclarationInWhenSubject // WITH_RUNTIME diff --git a/compiler/tests/org/jetbrains/kotlin/generators/tests/GenerateInRangeExpressionTestData.kt b/compiler/tests/org/jetbrains/kotlin/generators/tests/GenerateInRangeExpressionTestData.kt index a395a59e644..20ca38df93b 100644 --- a/compiler/tests/org/jetbrains/kotlin/generators/tests/GenerateInRangeExpressionTestData.kt +++ b/compiler/tests/org/jetbrains/kotlin/generators/tests/GenerateInRangeExpressionTestData.kt @@ -16,6 +16,8 @@ object GenerateInRangeExpressionTestData { private val PREAMBLE_MESSAGE = "Auto-generated by ${GenerateInRangeExpressionTestData::class.java.simpleName}. Do not edit!" + private val FILES_MUTED_IN_WASM = listOf("charDownTo.kt", "intDownTo.kt", "longDownTo.kt") + private fun generateMatrixTestCase( fileName: String, rangeExpressions: List, @@ -24,16 +26,20 @@ object GenerateInRangeExpressionTestData { ) { PrintWriter(File(GENERATED_DIR, fileName)).use { it.generateTestCaseBody( - header, rangeExpressions, elementExpressions + fileName, header, rangeExpressions, elementExpressions ) } } private fun PrintWriter.generateTestCaseBody( + fileName: String, header: String, rangeExpressions: List, elementExpressions: List ) { + if (fileName in FILES_MUTED_IN_WASM) { + println("// DONT_TARGET_EXACT_BACKEND: WASM") + } println("// KJS_WITH_FULL_RUNTIME") println("// $PREAMBLE_MESSAGE") println("// WITH_RUNTIME") diff --git a/compiler/tests/org/jetbrains/kotlin/generators/tests/GenerateRangesCodegenTestData.java b/compiler/tests/org/jetbrains/kotlin/generators/tests/GenerateRangesCodegenTestData.java index 6a38ba0fa7e..203aa9a96d8 100644 --- a/compiler/tests/org/jetbrains/kotlin/generators/tests/GenerateRangesCodegenTestData.java +++ b/compiler/tests/org/jetbrains/kotlin/generators/tests/GenerateRangesCodegenTestData.java @@ -151,6 +151,7 @@ public class GenerateRangesCodegenTestData { if (ignoreJvmIR) { out.println("// IGNORE_BACKEND: JVM_IR"); } + out.println("// DONT_TARGET_EXACT_BACKEND: WASM"); out.println("// KJS_WITH_FULL_RUNTIME"); out.println("// Auto-generated by " + GenerateRangesCodegenTestData.class.getName() + ". DO NOT EDIT!"); out.println("// WITH_RUNTIME"); diff --git a/compiler/tests/org/jetbrains/kotlin/generators/tests/GenerateSteppedRangesCodegenTestData.kt b/compiler/tests/org/jetbrains/kotlin/generators/tests/GenerateSteppedRangesCodegenTestData.kt index cc8afc8a765..e51a37c8d35 100644 --- a/compiler/tests/org/jetbrains/kotlin/generators/tests/GenerateSteppedRangesCodegenTestData.kt +++ b/compiler/tests/org/jetbrains/kotlin/generators/tests/GenerateSteppedRangesCodegenTestData.kt @@ -172,6 +172,7 @@ object GenerateSteppedRangesCodegenTestData { if (shouldIgnoreForJvmIR) { println("// IGNORE_BACKEND: JVM_IR") } + println("// DONT_TARGET_EXACT_BACKEND: WASM") println("// KJS_WITH_FULL_RUNTIME") println("// WITH_RUNTIME") if (asLiteral && KT_34166_AFFECTED_FILENAMES.contains(fileName)) { diff --git a/js/js.tests/test/org/jetbrains/kotlin/generators/tests/GenerateJsTests.kt b/js/js.tests/test/org/jetbrains/kotlin/generators/tests/GenerateJsTests.kt index 5387bea6ce3..ce1ee679fbe 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/generators/tests/GenerateJsTests.kt +++ b/js/js.tests/test/org/jetbrains/kotlin/generators/tests/GenerateJsTests.kt @@ -77,6 +77,33 @@ fun main(args: Array) { model("codegen/boxError", targetBackend = TargetBackend.JS_IR) } + testClass { + model( + "codegen/box", pattern = "^([^_](.+))\\.kt$", targetBackend = TargetBackend.WASM, excludeDirs = listOf( + + // TODO: Support reflection + "toArray", "classLiteral", "reflection", + + // TODO: Add stdlib + "contracts", "platformTypes", + + // TODO: ArrayList + "ranges/stepped/unsigned", + + // TODO: Support coroutines + "coroutines", "parametersMetadata", + + // TODO: Support exceptions + "finally", "deadCodeElimination", "controlStructures/tryCatchInExpressions", + + // TODO: Support delegated properties + "delegatedProperty", + + "oldLanguageVersions" + ) + ) + } + testClass { model("codegen/box", targetBackend = TargetBackend.JS_IR_ES6) } diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/wasm/semantics/IrCodegenBoxWasmTestGenerated.java b/js/js.tests/test/org/jetbrains/kotlin/js/test/wasm/semantics/IrCodegenBoxWasmTestGenerated.java new file mode 100644 index 00000000000..c149ac570e2 --- /dev/null +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/wasm/semantics/IrCodegenBoxWasmTestGenerated.java @@ -0,0 +1,14753 @@ +/* + * Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. + */ + +package org.jetbrains.kotlin.js.test.wasm.semantics; + +import com.intellij.testFramework.TestDataPath; +import org.jetbrains.kotlin.test.JUnit3RunnerWithInners; +import org.jetbrains.kotlin.test.KotlinTestUtils; +import org.jetbrains.kotlin.test.TargetBackend; +import org.jetbrains.kotlin.test.TestMetadata; +import org.junit.runner.RunWith; + +import java.io.File; +import java.util.regex.Pattern; + +/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.TestsPackage}. DO NOT MODIFY MANUALLY */ +@SuppressWarnings("all") +@TestMetadata("compiler/testData/codegen/box") +@TestDataPath("$PROJECT_ROOT") +@RunWith(JUnit3RunnerWithInners.class) +public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInBox() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true, "toArray", "classLiteral", "reflection", "contracts", "platformTypes", "ranges/stepped/unsigned", "coroutines", "parametersMetadata", "finally", "deadCodeElimination", "controlStructures/tryCatchInExpressions", "delegatedProperty", "oldLanguageVersions"); + } + + @TestMetadata("compiler/testData/codegen/box/annotations") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Annotations extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInAnnotations() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/annotations"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("nestedAnnotation.kt") + public void testNestedAnnotation() throws Exception { + runTest("compiler/testData/codegen/box/annotations/nestedAnnotation.kt"); + } + + @TestMetadata("nestedClassesInAnnotations.kt") + public void testNestedClassesInAnnotations() throws Exception { + runTest("compiler/testData/codegen/box/annotations/nestedClassesInAnnotations.kt"); + } + + @TestMetadata("resolveWithLowPriorityAnnotation.kt") + public void testResolveWithLowPriorityAnnotation() throws Exception { + runTest("compiler/testData/codegen/box/annotations/resolveWithLowPriorityAnnotation.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/annotations/annotatedLambda") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class AnnotatedLambda extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInAnnotatedLambda() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/annotations/annotatedLambda"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/annotations/typeAnnotations") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class TypeAnnotations extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInTypeAnnotations() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/annotations/typeAnnotations"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/argumentOrder") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ArgumentOrder extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInArgumentOrder() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/argumentOrder"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("argumentOrderInObjectSuperCall.kt") + public void testArgumentOrderInObjectSuperCall() throws Exception { + runTest("compiler/testData/codegen/box/argumentOrder/argumentOrderInObjectSuperCall.kt"); + } + + @TestMetadata("argumentOrderInSuperCall.kt") + public void testArgumentOrderInSuperCall() throws Exception { + runTest("compiler/testData/codegen/box/argumentOrder/argumentOrderInSuperCall.kt"); + } + + @TestMetadata("arguments.kt") + public void testArguments() throws Exception { + runTest("compiler/testData/codegen/box/argumentOrder/arguments.kt"); + } + + @TestMetadata("captured.kt") + public void testCaptured() throws Exception { + runTest("compiler/testData/codegen/box/argumentOrder/captured.kt"); + } + + @TestMetadata("capturedInExtension.kt") + public void testCapturedInExtension() throws Exception { + runTest("compiler/testData/codegen/box/argumentOrder/capturedInExtension.kt"); + } + + @TestMetadata("defaults.kt") + public void testDefaults() throws Exception { + runTest("compiler/testData/codegen/box/argumentOrder/defaults.kt"); + } + + @TestMetadata("extension.kt") + public void testExtension() throws Exception { + runTest("compiler/testData/codegen/box/argumentOrder/extension.kt"); + } + + @TestMetadata("extensionInClass.kt") + public void testExtensionInClass() throws Exception { + runTest("compiler/testData/codegen/box/argumentOrder/extensionInClass.kt"); + } + + @TestMetadata("kt9277.kt") + public void testKt9277() throws Exception { + runTest("compiler/testData/codegen/box/argumentOrder/kt9277.kt"); + } + + @TestMetadata("lambdaMigration.kt") + public void testLambdaMigration() throws Exception { + runTest("compiler/testData/codegen/box/argumentOrder/lambdaMigration.kt"); + } + + @TestMetadata("lambdaMigrationInClass.kt") + public void testLambdaMigrationInClass() throws Exception { + runTest("compiler/testData/codegen/box/argumentOrder/lambdaMigrationInClass.kt"); + } + + @TestMetadata("simple.kt") + public void testSimple() throws Exception { + runTest("compiler/testData/codegen/box/argumentOrder/simple.kt"); + } + + @TestMetadata("simpleInClass.kt") + public void testSimpleInClass() throws Exception { + runTest("compiler/testData/codegen/box/argumentOrder/simpleInClass.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/arrays") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Arrays extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInArrays() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/arrays"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("arrayConstructorWithNonInlineLambda.kt") + public void testArrayConstructorWithNonInlineLambda() throws Exception { + runTest("compiler/testData/codegen/box/arrays/arrayConstructorWithNonInlineLambda.kt"); + } + + @TestMetadata("arrayConstructorsSimple.kt") + public void testArrayConstructorsSimple() throws Exception { + runTest("compiler/testData/codegen/box/arrays/arrayConstructorsSimple.kt"); + } + + @TestMetadata("arrayGetAssignMultiIndex.kt") + public void testArrayGetAssignMultiIndex() throws Exception { + runTest("compiler/testData/codegen/box/arrays/arrayGetAssignMultiIndex.kt"); + } + + @TestMetadata("arrayGetMultiIndex.kt") + public void testArrayGetMultiIndex() throws Exception { + runTest("compiler/testData/codegen/box/arrays/arrayGetMultiIndex.kt"); + } + + @TestMetadata("arrayInstanceOf.kt") + public void testArrayInstanceOf() throws Exception { + runTest("compiler/testData/codegen/box/arrays/arrayInstanceOf.kt"); + } + + @TestMetadata("arrayPlusAssign.kt") + public void testArrayPlusAssign() throws Exception { + runTest("compiler/testData/codegen/box/arrays/arrayPlusAssign.kt"); + } + + @TestMetadata("forEachBooleanArray.kt") + public void testForEachBooleanArray() throws Exception { + runTest("compiler/testData/codegen/box/arrays/forEachBooleanArray.kt"); + } + + @TestMetadata("forEachByteArray.kt") + public void testForEachByteArray() throws Exception { + runTest("compiler/testData/codegen/box/arrays/forEachByteArray.kt"); + } + + @TestMetadata("forEachCharArray.kt") + public void testForEachCharArray() throws Exception { + runTest("compiler/testData/codegen/box/arrays/forEachCharArray.kt"); + } + + @TestMetadata("forEachDoubleArray.kt") + public void testForEachDoubleArray() throws Exception { + runTest("compiler/testData/codegen/box/arrays/forEachDoubleArray.kt"); + } + + @TestMetadata("forEachFloatArray.kt") + public void testForEachFloatArray() throws Exception { + runTest("compiler/testData/codegen/box/arrays/forEachFloatArray.kt"); + } + + @TestMetadata("forEachIntArray.kt") + public void testForEachIntArray() throws Exception { + runTest("compiler/testData/codegen/box/arrays/forEachIntArray.kt"); + } + + @TestMetadata("forEachLongArray.kt") + public void testForEachLongArray() throws Exception { + runTest("compiler/testData/codegen/box/arrays/forEachLongArray.kt"); + } + + @TestMetadata("forEachShortArray.kt") + public void testForEachShortArray() throws Exception { + runTest("compiler/testData/codegen/box/arrays/forEachShortArray.kt"); + } + + @TestMetadata("genericArrayInObjectLiteralConstructor.kt") + public void testGenericArrayInObjectLiteralConstructor() throws Exception { + runTest("compiler/testData/codegen/box/arrays/genericArrayInObjectLiteralConstructor.kt"); + } + + @TestMetadata("inProjectionAsParameter.kt") + public void testInProjectionAsParameter() throws Exception { + runTest("compiler/testData/codegen/box/arrays/inProjectionAsParameter.kt"); + } + + @TestMetadata("inProjectionOfArray.kt") + public void testInProjectionOfArray() throws Exception { + runTest("compiler/testData/codegen/box/arrays/inProjectionOfArray.kt"); + } + + @TestMetadata("inProjectionOfList.kt") + public void testInProjectionOfList() throws Exception { + runTest("compiler/testData/codegen/box/arrays/inProjectionOfList.kt"); + } + + @TestMetadata("indices.kt") + public void testIndices() throws Exception { + runTest("compiler/testData/codegen/box/arrays/indices.kt"); + } + + @TestMetadata("indicesChar.kt") + public void testIndicesChar() throws Exception { + runTest("compiler/testData/codegen/box/arrays/indicesChar.kt"); + } + + @TestMetadata("inlineInitializer.kt") + public void testInlineInitializer() throws Exception { + runTest("compiler/testData/codegen/box/arrays/inlineInitializer.kt"); + } + + @TestMetadata("iterator.kt") + public void testIterator() throws Exception { + runTest("compiler/testData/codegen/box/arrays/iterator.kt"); + } + + @TestMetadata("iteratorBooleanArray.kt") + public void testIteratorBooleanArray() throws Exception { + runTest("compiler/testData/codegen/box/arrays/iteratorBooleanArray.kt"); + } + + @TestMetadata("iteratorByteArray.kt") + public void testIteratorByteArray() throws Exception { + runTest("compiler/testData/codegen/box/arrays/iteratorByteArray.kt"); + } + + @TestMetadata("iteratorByteArrayNextByte.kt") + public void testIteratorByteArrayNextByte() throws Exception { + runTest("compiler/testData/codegen/box/arrays/iteratorByteArrayNextByte.kt"); + } + + @TestMetadata("iteratorCharArray.kt") + public void testIteratorCharArray() throws Exception { + runTest("compiler/testData/codegen/box/arrays/iteratorCharArray.kt"); + } + + @TestMetadata("iteratorDoubleArray.kt") + public void testIteratorDoubleArray() throws Exception { + runTest("compiler/testData/codegen/box/arrays/iteratorDoubleArray.kt"); + } + + @TestMetadata("iteratorFloatArray.kt") + public void testIteratorFloatArray() throws Exception { + runTest("compiler/testData/codegen/box/arrays/iteratorFloatArray.kt"); + } + + @TestMetadata("iteratorIntArray.kt") + public void testIteratorIntArray() throws Exception { + runTest("compiler/testData/codegen/box/arrays/iteratorIntArray.kt"); + } + + @TestMetadata("iteratorLongArray.kt") + public void testIteratorLongArray() throws Exception { + runTest("compiler/testData/codegen/box/arrays/iteratorLongArray.kt"); + } + + @TestMetadata("iteratorLongArrayNextLong.kt") + public void testIteratorLongArrayNextLong() throws Exception { + runTest("compiler/testData/codegen/box/arrays/iteratorLongArrayNextLong.kt"); + } + + @TestMetadata("iteratorShortArray.kt") + public void testIteratorShortArray() throws Exception { + runTest("compiler/testData/codegen/box/arrays/iteratorShortArray.kt"); + } + + @TestMetadata("kt1291.kt") + public void testKt1291() throws Exception { + runTest("compiler/testData/codegen/box/arrays/kt1291.kt"); + } + + @TestMetadata("kt238.kt") + public void testKt238() throws Exception { + runTest("compiler/testData/codegen/box/arrays/kt238.kt"); + } + + @TestMetadata("kt3771.kt") + public void testKt3771() throws Exception { + runTest("compiler/testData/codegen/box/arrays/kt3771.kt"); + } + + @TestMetadata("kt4118.kt") + public void testKt4118() throws Exception { + runTest("compiler/testData/codegen/box/arrays/kt4118.kt"); + } + + @TestMetadata("kt4348.kt") + public void testKt4348() throws Exception { + runTest("compiler/testData/codegen/box/arrays/kt4348.kt"); + } + + @TestMetadata("kt4357.kt") + public void testKt4357() throws Exception { + runTest("compiler/testData/codegen/box/arrays/kt4357.kt"); + } + + @TestMetadata("kt7009.kt") + public void testKt7009() throws Exception { + runTest("compiler/testData/codegen/box/arrays/kt7009.kt"); + } + + @TestMetadata("kt7288.kt") + public void testKt7288() throws Exception { + runTest("compiler/testData/codegen/box/arrays/kt7288.kt"); + } + + @TestMetadata("kt779.kt") + public void testKt779() throws Exception { + runTest("compiler/testData/codegen/box/arrays/kt779.kt"); + } + + @TestMetadata("kt945.kt") + public void testKt945() throws Exception { + runTest("compiler/testData/codegen/box/arrays/kt945.kt"); + } + + @TestMetadata("longAsIndex.kt") + public void testLongAsIndex() throws Exception { + runTest("compiler/testData/codegen/box/arrays/longAsIndex.kt"); + } + + @TestMetadata("nonNullArray.kt") + public void testNonNullArray() throws Exception { + runTest("compiler/testData/codegen/box/arrays/nonNullArray.kt"); + } + + @TestMetadata("stdlib.kt") + public void testStdlib() throws Exception { + runTest("compiler/testData/codegen/box/arrays/stdlib.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/arrays/arraysOfInlineClass") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ArraysOfInlineClass extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + @TestMetadata("accessArrayOfInlineClass.kt") + public void testAccessArrayOfInlineClass() throws Exception { + runTest("compiler/testData/codegen/box/arrays/arraysOfInlineClass/accessArrayOfInlineClass.kt"); + } + + @TestMetadata("accessArrayOfUnsigned.kt") + public void testAccessArrayOfUnsigned() throws Exception { + runTest("compiler/testData/codegen/box/arrays/arraysOfInlineClass/accessArrayOfUnsigned.kt"); + } + + public void testAllFilesPresentInArraysOfInlineClass() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/arrays/arraysOfInlineClass"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("arrayOfInlineClassOfArrayOfInlineClass.kt") + public void testArrayOfInlineClassOfArrayOfInlineClass() throws Exception { + runTest("compiler/testData/codegen/box/arrays/arraysOfInlineClass/arrayOfInlineClassOfArrayOfInlineClass.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/arrays/forInReversed") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ForInReversed extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInForInReversed() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/arrays/forInReversed"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("reversedArrayOriginalUpdatedInLoopBody.kt") + public void testReversedArrayOriginalUpdatedInLoopBody() throws Exception { + runTest("compiler/testData/codegen/box/arrays/forInReversed/reversedArrayOriginalUpdatedInLoopBody.kt"); + } + + @TestMetadata("reversedArrayReversedArrayOriginalUpdatedInLoopBody.kt") + public void testReversedArrayReversedArrayOriginalUpdatedInLoopBody() throws Exception { + runTest("compiler/testData/codegen/box/arrays/forInReversed/reversedArrayReversedArrayOriginalUpdatedInLoopBody.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/arrays/multiDecl") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class MultiDecl extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInMultiDecl() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/arrays/multiDecl"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("kt15560.kt") + public void testKt15560() throws Exception { + runTest("compiler/testData/codegen/box/arrays/multiDecl/kt15560.kt"); + } + + @TestMetadata("kt15568.kt") + public void testKt15568() throws Exception { + runTest("compiler/testData/codegen/box/arrays/multiDecl/kt15568.kt"); + } + + @TestMetadata("kt15575.kt") + public void testKt15575() throws Exception { + runTest("compiler/testData/codegen/box/arrays/multiDecl/kt15575.kt"); + } + + @TestMetadata("MultiDeclFor.kt") + public void testMultiDeclFor() throws Exception { + runTest("compiler/testData/codegen/box/arrays/multiDecl/MultiDeclFor.kt"); + } + + @TestMetadata("MultiDeclForComponentExtensions.kt") + public void testMultiDeclForComponentExtensions() throws Exception { + runTest("compiler/testData/codegen/box/arrays/multiDecl/MultiDeclForComponentExtensions.kt"); + } + + @TestMetadata("MultiDeclForComponentMemberExtensions.kt") + public void testMultiDeclForComponentMemberExtensions() throws Exception { + runTest("compiler/testData/codegen/box/arrays/multiDecl/MultiDeclForComponentMemberExtensions.kt"); + } + + @TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt") + public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception { + runTest("compiler/testData/codegen/box/arrays/multiDecl/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt"); + } + + @TestMetadata("MultiDeclForValCaptured.kt") + public void testMultiDeclForValCaptured() throws Exception { + runTest("compiler/testData/codegen/box/arrays/multiDecl/MultiDeclForValCaptured.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/arrays/multiDecl/int") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Int extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInInt() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/arrays/multiDecl/int"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("MultiDeclForComponentExtensions.kt") + public void testMultiDeclForComponentExtensions() throws Exception { + runTest("compiler/testData/codegen/box/arrays/multiDecl/int/MultiDeclForComponentExtensions.kt"); + } + + @TestMetadata("MultiDeclForComponentExtensionsValCaptured.kt") + public void testMultiDeclForComponentExtensionsValCaptured() throws Exception { + runTest("compiler/testData/codegen/box/arrays/multiDecl/int/MultiDeclForComponentExtensionsValCaptured.kt"); + } + + @TestMetadata("MultiDeclForComponentMemberExtensions.kt") + public void testMultiDeclForComponentMemberExtensions() throws Exception { + runTest("compiler/testData/codegen/box/arrays/multiDecl/int/MultiDeclForComponentMemberExtensions.kt"); + } + + @TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt") + public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception { + runTest("compiler/testData/codegen/box/arrays/multiDecl/int/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/arrays/multiDecl/long") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Long extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInLong() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/arrays/multiDecl/long"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("MultiDeclForComponentExtensions.kt") + public void testMultiDeclForComponentExtensions() throws Exception { + runTest("compiler/testData/codegen/box/arrays/multiDecl/long/MultiDeclForComponentExtensions.kt"); + } + + @TestMetadata("MultiDeclForComponentExtensionsValCaptured.kt") + public void testMultiDeclForComponentExtensionsValCaptured() throws Exception { + runTest("compiler/testData/codegen/box/arrays/multiDecl/long/MultiDeclForComponentExtensionsValCaptured.kt"); + } + + @TestMetadata("MultiDeclForComponentMemberExtensions.kt") + public void testMultiDeclForComponentMemberExtensions() throws Exception { + runTest("compiler/testData/codegen/box/arrays/multiDecl/long/MultiDeclForComponentMemberExtensions.kt"); + } + + @TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt") + public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception { + runTest("compiler/testData/codegen/box/arrays/multiDecl/long/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt"); + } + } + } + } + + @TestMetadata("compiler/testData/codegen/box/assert") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Assert extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInAssert() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/assert"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/assert/jvm") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Jvm extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + private void runTestWithPackageReplacement(String testDataFilePath, String packageName) throws Exception { + KotlinTestUtils.runTest0(filePath -> doTestWithCoroutinesPackageReplacement(filePath, packageName), TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInJvm() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/assert/jvm"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/binaryOp") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class BinaryOp extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInBinaryOp() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/binaryOp"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("bitwiseOp.kt") + public void testBitwiseOp() throws Exception { + runTest("compiler/testData/codegen/box/binaryOp/bitwiseOp.kt"); + } + + @TestMetadata("bitwiseOpAny.kt") + public void testBitwiseOpAny() throws Exception { + runTest("compiler/testData/codegen/box/binaryOp/bitwiseOpAny.kt"); + } + + @TestMetadata("bitwiseOpNullable.kt") + public void testBitwiseOpNullable() throws Exception { + runTest("compiler/testData/codegen/box/binaryOp/bitwiseOpNullable.kt"); + } + + @TestMetadata("call.kt") + public void testCall() throws Exception { + runTest("compiler/testData/codegen/box/binaryOp/call.kt"); + } + + @TestMetadata("callAny.kt") + public void testCallAny() throws Exception { + runTest("compiler/testData/codegen/box/binaryOp/callAny.kt"); + } + + @TestMetadata("callNullable.kt") + public void testCallNullable() throws Exception { + runTest("compiler/testData/codegen/box/binaryOp/callNullable.kt"); + } + + @TestMetadata("compareBoxedChars.kt") + public void testCompareBoxedChars() throws Exception { + runTest("compiler/testData/codegen/box/binaryOp/compareBoxedChars.kt"); + } + + @TestMetadata("eqNullableDoubles.kt") + public void testEqNullableDoubles() throws Exception { + runTest("compiler/testData/codegen/box/binaryOp/eqNullableDoubles.kt"); + } + + @TestMetadata("eqNullableDoublesToInt.kt") + public void testEqNullableDoublesToInt() throws Exception { + runTest("compiler/testData/codegen/box/binaryOp/eqNullableDoublesToInt.kt"); + } + + @TestMetadata("eqNullableDoublesToIntWithTP.kt") + public void testEqNullableDoublesToIntWithTP() throws Exception { + runTest("compiler/testData/codegen/box/binaryOp/eqNullableDoublesToIntWithTP.kt"); + } + + @TestMetadata("eqNullableDoublesWithTP.kt") + public void testEqNullableDoublesWithTP() throws Exception { + runTest("compiler/testData/codegen/box/binaryOp/eqNullableDoublesWithTP.kt"); + } + + @TestMetadata("intrinsic.kt") + public void testIntrinsic() throws Exception { + runTest("compiler/testData/codegen/box/binaryOp/intrinsic.kt"); + } + + @TestMetadata("intrinsicAny.kt") + public void testIntrinsicAny() throws Exception { + runTest("compiler/testData/codegen/box/binaryOp/intrinsicAny.kt"); + } + + @TestMetadata("intrinsicNullable.kt") + public void testIntrinsicNullable() throws Exception { + runTest("compiler/testData/codegen/box/binaryOp/intrinsicNullable.kt"); + } + + @TestMetadata("kt11163.kt") + public void testKt11163() throws Exception { + runTest("compiler/testData/codegen/box/binaryOp/kt11163.kt"); + } + + @TestMetadata("kt11163_properIeee754comparisons.kt") + public void testKt11163_properIeee754comparisons() throws Exception { + runTest("compiler/testData/codegen/box/binaryOp/kt11163_properIeee754comparisons.kt"); + } + + @TestMetadata("kt23030_properIeee754comparisons.kt") + public void testKt23030_properIeee754comparisons() throws Exception { + runTest("compiler/testData/codegen/box/binaryOp/kt23030_properIeee754comparisons.kt"); + } + + @TestMetadata("kt6747_identityEquals.kt") + public void testKt6747_identityEquals() throws Exception { + runTest("compiler/testData/codegen/box/binaryOp/kt6747_identityEquals.kt"); + } + + @TestMetadata("overflowChar.kt") + public void testOverflowChar() throws Exception { + runTest("compiler/testData/codegen/box/binaryOp/overflowChar.kt"); + } + + @TestMetadata("overflowInt.kt") + public void testOverflowInt() throws Exception { + runTest("compiler/testData/codegen/box/binaryOp/overflowInt.kt"); + } + + @TestMetadata("overflowLong.kt") + public void testOverflowLong() throws Exception { + runTest("compiler/testData/codegen/box/binaryOp/overflowLong.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/boxingOptimization") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class BoxingOptimization extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInBoxingOptimization() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/boxingOptimization"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("boxedIntegersCmp.kt") + public void testBoxedIntegersCmp() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/boxedIntegersCmp.kt"); + } + + @TestMetadata("boxedPrimitivesAreEqual.kt") + public void testBoxedPrimitivesAreEqual() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/boxedPrimitivesAreEqual.kt"); + } + + @TestMetadata("boxedRealsCmp.kt") + public void testBoxedRealsCmp() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/boxedRealsCmp.kt"); + } + + @TestMetadata("casts.kt") + public void testCasts() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/casts.kt"); + } + + @TestMetadata("explicitEqualsOnDouble.kt") + public void testExplicitEqualsOnDouble() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/explicitEqualsOnDouble.kt"); + } + + @TestMetadata("fold.kt") + public void testFold() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/fold.kt"); + } + + @TestMetadata("foldRange.kt") + public void testFoldRange() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/foldRange.kt"); + } + + @TestMetadata("intCompareTo.kt") + public void testIntCompareTo() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/intCompareTo.kt"); + } + + @TestMetadata("kt15871.kt") + public void testKt15871() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/kt15871.kt"); + } + + @TestMetadata("kt19767.kt") + public void testKt19767() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/kt19767.kt"); + } + + @TestMetadata("kt19767_2.kt") + public void testKt19767_2() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/kt19767_2.kt"); + } + + @TestMetadata("kt19767_chain.kt") + public void testKt19767_chain() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/kt19767_chain.kt"); + } + + @TestMetadata("kt5588.kt") + public void testKt5588() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/kt5588.kt"); + } + + @TestMetadata("kt5844.kt") + public void testKt5844() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/kt5844.kt"); + } + + @TestMetadata("maxMinByOrNull.kt") + public void testMaxMinByOrNull() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/maxMinByOrNull.kt"); + } + + @TestMetadata("nullCheck.kt") + public void testNullCheck() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/nullCheck.kt"); + } + + @TestMetadata("safeCallWithElvis.kt") + public void testSafeCallWithElvis() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/safeCallWithElvis.kt"); + } + + @TestMetadata("simple.kt") + public void testSimple() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/simple.kt"); + } + + @TestMetadata("simpleUninitializedMerge.kt") + public void testSimpleUninitializedMerge() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/simpleUninitializedMerge.kt"); + } + + @TestMetadata("taintedValues.kt") + public void testTaintedValues() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/taintedValues.kt"); + } + + @TestMetadata("taintedValuesBox.kt") + public void testTaintedValuesBox() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/taintedValuesBox.kt"); + } + + @TestMetadata("unsafeRemoving.kt") + public void testUnsafeRemoving() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/unsafeRemoving.kt"); + } + + @TestMetadata("variables.kt") + public void testVariables() throws Exception { + runTest("compiler/testData/codegen/box/boxingOptimization/variables.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/bridges") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Bridges extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + @TestMetadata("abstractOverrideBridge.kt") + public void testAbstractOverrideBridge() throws Exception { + runTest("compiler/testData/codegen/box/bridges/abstractOverrideBridge.kt"); + } + + public void testAllFilesPresentInBridges() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/bridges"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("complexMultiInheritance.kt") + public void testComplexMultiInheritance() throws Exception { + runTest("compiler/testData/codegen/box/bridges/complexMultiInheritance.kt"); + } + + @TestMetadata("covariantGenericDiamond.kt") + public void testCovariantGenericDiamond() throws Exception { + runTest("compiler/testData/codegen/box/bridges/covariantGenericDiamond.kt"); + } + + @TestMetadata("delegation.kt") + public void testDelegation() throws Exception { + runTest("compiler/testData/codegen/box/bridges/delegation.kt"); + } + + @TestMetadata("delegationComplex.kt") + public void testDelegationComplex() throws Exception { + runTest("compiler/testData/codegen/box/bridges/delegationComplex.kt"); + } + + @TestMetadata("delegationComplexWithList.kt") + public void testDelegationComplexWithList() throws Exception { + runTest("compiler/testData/codegen/box/bridges/delegationComplexWithList.kt"); + } + + @TestMetadata("delegationProperty.kt") + public void testDelegationProperty() throws Exception { + runTest("compiler/testData/codegen/box/bridges/delegationProperty.kt"); + } + + @TestMetadata("diamond.kt") + public void testDiamond() throws Exception { + runTest("compiler/testData/codegen/box/bridges/diamond.kt"); + } + + @TestMetadata("fakeCovariantOverride.kt") + public void testFakeCovariantOverride() throws Exception { + runTest("compiler/testData/codegen/box/bridges/fakeCovariantOverride.kt"); + } + + @TestMetadata("fakeGenericCovariantOverrideWithDelegation.kt") + public void testFakeGenericCovariantOverrideWithDelegation() throws Exception { + runTest("compiler/testData/codegen/box/bridges/fakeGenericCovariantOverrideWithDelegation.kt"); + } + + @TestMetadata("fakeOverrideFromInterfaceThroughIntermediateClass.kt") + public void testFakeOverrideFromInterfaceThroughIntermediateClass() throws Exception { + runTest("compiler/testData/codegen/box/bridges/fakeOverrideFromInterfaceThroughIntermediateClass.kt"); + } + + @TestMetadata("fakeOverrideMultiFile.kt") + public void testFakeOverrideMultiFile() throws Exception { + runTest("compiler/testData/codegen/box/bridges/fakeOverrideMultiFile.kt"); + } + + @TestMetadata("fakeOverrideOfTraitImpl.kt") + public void testFakeOverrideOfTraitImpl() throws Exception { + runTest("compiler/testData/codegen/box/bridges/fakeOverrideOfTraitImpl.kt"); + } + + @TestMetadata("fakeOverrideWithSeveralSuperDeclarations.kt") + public void testFakeOverrideWithSeveralSuperDeclarations() throws Exception { + runTest("compiler/testData/codegen/box/bridges/fakeOverrideWithSeveralSuperDeclarations.kt"); + } + + @TestMetadata("fakeOverrideWithSynthesizedImplementation.kt") + public void testFakeOverrideWithSynthesizedImplementation() throws Exception { + runTest("compiler/testData/codegen/box/bridges/fakeOverrideWithSynthesizedImplementation.kt"); + } + + @TestMetadata("genericProperty.kt") + public void testGenericProperty() throws Exception { + runTest("compiler/testData/codegen/box/bridges/genericProperty.kt"); + } + + @TestMetadata("kt12416.kt") + public void testKt12416() throws Exception { + runTest("compiler/testData/codegen/box/bridges/kt12416.kt"); + } + + @TestMetadata("kt1939.kt") + public void testKt1939() throws Exception { + runTest("compiler/testData/codegen/box/bridges/kt1939.kt"); + } + + @TestMetadata("kt1959.kt") + public void testKt1959() throws Exception { + runTest("compiler/testData/codegen/box/bridges/kt1959.kt"); + } + + @TestMetadata("kt2702.kt") + public void testKt2702() throws Exception { + runTest("compiler/testData/codegen/box/bridges/kt2702.kt"); + } + + @TestMetadata("kt2833.kt") + public void testKt2833() throws Exception { + runTest("compiler/testData/codegen/box/bridges/kt2833.kt"); + } + + @TestMetadata("kt2920.kt") + public void testKt2920() throws Exception { + runTest("compiler/testData/codegen/box/bridges/kt2920.kt"); + } + + @TestMetadata("kt318.kt") + public void testKt318() throws Exception { + runTest("compiler/testData/codegen/box/bridges/kt318.kt"); + } + + @TestMetadata("longChainOneBridge.kt") + public void testLongChainOneBridge() throws Exception { + runTest("compiler/testData/codegen/box/bridges/longChainOneBridge.kt"); + } + + @TestMetadata("manyTypeArgumentsSubstitutedSuccessively.kt") + public void testManyTypeArgumentsSubstitutedSuccessively() throws Exception { + runTest("compiler/testData/codegen/box/bridges/manyTypeArgumentsSubstitutedSuccessively.kt"); + } + + @TestMetadata("methodFromTrait.kt") + public void testMethodFromTrait() throws Exception { + runTest("compiler/testData/codegen/box/bridges/methodFromTrait.kt"); + } + + @TestMetadata("overrideAbstractProperty.kt") + public void testOverrideAbstractProperty() throws Exception { + runTest("compiler/testData/codegen/box/bridges/overrideAbstractProperty.kt"); + } + + @TestMetadata("overrideReturnType.kt") + public void testOverrideReturnType() throws Exception { + runTest("compiler/testData/codegen/box/bridges/overrideReturnType.kt"); + } + + @TestMetadata("propertyAccessorsWithoutBody.kt") + public void testPropertyAccessorsWithoutBody() throws Exception { + runTest("compiler/testData/codegen/box/bridges/propertyAccessorsWithoutBody.kt"); + } + + @TestMetadata("propertyDiamond.kt") + public void testPropertyDiamond() throws Exception { + runTest("compiler/testData/codegen/box/bridges/propertyDiamond.kt"); + } + + @TestMetadata("propertyDiamondFakeOverride.kt") + public void testPropertyDiamondFakeOverride() throws Exception { + runTest("compiler/testData/codegen/box/bridges/propertyDiamondFakeOverride.kt"); + } + + @TestMetadata("propertyInConstructor.kt") + public void testPropertyInConstructor() throws Exception { + runTest("compiler/testData/codegen/box/bridges/propertyInConstructor.kt"); + } + + @TestMetadata("propertySetter.kt") + public void testPropertySetter() throws Exception { + runTest("compiler/testData/codegen/box/bridges/propertySetter.kt"); + } + + @TestMetadata("simple.kt") + public void testSimple() throws Exception { + runTest("compiler/testData/codegen/box/bridges/simple.kt"); + } + + @TestMetadata("simpleEnum.kt") + public void testSimpleEnum() throws Exception { + runTest("compiler/testData/codegen/box/bridges/simpleEnum.kt"); + } + + @TestMetadata("simpleGenericMethod.kt") + public void testSimpleGenericMethod() throws Exception { + runTest("compiler/testData/codegen/box/bridges/simpleGenericMethod.kt"); + } + + @TestMetadata("simpleObject.kt") + public void testSimpleObject() throws Exception { + runTest("compiler/testData/codegen/box/bridges/simpleObject.kt"); + } + + @TestMetadata("simpleReturnType.kt") + public void testSimpleReturnType() throws Exception { + runTest("compiler/testData/codegen/box/bridges/simpleReturnType.kt"); + } + + @TestMetadata("simpleTraitImpl.kt") + public void testSimpleTraitImpl() throws Exception { + runTest("compiler/testData/codegen/box/bridges/simpleTraitImpl.kt"); + } + + @TestMetadata("simpleUpperBound.kt") + public void testSimpleUpperBound() throws Exception { + runTest("compiler/testData/codegen/box/bridges/simpleUpperBound.kt"); + } + + @TestMetadata("strListContains.kt") + public void testStrListContains() throws Exception { + runTest("compiler/testData/codegen/box/bridges/strListContains.kt"); + } + + @TestMetadata("traitImplInheritsTraitImpl.kt") + public void testTraitImplInheritsTraitImpl() throws Exception { + runTest("compiler/testData/codegen/box/bridges/traitImplInheritsTraitImpl.kt"); + } + + @TestMetadata("twoParentsWithDifferentMethodsTwoBridges.kt") + public void testTwoParentsWithDifferentMethodsTwoBridges() throws Exception { + runTest("compiler/testData/codegen/box/bridges/twoParentsWithDifferentMethodsTwoBridges.kt"); + } + + @TestMetadata("twoParentsWithDifferentMethodsTwoBridges2.kt") + public void testTwoParentsWithDifferentMethodsTwoBridges2() throws Exception { + runTest("compiler/testData/codegen/box/bridges/twoParentsWithDifferentMethodsTwoBridges2.kt"); + } + + @TestMetadata("twoParentsWithTheSameMethodOneBridge.kt") + public void testTwoParentsWithTheSameMethodOneBridge() throws Exception { + runTest("compiler/testData/codegen/box/bridges/twoParentsWithTheSameMethodOneBridge.kt"); + } + + @TestMetadata("typeParameterInExtensionReceiver.kt") + public void testTypeParameterInExtensionReceiver() throws Exception { + runTest("compiler/testData/codegen/box/bridges/typeParameterInExtensionReceiver.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/bridges/substitutionInSuperClass") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class SubstitutionInSuperClass extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + @TestMetadata("abstractFun.kt") + public void testAbstractFun() throws Exception { + runTest("compiler/testData/codegen/box/bridges/substitutionInSuperClass/abstractFun.kt"); + } + + public void testAllFilesPresentInSubstitutionInSuperClass() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/bridges/substitutionInSuperClass"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("boundedTypeArguments.kt") + public void testBoundedTypeArguments() throws Exception { + runTest("compiler/testData/codegen/box/bridges/substitutionInSuperClass/boundedTypeArguments.kt"); + } + + @TestMetadata("delegation.kt") + public void testDelegation() throws Exception { + runTest("compiler/testData/codegen/box/bridges/substitutionInSuperClass/delegation.kt"); + } + + @TestMetadata("differentErasureInSuperClass.kt") + public void testDifferentErasureInSuperClass() throws Exception { + runTest("compiler/testData/codegen/box/bridges/substitutionInSuperClass/differentErasureInSuperClass.kt"); + } + + @TestMetadata("enum.kt") + public void testEnum() throws Exception { + runTest("compiler/testData/codegen/box/bridges/substitutionInSuperClass/enum.kt"); + } + + @TestMetadata("genericMethod.kt") + public void testGenericMethod() throws Exception { + runTest("compiler/testData/codegen/box/bridges/substitutionInSuperClass/genericMethod.kt"); + } + + @TestMetadata("object.kt") + public void testObject() throws Exception { + runTest("compiler/testData/codegen/box/bridges/substitutionInSuperClass/object.kt"); + } + + @TestMetadata("property.kt") + public void testProperty() throws Exception { + runTest("compiler/testData/codegen/box/bridges/substitutionInSuperClass/property.kt"); + } + + @TestMetadata("simple.kt") + public void testSimple() throws Exception { + runTest("compiler/testData/codegen/box/bridges/substitutionInSuperClass/simple.kt"); + } + + @TestMetadata("upperBound.kt") + public void testUpperBound() throws Exception { + runTest("compiler/testData/codegen/box/bridges/substitutionInSuperClass/upperBound.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/builderInference") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class BuilderInference extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInBuilderInference() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builderInference"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("kt41164.kt") + public void testKt41164() throws Exception { + runTest("compiler/testData/codegen/box/builderInference/kt41164.kt"); + } + + @TestMetadata("lackOfNullCheckOnNullableInsideBuild.kt") + public void testLackOfNullCheckOnNullableInsideBuild() throws Exception { + runTest("compiler/testData/codegen/box/builderInference/lackOfNullCheckOnNullableInsideBuild.kt"); + } + + @TestMetadata("substituteStubTypeIntolambdaParameterDescriptor.kt") + public void testSubstituteStubTypeIntolambdaParameterDescriptor() throws Exception { + runTest("compiler/testData/codegen/box/builderInference/substituteStubTypeIntolambdaParameterDescriptor.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/builtinStubMethods") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class BuiltinStubMethods extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInBuiltinStubMethods() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builtinStubMethods"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("customReadOnlyIterator.kt") + public void testCustomReadOnlyIterator() throws Exception { + runTest("compiler/testData/codegen/box/builtinStubMethods/customReadOnlyIterator.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ExtendJavaCollections extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInExtendJavaCollections() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/builtinStubMethods/mapGetOrDefault") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class MapGetOrDefault extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInMapGetOrDefault() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builtinStubMethods/mapGetOrDefault"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/builtinStubMethods/mapRemove") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class MapRemove extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInMapRemove() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builtinStubMethods/mapRemove"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/callableReference") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class CallableReference extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInCallableReference() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("kt37604.kt") + public void testKt37604() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/kt37604.kt"); + } + + @TestMetadata("nested.kt") + public void testNested() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/nested.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/callableReference/adaptedReferences") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class AdaptedReferences extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInAdaptedReferences() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/adaptedReferences"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("defaultWithGenericExpectedType.kt") + public void testDefaultWithGenericExpectedType() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/defaultWithGenericExpectedType.kt"); + } + + @TestMetadata("inlineVarargAndDefault.kt") + public void testInlineVarargAndDefault() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/inlineVarargAndDefault.kt"); + } + + @TestMetadata("inlineVarargInts.kt") + public void testInlineVarargInts() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/inlineVarargInts.kt"); + } + + @TestMetadata("localFunctionWithDefault.kt") + public void testLocalFunctionWithDefault() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/localFunctionWithDefault.kt"); + } + + @TestMetadata("manyDefaultsAndVararg.kt") + public void testManyDefaultsAndVararg() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/manyDefaultsAndVararg.kt"); + } + + @TestMetadata("simpleDefaultArgument.kt") + public void testSimpleDefaultArgument() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/simpleDefaultArgument.kt"); + } + + @TestMetadata("simpleEmptyVararg.kt") + public void testSimpleEmptyVararg() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/simpleEmptyVararg.kt"); + } + + @TestMetadata("varargViewedAsArray.kt") + public void testVarargViewedAsArray() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/varargViewedAsArray.kt"); + } + + @TestMetadata("varargWithDefaultValue.kt") + public void testVarargWithDefaultValue() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/varargWithDefaultValue.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class SuspendConversion extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInSuspendConversion() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/callableReference/bound") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Bound extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInBound() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/bound"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("captureVarInInitBlock.kt") + public void testCaptureVarInInitBlock() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/bound/captureVarInInitBlock.kt"); + } + + @TestMetadata("captureVarInPropertyInit.kt") + public void testCaptureVarInPropertyInit() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/bound/captureVarInPropertyInit.kt"); + } + + @TestMetadata("smartCastForExtensionReceiver.kt") + public void testSmartCastForExtensionReceiver() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/bound/smartCastForExtensionReceiver.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/callableReference/bound/equals") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Equals extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInEquals() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/bound/equals"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/callableReference/equality") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Equality extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInEquality() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/equality"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("extensionReceiverVsDefault.kt") + public void testExtensionReceiverVsDefault() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/equality/extensionReceiverVsDefault.kt"); + } + + @TestMetadata("varargAsArrayMemberOrExtension.kt") + public void testVarargAsArrayMemberOrExtension() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/equality/varargAsArrayMemberOrExtension.kt"); + } + + @TestMetadata("varargAsArrayWithDefaults.kt") + public void testVarargAsArrayWithDefaults() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/equality/varargAsArrayWithDefaults.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/callableReference/function") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Function extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + @TestMetadata("abstractClassMember.kt") + public void testAbstractClassMember() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/abstractClassMember.kt"); + } + + public void testAllFilesPresentInFunction() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/function"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("booleanNotIntrinsic.kt") + public void testBooleanNotIntrinsic() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/booleanNotIntrinsic.kt"); + } + + @TestMetadata("classMemberFromClass.kt") + public void testClassMemberFromClass() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/classMemberFromClass.kt"); + } + + @TestMetadata("classMemberFromExtension.kt") + public void testClassMemberFromExtension() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/classMemberFromExtension.kt"); + } + + @TestMetadata("classMemberFromTopLevelStringNoArgs.kt") + public void testClassMemberFromTopLevelStringNoArgs() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/classMemberFromTopLevelStringNoArgs.kt"); + } + + @TestMetadata("classMemberFromTopLevelStringOneStringArg.kt") + public void testClassMemberFromTopLevelStringOneStringArg() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/classMemberFromTopLevelStringOneStringArg.kt"); + } + + @TestMetadata("classMemberFromTopLevelUnitNoArgs.kt") + public void testClassMemberFromTopLevelUnitNoArgs() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/classMemberFromTopLevelUnitNoArgs.kt"); + } + + @TestMetadata("classMemberFromTopLevelUnitOneStringArg.kt") + public void testClassMemberFromTopLevelUnitOneStringArg() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/classMemberFromTopLevelUnitOneStringArg.kt"); + } + + @TestMetadata("coercionToUnit.kt") + public void testCoercionToUnit() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/coercionToUnit.kt"); + } + + @TestMetadata("constructorFromTopLevelNoArgs.kt") + public void testConstructorFromTopLevelNoArgs() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/constructorFromTopLevelNoArgs.kt"); + } + + @TestMetadata("constructorFromTopLevelOneStringArg.kt") + public void testConstructorFromTopLevelOneStringArg() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/constructorFromTopLevelOneStringArg.kt"); + } + + @TestMetadata("enumValueOfMethod.kt") + public void testEnumValueOfMethod() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/enumValueOfMethod.kt"); + } + + @TestMetadata("equalsIntrinsic.kt") + public void testEqualsIntrinsic() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/equalsIntrinsic.kt"); + } + + @TestMetadata("extensionFromClass.kt") + public void testExtensionFromClass() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/extensionFromClass.kt"); + } + + @TestMetadata("extensionFromExtension.kt") + public void testExtensionFromExtension() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/extensionFromExtension.kt"); + } + + @TestMetadata("extensionFromTopLevelStringNoArgs.kt") + public void testExtensionFromTopLevelStringNoArgs() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/extensionFromTopLevelStringNoArgs.kt"); + } + + @TestMetadata("extensionFromTopLevelStringOneStringArg.kt") + public void testExtensionFromTopLevelStringOneStringArg() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/extensionFromTopLevelStringOneStringArg.kt"); + } + + @TestMetadata("extensionFromTopLevelUnitNoArgs.kt") + public void testExtensionFromTopLevelUnitNoArgs() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/extensionFromTopLevelUnitNoArgs.kt"); + } + + @TestMetadata("extensionFromTopLevelUnitOneStringArg.kt") + public void testExtensionFromTopLevelUnitOneStringArg() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/extensionFromTopLevelUnitOneStringArg.kt"); + } + + @TestMetadata("genericMember.kt") + public void testGenericMember() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/genericMember.kt"); + } + + @TestMetadata("innerConstructorFromClass.kt") + public void testInnerConstructorFromClass() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/innerConstructorFromClass.kt"); + } + + @TestMetadata("innerConstructorFromExtension.kt") + public void testInnerConstructorFromExtension() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/innerConstructorFromExtension.kt"); + } + + @TestMetadata("innerConstructorFromTopLevelNoArgs.kt") + public void testInnerConstructorFromTopLevelNoArgs() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/innerConstructorFromTopLevelNoArgs.kt"); + } + + @TestMetadata("innerConstructorFromTopLevelOneStringArg.kt") + public void testInnerConstructorFromTopLevelOneStringArg() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/innerConstructorFromTopLevelOneStringArg.kt"); + } + + @TestMetadata("kt32462.kt") + public void testKt32462() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/kt32462.kt"); + } + + @TestMetadata("nestedConstructorFromClass.kt") + public void testNestedConstructorFromClass() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/nestedConstructorFromClass.kt"); + } + + @TestMetadata("nestedConstructorFromTopLevelNoArgs.kt") + public void testNestedConstructorFromTopLevelNoArgs() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/nestedConstructorFromTopLevelNoArgs.kt"); + } + + @TestMetadata("nestedConstructorFromTopLevelOneStringArg.kt") + public void testNestedConstructorFromTopLevelOneStringArg() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/nestedConstructorFromTopLevelOneStringArg.kt"); + } + + @TestMetadata("newArray.kt") + public void testNewArray() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/newArray.kt"); + } + + @TestMetadata("overloadedFun.kt") + public void testOverloadedFun() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/overloadedFun.kt"); + } + + @TestMetadata("privateClassMember.kt") + public void testPrivateClassMember() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/privateClassMember.kt"); + } + + @TestMetadata("specialCalls.kt") + public void testSpecialCalls() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/specialCalls.kt"); + } + + @TestMetadata("topLevelFromClass.kt") + public void testTopLevelFromClass() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/topLevelFromClass.kt"); + } + + @TestMetadata("topLevelFromExtension.kt") + public void testTopLevelFromExtension() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/topLevelFromExtension.kt"); + } + + @TestMetadata("topLevelFromTopLevelStringNoArgs.kt") + public void testTopLevelFromTopLevelStringNoArgs() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelStringNoArgs.kt"); + } + + @TestMetadata("topLevelFromTopLevelStringOneStringArg.kt") + public void testTopLevelFromTopLevelStringOneStringArg() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelStringOneStringArg.kt"); + } + + @TestMetadata("topLevelFromTopLevelUnitNoArgs.kt") + public void testTopLevelFromTopLevelUnitNoArgs() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelUnitNoArgs.kt"); + } + + @TestMetadata("topLevelFromTopLevelUnitOneStringArg.kt") + public void testTopLevelFromTopLevelUnitOneStringArg() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelUnitOneStringArg.kt"); + } + + @TestMetadata("traitImplMethodWithClassReceiver.kt") + public void testTraitImplMethodWithClassReceiver() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/traitImplMethodWithClassReceiver.kt"); + } + + @TestMetadata("traitMember.kt") + public void testTraitMember() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/traitMember.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/callableReference/function/local") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Local extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInLocal() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/function/local"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("captureOuter.kt") + public void testCaptureOuter() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/local/captureOuter.kt"); + } + + @TestMetadata("classMember.kt") + public void testClassMember() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/local/classMember.kt"); + } + + @TestMetadata("closureWithSideEffect.kt") + public void testClosureWithSideEffect() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/local/closureWithSideEffect.kt"); + } + + @TestMetadata("constructor.kt") + public void testConstructor() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/local/constructor.kt"); + } + + @TestMetadata("constructorWithInitializer.kt") + public void testConstructorWithInitializer() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/local/constructorWithInitializer.kt"); + } + + @TestMetadata("enumExtendsTrait.kt") + public void testEnumExtendsTrait() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/local/enumExtendsTrait.kt"); + } + + @TestMetadata("extension.kt") + public void testExtension() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/local/extension.kt"); + } + + @TestMetadata("extensionToLocalClass.kt") + public void testExtensionToLocalClass() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/local/extensionToLocalClass.kt"); + } + + @TestMetadata("extensionToPrimitive.kt") + public void testExtensionToPrimitive() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/local/extensionToPrimitive.kt"); + } + + @TestMetadata("extensionWithClosure.kt") + public void testExtensionWithClosure() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/local/extensionWithClosure.kt"); + } + + @TestMetadata("genericMember.kt") + public void testGenericMember() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/local/genericMember.kt"); + } + + @TestMetadata("localClassMember.kt") + public void testLocalClassMember() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/local/localClassMember.kt"); + } + + @TestMetadata("localLocal.kt") + public void testLocalLocal() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/local/localLocal.kt"); + } + + @TestMetadata("recursiveClosure.kt") + public void testRecursiveClosure() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/local/recursiveClosure.kt"); + } + + @TestMetadata("simple.kt") + public void testSimple() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/local/simple.kt"); + } + + @TestMetadata("simpleClosure.kt") + public void testSimpleClosure() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/local/simpleClosure.kt"); + } + + @TestMetadata("simpleWithArg.kt") + public void testSimpleWithArg() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/local/simpleWithArg.kt"); + } + + @TestMetadata("unitWithSideEffect.kt") + public void testUnitWithSideEffect() throws Exception { + runTest("compiler/testData/codegen/box/callableReference/function/local/unitWithSideEffect.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/callableReference/property") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Property extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInProperty() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/property"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/callableReference/serializability") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Serializability extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInSerializability() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/serializability"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/casts") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Casts extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInCasts() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/casts"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("asSafeFail.kt") + public void testAsSafeFail() throws Exception { + runTest("compiler/testData/codegen/box/casts/asSafeFail.kt"); + } + + @TestMetadata("asSafeForConstants.kt") + public void testAsSafeForConstants() throws Exception { + runTest("compiler/testData/codegen/box/casts/asSafeForConstants.kt"); + } + + @TestMetadata("asUnit.kt") + public void testAsUnit() throws Exception { + runTest("compiler/testData/codegen/box/casts/asUnit.kt"); + } + + @TestMetadata("intersectionTypeMultipleBounds.kt") + public void testIntersectionTypeMultipleBounds() throws Exception { + runTest("compiler/testData/codegen/box/casts/intersectionTypeMultipleBounds.kt"); + } + + @TestMetadata("intersectionTypeMultipleBoundsImplicitReceiver.kt") + public void testIntersectionTypeMultipleBoundsImplicitReceiver() throws Exception { + runTest("compiler/testData/codegen/box/casts/intersectionTypeMultipleBoundsImplicitReceiver.kt"); + } + + @TestMetadata("intersectionTypeSmartcast.kt") + public void testIntersectionTypeSmartcast() throws Exception { + runTest("compiler/testData/codegen/box/casts/intersectionTypeSmartcast.kt"); + } + + @TestMetadata("intersectionTypeWithMultipleBoundsAsReceiver.kt") + public void testIntersectionTypeWithMultipleBoundsAsReceiver() throws Exception { + runTest("compiler/testData/codegen/box/casts/intersectionTypeWithMultipleBoundsAsReceiver.kt"); + } + + @TestMetadata("intersectionTypeWithoutGenericsAsReceiver.kt") + public void testIntersectionTypeWithoutGenericsAsReceiver() throws Exception { + runTest("compiler/testData/codegen/box/casts/intersectionTypeWithoutGenericsAsReceiver.kt"); + } + + @TestMetadata("isNullablePrimitive.kt") + public void testIsNullablePrimitive() throws Exception { + runTest("compiler/testData/codegen/box/casts/isNullablePrimitive.kt"); + } + + @TestMetadata("kt22714.kt") + public void testKt22714() throws Exception { + runTest("compiler/testData/codegen/box/casts/kt22714.kt"); + } + + @TestMetadata("lambdaToUnitCast.kt") + public void testLambdaToUnitCast() throws Exception { + runTest("compiler/testData/codegen/box/casts/lambdaToUnitCast.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/casts/functions") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Functions extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInFunctions() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/casts/functions"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/casts/javaInterop") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class JavaInterop extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInJavaInterop() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/casts/javaInterop"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/casts/literalExpressionAsGenericArgument") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class LiteralExpressionAsGenericArgument extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInLiteralExpressionAsGenericArgument() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/casts/literalExpressionAsGenericArgument"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("binaryExpressionCast.kt") + public void testBinaryExpressionCast() throws Exception { + runTest("compiler/testData/codegen/box/casts/literalExpressionAsGenericArgument/binaryExpressionCast.kt"); + } + + @TestMetadata("labeledExpressionCast.kt") + public void testLabeledExpressionCast() throws Exception { + runTest("compiler/testData/codegen/box/casts/literalExpressionAsGenericArgument/labeledExpressionCast.kt"); + } + + @TestMetadata("parenthesizedExpressionCast.kt") + public void testParenthesizedExpressionCast() throws Exception { + runTest("compiler/testData/codegen/box/casts/literalExpressionAsGenericArgument/parenthesizedExpressionCast.kt"); + } + + @TestMetadata("superConstructor.kt") + public void testSuperConstructor() throws Exception { + runTest("compiler/testData/codegen/box/casts/literalExpressionAsGenericArgument/superConstructor.kt"); + } + + @TestMetadata("unaryExpressionCast.kt") + public void testUnaryExpressionCast() throws Exception { + runTest("compiler/testData/codegen/box/casts/literalExpressionAsGenericArgument/unaryExpressionCast.kt"); + } + + @TestMetadata("vararg.kt") + public void testVararg() throws Exception { + runTest("compiler/testData/codegen/box/casts/literalExpressionAsGenericArgument/vararg.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/casts/mutableCollections") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class MutableCollections extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInMutableCollections() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/casts/mutableCollections"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/checkcastOptimization") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class CheckcastOptimization extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInCheckcastOptimization() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/checkcastOptimization"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("kt19128.kt") + public void testKt19128() throws Exception { + runTest("compiler/testData/codegen/box/checkcastOptimization/kt19128.kt"); + } + + @TestMetadata("kt19246.kt") + public void testKt19246() throws Exception { + runTest("compiler/testData/codegen/box/checkcastOptimization/kt19246.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/classes") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Classes extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInClasses() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/classes"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("boxPrimitiveTypeInClinitOfClassObject.kt") + public void testBoxPrimitiveTypeInClinitOfClassObject() throws Exception { + runTest("compiler/testData/codegen/box/classes/boxPrimitiveTypeInClinitOfClassObject.kt"); + } + + @TestMetadata("classNamedAsOldPackageFacade.kt") + public void testClassNamedAsOldPackageFacade() throws Exception { + runTest("compiler/testData/codegen/box/classes/classNamedAsOldPackageFacade.kt"); + } + + @TestMetadata("classObject.kt") + public void testClassObject() throws Exception { + runTest("compiler/testData/codegen/box/classes/classObject.kt"); + } + + @TestMetadata("classObjectAsExtensionReceiver.kt") + public void testClassObjectAsExtensionReceiver() throws Exception { + runTest("compiler/testData/codegen/box/classes/classObjectAsExtensionReceiver.kt"); + } + + @TestMetadata("classObjectField.kt") + public void testClassObjectField() throws Exception { + runTest("compiler/testData/codegen/box/classes/classObjectField.kt"); + } + + @TestMetadata("classObjectInTrait.kt") + public void testClassObjectInTrait() throws Exception { + runTest("compiler/testData/codegen/box/classes/classObjectInTrait.kt"); + } + + @TestMetadata("classObjectNotOfEnum.kt") + public void testClassObjectNotOfEnum() throws Exception { + runTest("compiler/testData/codegen/box/classes/classObjectNotOfEnum.kt"); + } + + @TestMetadata("classObjectWithPrivateGenericMember.kt") + public void testClassObjectWithPrivateGenericMember() throws Exception { + runTest("compiler/testData/codegen/box/classes/classObjectWithPrivateGenericMember.kt"); + } + + @TestMetadata("classObjectsWithParentClasses.kt") + public void testClassObjectsWithParentClasses() throws Exception { + runTest("compiler/testData/codegen/box/classes/classObjectsWithParentClasses.kt"); + } + + @TestMetadata("defaultObjectSameNamesAsInOuter.kt") + public void testDefaultObjectSameNamesAsInOuter() throws Exception { + runTest("compiler/testData/codegen/box/classes/defaultObjectSameNamesAsInOuter.kt"); + } + + @TestMetadata("delegateConstructorCallWithKeywords.kt") + public void testDelegateConstructorCallWithKeywords() throws Exception { + runTest("compiler/testData/codegen/box/classes/delegateConstructorCallWithKeywords.kt"); + } + + @TestMetadata("delegation2.kt") + public void testDelegation2() throws Exception { + runTest("compiler/testData/codegen/box/classes/delegation2.kt"); + } + + @TestMetadata("delegation3.kt") + public void testDelegation3() throws Exception { + runTest("compiler/testData/codegen/box/classes/delegation3.kt"); + } + + @TestMetadata("delegation4.kt") + public void testDelegation4() throws Exception { + runTest("compiler/testData/codegen/box/classes/delegation4.kt"); + } + + @TestMetadata("delegationGenericArg.kt") + public void testDelegationGenericArg() throws Exception { + runTest("compiler/testData/codegen/box/classes/delegationGenericArg.kt"); + } + + @TestMetadata("delegationGenericArgUpperBound.kt") + public void testDelegationGenericArgUpperBound() throws Exception { + runTest("compiler/testData/codegen/box/classes/delegationGenericArgUpperBound.kt"); + } + + @TestMetadata("delegationGenericLongArg.kt") + public void testDelegationGenericLongArg() throws Exception { + runTest("compiler/testData/codegen/box/classes/delegationGenericLongArg.kt"); + } + + @TestMetadata("delegationMethodsWithArgs.kt") + public void testDelegationMethodsWithArgs() throws Exception { + runTest("compiler/testData/codegen/box/classes/delegationMethodsWithArgs.kt"); + } + + @TestMetadata("exceptionConstructor.kt") + public void testExceptionConstructor() throws Exception { + runTest("compiler/testData/codegen/box/classes/exceptionConstructor.kt"); + } + + @TestMetadata("extensionOnNamedClassObject.kt") + public void testExtensionOnNamedClassObject() throws Exception { + runTest("compiler/testData/codegen/box/classes/extensionOnNamedClassObject.kt"); + } + + @TestMetadata("funDelegation.kt") + public void testFunDelegation() throws Exception { + runTest("compiler/testData/codegen/box/classes/funDelegation.kt"); + } + + @TestMetadata("implementComparableInSubclass.kt") + public void testImplementComparableInSubclass() throws Exception { + runTest("compiler/testData/codegen/box/classes/implementComparableInSubclass.kt"); + } + + @TestMetadata("inheritance.kt") + public void testInheritance() throws Exception { + runTest("compiler/testData/codegen/box/classes/inheritance.kt"); + } + + @TestMetadata("inheritedInnerClass.kt") + public void testInheritedInnerClass() throws Exception { + runTest("compiler/testData/codegen/box/classes/inheritedInnerClass.kt"); + } + + @TestMetadata("inheritedMethod.kt") + public void testInheritedMethod() throws Exception { + runTest("compiler/testData/codegen/box/classes/inheritedMethod.kt"); + } + + @TestMetadata("initializerBlock.kt") + public void testInitializerBlock() throws Exception { + runTest("compiler/testData/codegen/box/classes/initializerBlock.kt"); + } + + @TestMetadata("initializerBlockResetToDefault.kt") + public void testInitializerBlockResetToDefault() throws Exception { + runTest("compiler/testData/codegen/box/classes/initializerBlockResetToDefault.kt"); + } + + @TestMetadata("kt1018.kt") + public void testKt1018() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt1018.kt"); + } + + @TestMetadata("kt1157.kt") + public void testKt1157() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt1157.kt"); + } + + @TestMetadata("kt1247.kt") + public void testKt1247() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt1247.kt"); + } + + @TestMetadata("kt1345.kt") + public void testKt1345() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt1345.kt"); + } + + @TestMetadata("kt1439.kt") + public void testKt1439() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt1439.kt"); + } + + @TestMetadata("kt1538.kt") + public void testKt1538() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt1538.kt"); + } + + @TestMetadata("kt1578.kt") + public void testKt1578() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt1578.kt"); + } + + @TestMetadata("kt1611.kt") + public void testKt1611() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt1611.kt"); + } + + @TestMetadata("kt1721.kt") + public void testKt1721() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt1721.kt"); + } + + @TestMetadata("kt1726.kt") + public void testKt1726() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt1726.kt"); + } + + @TestMetadata("kt1759.kt") + public void testKt1759() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt1759.kt"); + } + + @TestMetadata("kt1891.kt") + public void testKt1891() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt1891.kt"); + } + + @TestMetadata("kt1976.kt") + public void testKt1976() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt1976.kt"); + } + + @TestMetadata("kt2224.kt") + public void testKt2224() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt2224.kt"); + } + + @TestMetadata("kt2384.kt") + public void testKt2384() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt2384.kt"); + } + + @TestMetadata("kt2390.kt") + public void testKt2390() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt2390.kt"); + } + + @TestMetadata("kt2477.kt") + public void testKt2477() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt2477.kt"); + } + + @TestMetadata("kt2480.kt") + public void testKt2480() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt2480.kt"); + } + + @TestMetadata("kt2482.kt") + public void testKt2482() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt2482.kt"); + } + + @TestMetadata("kt2485.kt") + public void testKt2485() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt2485.kt"); + } + + @TestMetadata("kt249.kt") + public void testKt249() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt249.kt"); + } + + @TestMetadata("kt2532.kt") + public void testKt2532() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt2532.kt"); + } + + @TestMetadata("kt2566.kt") + public void testKt2566() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt2566.kt"); + } + + @TestMetadata("kt2566_2.kt") + public void testKt2566_2() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt2566_2.kt"); + } + + @TestMetadata("kt2607.kt") + public void testKt2607() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt2607.kt"); + } + + @TestMetadata("kt2626.kt") + public void testKt2626() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt2626.kt"); + } + + @TestMetadata("kt2711.kt") + public void testKt2711() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt2711.kt"); + } + + @TestMetadata("kt2784.kt") + public void testKt2784() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt2784.kt"); + } + + @TestMetadata("kt285.kt") + public void testKt285() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt285.kt"); + } + + @TestMetadata("kt3001.kt") + public void testKt3001() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt3001.kt"); + } + + @TestMetadata("kt3114.kt") + public void testKt3114() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt3114.kt"); + } + + @TestMetadata("kt3414.kt") + public void testKt3414() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt3414.kt"); + } + + @TestMetadata("kt3546.kt") + public void testKt3546() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt3546.kt"); + } + + @TestMetadata("kt40332.kt") + public void testKt40332() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt40332.kt"); + } + + @TestMetadata("kt454.kt") + public void testKt454() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt454.kt"); + } + + @TestMetadata("kt471.kt") + public void testKt471() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt471.kt"); + } + + @TestMetadata("kt48.kt") + public void testKt48() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt48.kt"); + } + + @TestMetadata("kt504.kt") + public void testKt504() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt504.kt"); + } + + @TestMetadata("kt5347.kt") + public void testKt5347() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt5347.kt"); + } + + @TestMetadata("kt6136.kt") + public void testKt6136() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt6136.kt"); + } + + @TestMetadata("kt633.kt") + public void testKt633() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt633.kt"); + } + + @TestMetadata("kt6816.kt") + public void testKt6816() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt6816.kt"); + } + + @TestMetadata("kt723.kt") + public void testKt723() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt723.kt"); + } + + @TestMetadata("kt725.kt") + public void testKt725() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt725.kt"); + } + + @TestMetadata("kt8011a.kt") + public void testKt8011a() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt8011a.kt"); + } + + @TestMetadata("kt940.kt") + public void testKt940() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt940.kt"); + } + + @TestMetadata("kt9642.kt") + public void testKt9642() throws Exception { + runTest("compiler/testData/codegen/box/classes/kt9642.kt"); + } + + @TestMetadata("namedClassObject.kt") + public void testNamedClassObject() throws Exception { + runTest("compiler/testData/codegen/box/classes/namedClassObject.kt"); + } + + @TestMetadata("outerThis.kt") + public void testOuterThis() throws Exception { + runTest("compiler/testData/codegen/box/classes/outerThis.kt"); + } + + @TestMetadata("privateOuterFunctions.kt") + public void testPrivateOuterFunctions() throws Exception { + runTest("compiler/testData/codegen/box/classes/privateOuterFunctions.kt"); + } + + @TestMetadata("privateOuterProperty.kt") + public void testPrivateOuterProperty() throws Exception { + runTest("compiler/testData/codegen/box/classes/privateOuterProperty.kt"); + } + + @TestMetadata("privateToThis.kt") + public void testPrivateToThis() throws Exception { + runTest("compiler/testData/codegen/box/classes/privateToThis.kt"); + } + + @TestMetadata("propertyDelegation.kt") + public void testPropertyDelegation() throws Exception { + runTest("compiler/testData/codegen/box/classes/propertyDelegation.kt"); + } + + @TestMetadata("propertyInInitializer.kt") + public void testPropertyInInitializer() throws Exception { + runTest("compiler/testData/codegen/box/classes/propertyInInitializer.kt"); + } + + @TestMetadata("rightHandOverride.kt") + public void testRightHandOverride() throws Exception { + runTest("compiler/testData/codegen/box/classes/rightHandOverride.kt"); + } + + @TestMetadata("sealedInSameFile.kt") + public void testSealedInSameFile() throws Exception { + runTest("compiler/testData/codegen/box/classes/sealedInSameFile.kt"); + } + + @TestMetadata("selfcreate.kt") + public void testSelfcreate() throws Exception { + runTest("compiler/testData/codegen/box/classes/selfcreate.kt"); + } + + @TestMetadata("simpleBox.kt") + public void testSimpleBox() throws Exception { + runTest("compiler/testData/codegen/box/classes/simpleBox.kt"); + } + + @TestMetadata("superConstructorCallWithComplexArg.kt") + public void testSuperConstructorCallWithComplexArg() throws Exception { + runTest("compiler/testData/codegen/box/classes/superConstructorCallWithComplexArg.kt"); + } + + @TestMetadata("typedDelegation.kt") + public void testTypedDelegation() throws Exception { + runTest("compiler/testData/codegen/box/classes/typedDelegation.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/classes/inner") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Inner extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInInner() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/classes/inner"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("extensionWithOuter.kt") + public void testExtensionWithOuter() throws Exception { + runTest("compiler/testData/codegen/box/classes/inner/extensionWithOuter.kt"); + } + + @TestMetadata("instantiateInDerived.kt") + public void testInstantiateInDerived() throws Exception { + runTest("compiler/testData/codegen/box/classes/inner/instantiateInDerived.kt"); + } + + @TestMetadata("instantiateInDerivedLabeled.kt") + public void testInstantiateInDerivedLabeled() throws Exception { + runTest("compiler/testData/codegen/box/classes/inner/instantiateInDerivedLabeled.kt"); + } + + @TestMetadata("instantiateInSameClass.kt") + public void testInstantiateInSameClass() throws Exception { + runTest("compiler/testData/codegen/box/classes/inner/instantiateInSameClass.kt"); + } + + @TestMetadata("kt6708.kt") + public void testKt6708() throws Exception { + runTest("compiler/testData/codegen/box/classes/inner/kt6708.kt"); + } + + @TestMetadata("properOuter.kt") + public void testProperOuter() throws Exception { + runTest("compiler/testData/codegen/box/classes/inner/properOuter.kt"); + } + + @TestMetadata("properSuperLinking.kt") + public void testProperSuperLinking() throws Exception { + runTest("compiler/testData/codegen/box/classes/inner/properSuperLinking.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/closures") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Closures extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInClosures() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/closures"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("anonymousObjectAsLastExpressionInLambda.kt") + public void testAnonymousObjectAsLastExpressionInLambda() throws Exception { + runTest("compiler/testData/codegen/box/closures/anonymousObjectAsLastExpressionInLambda.kt"); + } + + @TestMetadata("captureExtensionReceiver.kt") + public void testCaptureExtensionReceiver() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureExtensionReceiver.kt"); + } + + @TestMetadata("captureExtensionReceiverX2.kt") + public void testCaptureExtensionReceiverX2() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureExtensionReceiverX2.kt"); + } + + @TestMetadata("capturedLocalGenericFun.kt") + public void testCapturedLocalGenericFun() throws Exception { + runTest("compiler/testData/codegen/box/closures/capturedLocalGenericFun.kt"); + } + + @TestMetadata("closureInsideConstrucor.kt") + public void testClosureInsideConstrucor() throws Exception { + runTest("compiler/testData/codegen/box/closures/closureInsideConstrucor.kt"); + } + + @TestMetadata("closureWithParameter.kt") + public void testClosureWithParameter() throws Exception { + runTest("compiler/testData/codegen/box/closures/closureWithParameter.kt"); + } + + @TestMetadata("closureWithParameterAndBoxing.kt") + public void testClosureWithParameterAndBoxing() throws Exception { + runTest("compiler/testData/codegen/box/closures/closureWithParameterAndBoxing.kt"); + } + + @TestMetadata("crossinlineLocalDeclaration.kt") + public void testCrossinlineLocalDeclaration() throws Exception { + runTest("compiler/testData/codegen/box/closures/crossinlineLocalDeclaration.kt"); + } + + @TestMetadata("doubleEnclosedLocalVariable.kt") + public void testDoubleEnclosedLocalVariable() throws Exception { + runTest("compiler/testData/codegen/box/closures/doubleEnclosedLocalVariable.kt"); + } + + @TestMetadata("enclosingLocalVariable.kt") + public void testEnclosingLocalVariable() throws Exception { + runTest("compiler/testData/codegen/box/closures/enclosingLocalVariable.kt"); + } + + @TestMetadata("enclosingThis.kt") + public void testEnclosingThis() throws Exception { + runTest("compiler/testData/codegen/box/closures/enclosingThis.kt"); + } + + @TestMetadata("extensionClosure.kt") + public void testExtensionClosure() throws Exception { + runTest("compiler/testData/codegen/box/closures/extensionClosure.kt"); + } + + @TestMetadata("kt10044.kt") + public void testKt10044() throws Exception { + runTest("compiler/testData/codegen/box/closures/kt10044.kt"); + } + + @TestMetadata("kt11634.kt") + public void testKt11634() throws Exception { + runTest("compiler/testData/codegen/box/closures/kt11634.kt"); + } + + @TestMetadata("kt11634_2.kt") + public void testKt11634_2() throws Exception { + runTest("compiler/testData/codegen/box/closures/kt11634_2.kt"); + } + + @TestMetadata("kt11634_3.kt") + public void testKt11634_3() throws Exception { + runTest("compiler/testData/codegen/box/closures/kt11634_3.kt"); + } + + @TestMetadata("kt11634_4.kt") + public void testKt11634_4() throws Exception { + runTest("compiler/testData/codegen/box/closures/kt11634_4.kt"); + } + + @TestMetadata("kt19389.kt") + public void testKt19389() throws Exception { + runTest("compiler/testData/codegen/box/closures/kt19389.kt"); + } + + @TestMetadata("kt19389_set.kt") + public void testKt19389_set() throws Exception { + runTest("compiler/testData/codegen/box/closures/kt19389_set.kt"); + } + + @TestMetadata("kt2151.kt") + public void testKt2151() throws Exception { + runTest("compiler/testData/codegen/box/closures/kt2151.kt"); + } + + @TestMetadata("kt3152.kt") + public void testKt3152() throws Exception { + runTest("compiler/testData/codegen/box/closures/kt3152.kt"); + } + + @TestMetadata("kt3523.kt") + public void testKt3523() throws Exception { + runTest("compiler/testData/codegen/box/closures/kt3523.kt"); + } + + @TestMetadata("kt3738.kt") + public void testKt3738() throws Exception { + runTest("compiler/testData/codegen/box/closures/kt3738.kt"); + } + + @TestMetadata("kt3905.kt") + public void testKt3905() throws Exception { + runTest("compiler/testData/codegen/box/closures/kt3905.kt"); + } + + @TestMetadata("kt4106.kt") + public void testKt4106() throws Exception { + runTest("compiler/testData/codegen/box/closures/kt4106.kt"); + } + + @TestMetadata("kt4137.kt") + public void testKt4137() throws Exception { + runTest("compiler/testData/codegen/box/closures/kt4137.kt"); + } + + @TestMetadata("kt5589.kt") + public void testKt5589() throws Exception { + runTest("compiler/testData/codegen/box/closures/kt5589.kt"); + } + + @TestMetadata("localClassFunClosure.kt") + public void testLocalClassFunClosure() throws Exception { + runTest("compiler/testData/codegen/box/closures/localClassFunClosure.kt"); + } + + @TestMetadata("localClassLambdaClosure.kt") + public void testLocalClassLambdaClosure() throws Exception { + runTest("compiler/testData/codegen/box/closures/localClassLambdaClosure.kt"); + } + + @TestMetadata("localFunInInit.kt") + public void testLocalFunInInit() throws Exception { + runTest("compiler/testData/codegen/box/closures/localFunInInit.kt"); + } + + @TestMetadata("localFunctionInFunction.kt") + public void testLocalFunctionInFunction() throws Exception { + runTest("compiler/testData/codegen/box/closures/localFunctionInFunction.kt"); + } + + @TestMetadata("localFunctionInInitBlock.kt") + public void testLocalFunctionInInitBlock() throws Exception { + runTest("compiler/testData/codegen/box/closures/localFunctionInInitBlock.kt"); + } + + @TestMetadata("localFunctionInInitializer.kt") + public void testLocalFunctionInInitializer() throws Exception { + runTest("compiler/testData/codegen/box/closures/localFunctionInInitializer.kt"); + } + + @TestMetadata("localGenericFun.kt") + public void testLocalGenericFun() throws Exception { + runTest("compiler/testData/codegen/box/closures/localGenericFun.kt"); + } + + @TestMetadata("localReturn.kt") + public void testLocalReturn() throws Exception { + runTest("compiler/testData/codegen/box/closures/localReturn.kt"); + } + + @TestMetadata("localReturnWithAutolabel.kt") + public void testLocalReturnWithAutolabel() throws Exception { + runTest("compiler/testData/codegen/box/closures/localReturnWithAutolabel.kt"); + } + + @TestMetadata("recursiveClosure.kt") + public void testRecursiveClosure() throws Exception { + runTest("compiler/testData/codegen/box/closures/recursiveClosure.kt"); + } + + @TestMetadata("simplestClosure.kt") + public void testSimplestClosure() throws Exception { + runTest("compiler/testData/codegen/box/closures/simplestClosure.kt"); + } + + @TestMetadata("simplestClosureAndBoxing.kt") + public void testSimplestClosureAndBoxing() throws Exception { + runTest("compiler/testData/codegen/box/closures/simplestClosureAndBoxing.kt"); + } + + @TestMetadata("subclosuresWithinInitializers.kt") + public void testSubclosuresWithinInitializers() throws Exception { + runTest("compiler/testData/codegen/box/closures/subclosuresWithinInitializers.kt"); + } + + @TestMetadata("underscoreParameters.kt") + public void testUnderscoreParameters() throws Exception { + runTest("compiler/testData/codegen/box/closures/underscoreParameters.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/closures/captureInSuperConstructorCall") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class CaptureInSuperConstructorCall extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInCaptureInSuperConstructorCall() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/closures/captureInSuperConstructorCall"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("constructorParameterAndLocalCapturedInLambdaInLocalClass.kt") + public void testConstructorParameterAndLocalCapturedInLambdaInLocalClass() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/constructorParameterAndLocalCapturedInLambdaInLocalClass.kt"); + } + + @TestMetadata("constructorParameterCapturedInLambdaInLocalClass.kt") + public void testConstructorParameterCapturedInLambdaInLocalClass() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/constructorParameterCapturedInLambdaInLocalClass.kt"); + } + + @TestMetadata("constructorParameterCapturedInLambdaInLocalClass2.kt") + public void testConstructorParameterCapturedInLambdaInLocalClass2() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/constructorParameterCapturedInLambdaInLocalClass2.kt"); + } + + @TestMetadata("kt13454.kt") + public void testKt13454() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/kt13454.kt"); + } + + @TestMetadata("kt14148.kt") + public void testKt14148() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/kt14148.kt"); + } + + @TestMetadata("kt4174.kt") + public void testKt4174() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/kt4174.kt"); + } + + @TestMetadata("kt4174a.kt") + public void testKt4174a() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/kt4174a.kt"); + } + + @TestMetadata("localCapturedInAnonymousObjectInLocalClass.kt") + public void testLocalCapturedInAnonymousObjectInLocalClass() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/localCapturedInAnonymousObjectInLocalClass.kt"); + } + + @TestMetadata("localCapturedInAnonymousObjectInLocalClass2.kt") + public void testLocalCapturedInAnonymousObjectInLocalClass2() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/localCapturedInAnonymousObjectInLocalClass2.kt"); + } + + @TestMetadata("localCapturedInLambdaInInnerClassInLocalClass.kt") + public void testLocalCapturedInLambdaInInnerClassInLocalClass() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/localCapturedInLambdaInInnerClassInLocalClass.kt"); + } + + @TestMetadata("localCapturedInLambdaInLocalClass.kt") + public void testLocalCapturedInLambdaInLocalClass() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/localCapturedInLambdaInLocalClass.kt"); + } + + @TestMetadata("localFunctionCapturedInLambda.kt") + public void testLocalFunctionCapturedInLambda() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/localFunctionCapturedInLambda.kt"); + } + + @TestMetadata("outerAndLocalCapturedInLocalClass.kt") + public void testOuterAndLocalCapturedInLocalClass() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerAndLocalCapturedInLocalClass.kt"); + } + + @TestMetadata("outerCapturedInFunctionLiteral.kt") + public void testOuterCapturedInFunctionLiteral() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInFunctionLiteral.kt"); + } + + @TestMetadata("outerCapturedInInlineLambda.kt") + public void testOuterCapturedInInlineLambda() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInInlineLambda.kt"); + } + + @TestMetadata("outerCapturedInInlineLambda2.kt") + public void testOuterCapturedInInlineLambda2() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInInlineLambda2.kt"); + } + + @TestMetadata("outerCapturedInLambda.kt") + public void testOuterCapturedInLambda() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambda.kt"); + } + + @TestMetadata("outerCapturedInLambda2.kt") + public void testOuterCapturedInLambda2() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambda2.kt"); + } + + @TestMetadata("outerCapturedInLambdaInSecondaryConstructor.kt") + public void testOuterCapturedInLambdaInSecondaryConstructor() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambdaInSecondaryConstructor.kt"); + } + + @TestMetadata("outerCapturedInLambdaInSubExpression.kt") + public void testOuterCapturedInLambdaInSubExpression() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLambdaInSubExpression.kt"); + } + + @TestMetadata("outerCapturedInLocalClass.kt") + public void testOuterCapturedInLocalClass() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInLocalClass.kt"); + } + + @TestMetadata("outerCapturedInNestedLambda.kt") + public void testOuterCapturedInNestedLambda() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInNestedLambda.kt"); + } + + @TestMetadata("outerCapturedInNestedObject.kt") + public void testOuterCapturedInNestedObject() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInNestedObject.kt"); + } + + @TestMetadata("outerCapturedInObject.kt") + public void testOuterCapturedInObject() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInObject.kt"); + } + + @TestMetadata("outerCapturedInObject2.kt") + public void testOuterCapturedInObject2() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInObject2.kt"); + } + + @TestMetadata("outerEnumEntryCapturedInLambdaInInnerClass.kt") + public void testOuterEnumEntryCapturedInLambdaInInnerClass() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerEnumEntryCapturedInLambdaInInnerClass.kt"); + } + + @TestMetadata("properValueCapturedByClosure1.kt") + public void testProperValueCapturedByClosure1() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/properValueCapturedByClosure1.kt"); + } + + @TestMetadata("properValueCapturedByClosure2.kt") + public void testProperValueCapturedByClosure2() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/properValueCapturedByClosure2.kt"); + } + + @TestMetadata("referenceToCapturedVariablesInMultipleLambdas.kt") + public void testReferenceToCapturedVariablesInMultipleLambdas() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureInSuperConstructorCall/referenceToCapturedVariablesInMultipleLambdas.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/closures/captureOuterProperty") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class CaptureOuterProperty extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInCaptureOuterProperty() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/closures/captureOuterProperty"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("captureFunctionInProperty.kt") + public void testCaptureFunctionInProperty() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureOuterProperty/captureFunctionInProperty.kt"); + } + + @TestMetadata("inFunction.kt") + public void testInFunction() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureOuterProperty/inFunction.kt"); + } + + @TestMetadata("inProperty.kt") + public void testInProperty() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureOuterProperty/inProperty.kt"); + } + + @TestMetadata("inPropertyDeepObjectChain.kt") + public void testInPropertyDeepObjectChain() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureOuterProperty/inPropertyDeepObjectChain.kt"); + } + + @TestMetadata("inPropertyFromSuperClass.kt") + public void testInPropertyFromSuperClass() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureOuterProperty/inPropertyFromSuperClass.kt"); + } + + @TestMetadata("inPropertyFromSuperSuperClass.kt") + public void testInPropertyFromSuperSuperClass() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureOuterProperty/inPropertyFromSuperSuperClass.kt"); + } + + @TestMetadata("kt4176.kt") + public void testKt4176() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureOuterProperty/kt4176.kt"); + } + + @TestMetadata("kt4656.kt") + public void testKt4656() throws Exception { + runTest("compiler/testData/codegen/box/closures/captureOuterProperty/kt4656.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/closures/capturedVarsOptimization") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class CapturedVarsOptimization extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + private void runTestWithPackageReplacement(String testDataFilePath, String packageName) throws Exception { + KotlinTestUtils.runTest0(filePath -> doTestWithCoroutinesPackageReplacement(filePath, packageName), TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInCapturedVarsOptimization() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/closures/capturedVarsOptimization"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("capturedInCrossinline.kt") + public void testCapturedInCrossinline() throws Exception { + runTest("compiler/testData/codegen/box/closures/capturedVarsOptimization/capturedInCrossinline.kt"); + } + + @TestMetadata("capturedInInlineOnlyAssign.kt") + public void testCapturedInInlineOnlyAssign() throws Exception { + runTest("compiler/testData/codegen/box/closures/capturedVarsOptimization/capturedInInlineOnlyAssign.kt"); + } + + @TestMetadata("capturedInInlineOnlyCAO.kt") + public void testCapturedInInlineOnlyCAO() throws Exception { + runTest("compiler/testData/codegen/box/closures/capturedVarsOptimization/capturedInInlineOnlyCAO.kt"); + } + + @TestMetadata("capturedInInlineOnlyIncrDecr.kt") + public void testCapturedInInlineOnlyIncrDecr() throws Exception { + runTest("compiler/testData/codegen/box/closures/capturedVarsOptimization/capturedInInlineOnlyIncrDecr.kt"); + } + + @TestMetadata("capturedInInlineOnlyIndexedCAO.kt") + public void testCapturedInInlineOnlyIndexedCAO() throws Exception { + runTest("compiler/testData/codegen/box/closures/capturedVarsOptimization/capturedInInlineOnlyIndexedCAO.kt"); + } + + @TestMetadata("capturedVarsOfSize2.kt") + public void testCapturedVarsOfSize2() throws Exception { + runTest("compiler/testData/codegen/box/closures/capturedVarsOptimization/capturedVarsOfSize2.kt"); + } + + @TestMetadata("kt17200.kt") + public void testKt17200() throws Exception { + runTest("compiler/testData/codegen/box/closures/capturedVarsOptimization/kt17200.kt"); + } + + @TestMetadata("sharedSlotsWithCapturedVars.kt") + public void testSharedSlotsWithCapturedVars() throws Exception { + runTest("compiler/testData/codegen/box/closures/capturedVarsOptimization/sharedSlotsWithCapturedVars.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/closures/closureInsideClosure") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ClosureInsideClosure extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInClosureInsideClosure() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/closures/closureInsideClosure"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("localFunInsideLocalFun.kt") + public void testLocalFunInsideLocalFun() throws Exception { + runTest("compiler/testData/codegen/box/closures/closureInsideClosure/localFunInsideLocalFun.kt"); + } + + @TestMetadata("localFunInsideLocalFunDifferentSignatures.kt") + public void testLocalFunInsideLocalFunDifferentSignatures() throws Exception { + runTest("compiler/testData/codegen/box/closures/closureInsideClosure/localFunInsideLocalFunDifferentSignatures.kt"); + } + + @TestMetadata("threeLevels.kt") + public void testThreeLevels() throws Exception { + runTest("compiler/testData/codegen/box/closures/closureInsideClosure/threeLevels.kt"); + } + + @TestMetadata("threeLevelsDifferentSignatures.kt") + public void testThreeLevelsDifferentSignatures() throws Exception { + runTest("compiler/testData/codegen/box/closures/closureInsideClosure/threeLevelsDifferentSignatures.kt"); + } + + @TestMetadata("varAsFunInsideLocalFun.kt") + public void testVarAsFunInsideLocalFun() throws Exception { + runTest("compiler/testData/codegen/box/closures/closureInsideClosure/varAsFunInsideLocalFun.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/collectionLiterals") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class CollectionLiterals extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInCollectionLiterals() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/collectionLiterals"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/collections") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Collections extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + @TestMetadata("addCollectionStubWithCovariantOverride.kt") + public void testAddCollectionStubWithCovariantOverride() throws Exception { + runTest("compiler/testData/codegen/box/collections/addCollectionStubWithCovariantOverride.kt"); + } + + public void testAllFilesPresentInCollections() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/collections"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("removeClash.kt") + public void testRemoveClash() throws Exception { + runTest("compiler/testData/codegen/box/collections/removeClash.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/compatibility") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Compatibility extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInCompatibility() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/compatibility"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("privateCompanionObject.kt") + public void testPrivateCompanionObject() throws Exception { + runTest("compiler/testData/codegen/box/compatibility/privateCompanionObject.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/constants") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Constants extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInConstants() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/constants"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("comparisonFalse.kt") + public void testComparisonFalse() throws Exception { + runTest("compiler/testData/codegen/box/constants/comparisonFalse.kt"); + } + + @TestMetadata("constantsInWhen.kt") + public void testConstantsInWhen() throws Exception { + runTest("compiler/testData/codegen/box/constants/constantsInWhen.kt"); + } + + @TestMetadata("long.kt") + public void testLong() throws Exception { + runTest("compiler/testData/codegen/box/constants/long.kt"); + } + + @TestMetadata("privateConst.kt") + public void testPrivateConst() throws Exception { + runTest("compiler/testData/codegen/box/constants/privateConst.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/constructorCall") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ConstructorCall extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInConstructorCall() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/constructorCall"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/controlStructures") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ControlStructures extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInControlStructures() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true, "tryCatchInExpressions"); + } + + @TestMetadata("bottles.kt") + public void testBottles() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/bottles.kt"); + } + + @TestMetadata("breakInWhen.kt") + public void testBreakInWhen() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/breakInWhen.kt"); + } + + @TestMetadata("compareBoxedIntegerToZero.kt") + public void testCompareBoxedIntegerToZero() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/compareBoxedIntegerToZero.kt"); + } + + @TestMetadata("conditionOfEmptyIf.kt") + public void testConditionOfEmptyIf() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/conditionOfEmptyIf.kt"); + } + + @TestMetadata("continueInForCondition.kt") + public void testContinueInForCondition() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/continueInForCondition.kt"); + } + + @TestMetadata("continueInWhen.kt") + public void testContinueInWhen() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/continueInWhen.kt"); + } + + @TestMetadata("continueInWhile.kt") + public void testContinueInWhile() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/continueInWhile.kt"); + } + + @TestMetadata("doWhile.kt") + public void testDoWhile() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/doWhile.kt"); + } + + @TestMetadata("doWhileFib.kt") + public void testDoWhileFib() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/doWhileFib.kt"); + } + + @TestMetadata("doWhileWithContinue.kt") + public void testDoWhileWithContinue() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/doWhileWithContinue.kt"); + } + + @TestMetadata("emptyDoWhile.kt") + public void testEmptyDoWhile() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/emptyDoWhile.kt"); + } + + @TestMetadata("emptyFor.kt") + public void testEmptyFor() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/emptyFor.kt"); + } + + @TestMetadata("emptyWhile.kt") + public void testEmptyWhile() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/emptyWhile.kt"); + } + + @TestMetadata("factorialTest.kt") + public void testFactorialTest() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/factorialTest.kt"); + } + + @TestMetadata("forInCharSequenceMut.kt") + public void testForInCharSequenceMut() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/forInCharSequenceMut.kt"); + } + + @TestMetadata("forInSmartCastToArray.kt") + public void testForInSmartCastToArray() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/forInSmartCastToArray.kt"); + } + + @TestMetadata("forLoopMemberExtensionAll.kt") + public void testForLoopMemberExtensionAll() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/forLoopMemberExtensionAll.kt"); + } + + @TestMetadata("forLoopMemberExtensionHasNext.kt") + public void testForLoopMemberExtensionHasNext() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/forLoopMemberExtensionHasNext.kt"); + } + + @TestMetadata("forNullableCharInString.kt") + public void testForNullableCharInString() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/forNullableCharInString.kt"); + } + + @TestMetadata("ifConst1.kt") + public void testIfConst1() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/ifConst1.kt"); + } + + @TestMetadata("ifConst2.kt") + public void testIfConst2() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/ifConst2.kt"); + } + + @TestMetadata("ifIncompatibleBranches.kt") + public void testIfIncompatibleBranches() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/ifIncompatibleBranches.kt"); + } + + @TestMetadata("inRangeConditionsInWhen.kt") + public void testInRangeConditionsInWhen() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/inRangeConditionsInWhen.kt"); + } + + @TestMetadata("kt12908.kt") + public void testKt12908() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/kt12908.kt"); + } + + @TestMetadata("kt12908_2.kt") + public void testKt12908_2() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/kt12908_2.kt"); + } + + @TestMetadata("kt1441.kt") + public void testKt1441() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/kt1441.kt"); + } + + @TestMetadata("kt17110.kt") + public void testKt17110() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/kt17110.kt"); + } + + @TestMetadata("kt1742.kt") + public void testKt1742() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/kt1742.kt"); + } + + @TestMetadata("kt17590.kt") + public void testKt17590() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/kt17590.kt"); + } + + @TestMetadata("kt17590_long.kt") + public void testKt17590_long() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/kt17590_long.kt"); + } + + @TestMetadata("kt1899.kt") + public void testKt1899() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/kt1899.kt"); + } + + @TestMetadata("kt2147.kt") + public void testKt2147() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/kt2147.kt"); + } + + @TestMetadata("kt2291.kt") + public void testKt2291() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/kt2291.kt"); + } + + @TestMetadata("kt2416.kt") + public void testKt2416() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/kt2416.kt"); + } + + @TestMetadata("kt299.kt") + public void testKt299() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/kt299.kt"); + } + + @TestMetadata("kt3087.kt") + public void testKt3087() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/kt3087.kt"); + } + + @TestMetadata("kt3203_1.kt") + public void testKt3203_1() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/kt3203_1.kt"); + } + + @TestMetadata("kt3203_2.kt") + public void testKt3203_2() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/kt3203_2.kt"); + } + + @TestMetadata("kt3273.kt") + public void testKt3273() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/kt3273.kt"); + } + + @TestMetadata("kt3280.kt") + public void testKt3280() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/kt3280.kt"); + } + + @TestMetadata("kt416.kt") + public void testKt416() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/kt416.kt"); + } + + @TestMetadata("kt42455.kt") + public void testKt42455() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/kt42455.kt"); + } + + @TestMetadata("kt772.kt") + public void testKt772() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/kt772.kt"); + } + + @TestMetadata("kt773.kt") + public void testKt773() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/kt773.kt"); + } + + @TestMetadata("kt870.kt") + public void testKt870() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/kt870.kt"); + } + + @TestMetadata("kt9022Return.kt") + public void testKt9022Return() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/kt9022Return.kt"); + } + + @TestMetadata("kt9022Throw.kt") + public void testKt9022Throw() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/kt9022Throw.kt"); + } + + @TestMetadata("kt958.kt") + public void testKt958() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/kt958.kt"); + } + + @TestMetadata("longRange.kt") + public void testLongRange() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/longRange.kt"); + } + + @TestMetadata("parameterWithNameForFunctionType.kt") + public void testParameterWithNameForFunctionType() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/parameterWithNameForFunctionType.kt"); + } + + @TestMetadata("quicksort.kt") + public void testQuicksort() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/quicksort.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class BreakContinueInExpressions extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInBreakContinueInExpressions() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("breakInDoWhile.kt") + public void testBreakInDoWhile() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/breakInDoWhile.kt"); + } + + @TestMetadata("breakInExpr.kt") + public void testBreakInExpr() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/breakInExpr.kt"); + } + + @TestMetadata("continueInDoWhile.kt") + public void testContinueInDoWhile() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/continueInDoWhile.kt"); + } + + @TestMetadata("continueInExpr.kt") + public void testContinueInExpr() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/continueInExpr.kt"); + } + + @TestMetadata("inlineWithStack.kt") + public void testInlineWithStack() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/inlineWithStack.kt"); + } + + @TestMetadata("innerLoopWithStack.kt") + public void testInnerLoopWithStack() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/innerLoopWithStack.kt"); + } + + @TestMetadata("kt14581.kt") + public void testKt14581() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt14581.kt"); + } + + @TestMetadata("kt16713.kt") + public void testKt16713() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt16713.kt"); + } + + @TestMetadata("kt16713_2.kt") + public void testKt16713_2() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt16713_2.kt"); + } + + @TestMetadata("kt17384.kt") + public void testKt17384() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt17384.kt"); + } + + @TestMetadata("kt9022And.kt") + public void testKt9022And() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt9022And.kt"); + } + + @TestMetadata("kt9022Or.kt") + public void testKt9022Or() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt9022Or.kt"); + } + + @TestMetadata("pathologicalDoWhile.kt") + public void testPathologicalDoWhile() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/pathologicalDoWhile.kt"); + } + + @TestMetadata("whileTrueBreak.kt") + public void testWhileTrueBreak() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/whileTrueBreak.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/controlStructures/forInArray") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ForInArray extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInForInArray() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/forInArray"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("forInArraySpecializedToUntil.kt") + public void testForInArraySpecializedToUntil() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/forInArray/forInArraySpecializedToUntil.kt"); + } + + @TestMetadata("forInArrayWithArrayPropertyUpdatedInLoopBody.kt") + public void testForInArrayWithArrayPropertyUpdatedInLoopBody() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/forInArray/forInArrayWithArrayPropertyUpdatedInLoopBody.kt"); + } + + @TestMetadata("forInArrayWithArrayVarUpdatedInLoopBody13.kt") + public void testForInArrayWithArrayVarUpdatedInLoopBody13() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/forInArray/forInArrayWithArrayVarUpdatedInLoopBody13.kt"); + } + + @TestMetadata("forInDoubleArrayWithUpcast.kt") + public void testForInDoubleArrayWithUpcast() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/forInArray/forInDoubleArrayWithUpcast.kt"); + } + + @TestMetadata("forInFieldUpdatedInLoopBody.kt") + public void testForInFieldUpdatedInLoopBody() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/forInArray/forInFieldUpdatedInLoopBody.kt"); + } + + @TestMetadata("forIntArray.kt") + public void testForIntArray() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/forInArray/forIntArray.kt"); + } + + @TestMetadata("forNullableIntArray.kt") + public void testForNullableIntArray() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/forInArray/forNullableIntArray.kt"); + } + + @TestMetadata("forPrimitiveIntArray.kt") + public void testForPrimitiveIntArray() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/forInArray/forPrimitiveIntArray.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/controlStructures/forInArrayWithIndex") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ForInArrayWithIndex extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInForInArrayWithIndex() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/forInArrayWithIndex"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ForInCharSequenceWithIndex extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInForInCharSequenceWithIndex() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("forInEmptyStringWithIndex.kt") + public void testForInEmptyStringWithIndex() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInEmptyStringWithIndex.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/controlStructures/forInIterableWithIndex") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ForInIterableWithIndex extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInForInIterableWithIndex() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/forInIterableWithIndex"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ForInSequenceWithIndex extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInForInSequenceWithIndex() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/controlStructures/returnsNothing") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ReturnsNothing extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInReturnsNothing() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/controlStructures/returnsNothing"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("ifElse.kt") + public void testIfElse() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/returnsNothing/ifElse.kt"); + } + + @TestMetadata("propertyGetter.kt") + public void testPropertyGetter() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/returnsNothing/propertyGetter.kt"); + } + + @TestMetadata("when.kt") + public void testWhen() throws Exception { + runTest("compiler/testData/codegen/box/controlStructures/returnsNothing/when.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/dataClasses") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class DataClasses extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInDataClasses() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/dataClasses"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("arrayParams.kt") + public void testArrayParams() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/arrayParams.kt"); + } + + @TestMetadata("changingVarParam.kt") + public void testChangingVarParam() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/changingVarParam.kt"); + } + + @TestMetadata("genericParam.kt") + public void testGenericParam() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/genericParam.kt"); + } + + @TestMetadata("mixedParams.kt") + public void testMixedParams() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/mixedParams.kt"); + } + + @TestMetadata("multiDeclaration.kt") + public void testMultiDeclaration() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/multiDeclaration.kt"); + } + + @TestMetadata("multiDeclarationFor.kt") + public void testMultiDeclarationFor() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/multiDeclarationFor.kt"); + } + + @TestMetadata("nonTrivialFinalMemberInSuperClass.kt") + public void testNonTrivialFinalMemberInSuperClass() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/nonTrivialFinalMemberInSuperClass.kt"); + } + + @TestMetadata("nonTrivialMemberInSuperClass.kt") + public void testNonTrivialMemberInSuperClass() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/nonTrivialMemberInSuperClass.kt"); + } + + @TestMetadata("privateValParams.kt") + public void testPrivateValParams() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/privateValParams.kt"); + } + + @TestMetadata("twoValParams.kt") + public void testTwoValParams() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/twoValParams.kt"); + } + + @TestMetadata("twoVarParams.kt") + public void testTwoVarParams() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/twoVarParams.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/dataClasses/copy") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Copy extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInCopy() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/dataClasses/copy"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("constructorWithDefaultParam.kt") + public void testConstructorWithDefaultParam() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/copy/constructorWithDefaultParam.kt"); + } + + @TestMetadata("copyInObjectNestedDataClass.kt") + public void testCopyInObjectNestedDataClass() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/copy/copyInObjectNestedDataClass.kt"); + } + + @TestMetadata("kt12708.kt") + public void testKt12708() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/copy/kt12708.kt"); + } + + @TestMetadata("kt3033.kt") + public void testKt3033() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/copy/kt3033.kt"); + } + + @TestMetadata("valInConstructorParams.kt") + public void testValInConstructorParams() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/copy/valInConstructorParams.kt"); + } + + @TestMetadata("varInConstructorParams.kt") + public void testVarInConstructorParams() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/copy/varInConstructorParams.kt"); + } + + @TestMetadata("withGenericParameter.kt") + public void testWithGenericParameter() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/copy/withGenericParameter.kt"); + } + + @TestMetadata("withSecondaryConstructor.kt") + public void testWithSecondaryConstructor() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/copy/withSecondaryConstructor.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/dataClasses/equals") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Equals extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInEquals() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/dataClasses/equals"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("alreadyDeclared.kt") + public void testAlreadyDeclared() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/equals/alreadyDeclared.kt"); + } + + @TestMetadata("genericarray.kt") + public void testGenericarray() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/equals/genericarray.kt"); + } + + @TestMetadata("intarray.kt") + public void testIntarray() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/equals/intarray.kt"); + } + + @TestMetadata("null.kt") + public void testNull() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/equals/null.kt"); + } + + @TestMetadata("nullother.kt") + public void testNullother() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/equals/nullother.kt"); + } + + @TestMetadata("sameinstance.kt") + public void testSameinstance() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/equals/sameinstance.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/dataClasses/hashCode") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class HashCode extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInHashCode() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/dataClasses/hashCode"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("alreadyDeclared.kt") + public void testAlreadyDeclared() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/hashCode/alreadyDeclared.kt"); + } + + @TestMetadata("boolean.kt") + public void testBoolean() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/hashCode/boolean.kt"); + } + + @TestMetadata("byte.kt") + public void testByte() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/hashCode/byte.kt"); + } + + @TestMetadata("char.kt") + public void testChar() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/hashCode/char.kt"); + } + + @TestMetadata("double.kt") + public void testDouble() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/hashCode/double.kt"); + } + + @TestMetadata("float.kt") + public void testFloat() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/hashCode/float.kt"); + } + + @TestMetadata("genericNull.kt") + public void testGenericNull() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/hashCode/genericNull.kt"); + } + + @TestMetadata("int.kt") + public void testInt() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/hashCode/int.kt"); + } + + @TestMetadata("long.kt") + public void testLong() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/hashCode/long.kt"); + } + + @TestMetadata("null.kt") + public void testNull() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/hashCode/null.kt"); + } + + @TestMetadata("short.kt") + public void testShort() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/hashCode/short.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/dataClasses/toString") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ToString extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInToString() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/dataClasses/toString"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("alreadyDeclared.kt") + public void testAlreadyDeclared() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/toString/alreadyDeclared.kt"); + } + + @TestMetadata("changingVarParam.kt") + public void testChangingVarParam() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/toString/changingVarParam.kt"); + } + + @TestMetadata("genericParam.kt") + public void testGenericParam() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/toString/genericParam.kt"); + } + + @TestMetadata("mixedParams.kt") + public void testMixedParams() throws Exception { + runTest("compiler/testData/codegen/box/dataClasses/toString/mixedParams.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/defaultArguments") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class DefaultArguments extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInDefaultArguments() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("callDefaultFromInitializer.kt") + public void testCallDefaultFromInitializer() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/callDefaultFromInitializer.kt"); + } + + @TestMetadata("complexInheritance.kt") + public void testComplexInheritance() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/complexInheritance.kt"); + } + + @TestMetadata("implementedByFake.kt") + public void testImplementedByFake() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/implementedByFake.kt"); + } + + @TestMetadata("implementedByFake2.kt") + public void testImplementedByFake2() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/implementedByFake2.kt"); + } + + @TestMetadata("implementedByFake3.kt") + public void testImplementedByFake3() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/implementedByFake3.kt"); + } + + @TestMetadata("inheritedFromInterfaceViaAbstractSuperclass.kt") + public void testInheritedFromInterfaceViaAbstractSuperclass() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/inheritedFromInterfaceViaAbstractSuperclass.kt"); + } + + @TestMetadata("kt6382.kt") + public void testKt6382() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/kt6382.kt"); + } + + @TestMetadata("protected.kt") + public void testProtected() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/protected.kt"); + } + + @TestMetadata("referenceAsArg.kt") + public void testReferenceAsArg() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/referenceAsArg.kt"); + } + + @TestMetadata("simpleFromOtherFile.kt") + public void testSimpleFromOtherFile() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/simpleFromOtherFile.kt"); + } + + @TestMetadata("useThisInLambda.kt") + public void testUseThisInLambda() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/useThisInLambda.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/defaultArguments/constructor") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Constructor extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInConstructor() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments/constructor"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("annotation.kt") + public void testAnnotation() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/constructor/annotation.kt"); + } + + @TestMetadata("annotationWithEmptyArray.kt") + public void testAnnotationWithEmptyArray() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/constructor/annotationWithEmptyArray.kt"); + } + + @TestMetadata("defArgs1.kt") + public void testDefArgs1() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/constructor/defArgs1.kt"); + } + + @TestMetadata("defArgs1InnerClass.kt") + public void testDefArgs1InnerClass() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/constructor/defArgs1InnerClass.kt"); + } + + @TestMetadata("defArgs2.kt") + public void testDefArgs2() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/constructor/defArgs2.kt"); + } + + @TestMetadata("doubleDefArgs1InnerClass.kt") + public void testDoubleDefArgs1InnerClass() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/constructor/doubleDefArgs1InnerClass.kt"); + } + + @TestMetadata("enum.kt") + public void testEnum() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/constructor/enum.kt"); + } + + @TestMetadata("enumWithOneDefArg.kt") + public void testEnumWithOneDefArg() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/constructor/enumWithOneDefArg.kt"); + } + + @TestMetadata("enumWithTwoDefArgs.kt") + public void testEnumWithTwoDefArgs() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/constructor/enumWithTwoDefArgs.kt"); + } + + @TestMetadata("enumWithTwoDoubleDefArgs.kt") + public void testEnumWithTwoDoubleDefArgs() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/constructor/enumWithTwoDoubleDefArgs.kt"); + } + + @TestMetadata("innerClass32Args.kt") + public void testInnerClass32Args() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/constructor/innerClass32Args.kt"); + } + + @TestMetadata("kt2852.kt") + public void testKt2852() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/constructor/kt2852.kt"); + } + + @TestMetadata("kt30517.kt") + public void testKt30517() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/constructor/kt30517.kt"); + } + + @TestMetadata("kt3060.kt") + public void testKt3060() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/constructor/kt3060.kt"); + } + + @TestMetadata("objectExpressionDelegatingToSecondaryConstructor.kt") + public void testObjectExpressionDelegatingToSecondaryConstructor() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/constructor/objectExpressionDelegatingToSecondaryConstructor.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/defaultArguments/convention") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Convention extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInConvention() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments/convention"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("incWithDefaultInGetter.kt") + public void testIncWithDefaultInGetter() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/convention/incWithDefaultInGetter.kt"); + } + + @TestMetadata("incWithDefaults.kt") + public void testIncWithDefaults() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/convention/incWithDefaults.kt"); + } + + @TestMetadata("kt16520.kt") + public void testKt16520() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/convention/kt16520.kt"); + } + + @TestMetadata("kt9140.kt") + public void testKt9140() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/convention/kt9140.kt"); + } + + @TestMetadata("plusAssignWithDefaultInGetter.kt") + public void testPlusAssignWithDefaultInGetter() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/convention/plusAssignWithDefaultInGetter.kt"); + } + + @TestMetadata("plusAssignWithDefaults.kt") + public void testPlusAssignWithDefaults() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/convention/plusAssignWithDefaults.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/defaultArguments/function") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Function extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + @TestMetadata("abstractClass.kt") + public void testAbstractClass() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/abstractClass.kt"); + } + + public void testAllFilesPresentInFunction() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments/function"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("complexInheritance.kt") + public void testComplexInheritance() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/complexInheritance.kt"); + } + + @TestMetadata("covariantOverride.kt") + public void testCovariantOverride() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/covariantOverride.kt"); + } + + @TestMetadata("covariantOverrideGeneric.kt") + public void testCovariantOverrideGeneric() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/covariantOverrideGeneric.kt"); + } + + @TestMetadata("extensionFunctionManyArgs.kt") + public void testExtensionFunctionManyArgs() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/extensionFunctionManyArgs.kt"); + } + + @TestMetadata("extentionFunction.kt") + public void testExtentionFunction() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/extentionFunction.kt"); + } + + @TestMetadata("extentionFunctionDouble.kt") + public void testExtentionFunctionDouble() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/extentionFunctionDouble.kt"); + } + + @TestMetadata("extentionFunctionDoubleTwoArgs.kt") + public void testExtentionFunctionDoubleTwoArgs() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/extentionFunctionDoubleTwoArgs.kt"); + } + + @TestMetadata("extentionFunctionInClassObject.kt") + public void testExtentionFunctionInClassObject() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/extentionFunctionInClassObject.kt"); + } + + @TestMetadata("extentionFunctionInObject.kt") + public void testExtentionFunctionInObject() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/extentionFunctionInObject.kt"); + } + + @TestMetadata("extentionFunctionWithOneDefArg.kt") + public void testExtentionFunctionWithOneDefArg() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/extentionFunctionWithOneDefArg.kt"); + } + + @TestMetadata("funInTrait.kt") + public void testFunInTrait() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/funInTrait.kt"); + } + + @TestMetadata("innerExtentionFunction.kt") + public void testInnerExtentionFunction() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/innerExtentionFunction.kt"); + } + + @TestMetadata("innerExtentionFunctionDouble.kt") + public void testInnerExtentionFunctionDouble() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/innerExtentionFunctionDouble.kt"); + } + + @TestMetadata("innerExtentionFunctionDoubleTwoArgs.kt") + public void testInnerExtentionFunctionDoubleTwoArgs() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/innerExtentionFunctionDoubleTwoArgs.kt"); + } + + @TestMetadata("innerExtentionFunctionManyArgs.kt") + public void testInnerExtentionFunctionManyArgs() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/innerExtentionFunctionManyArgs.kt"); + } + + @TestMetadata("kt15971.kt") + public void testKt15971() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/kt15971.kt"); + } + + @TestMetadata("kt15971_2.kt") + public void testKt15971_2() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/kt15971_2.kt"); + } + + @TestMetadata("kt15971_3.kt") + public void testKt15971_3() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/kt15971_3.kt"); + } + + @TestMetadata("kt36188.kt") + public void testKt36188() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/kt36188.kt"); + } + + @TestMetadata("kt36188_2.kt") + public void testKt36188_2() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/kt36188_2.kt"); + } + + @TestMetadata("kt5232.kt") + public void testKt5232() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/kt5232.kt"); + } + + @TestMetadata("memberFunctionManyArgs.kt") + public void testMemberFunctionManyArgs() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/memberFunctionManyArgs.kt"); + } + + @TestMetadata("mixingNamedAndPositioned.kt") + public void testMixingNamedAndPositioned() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/mixingNamedAndPositioned.kt"); + } + + @TestMetadata("topLevelManyArgs.kt") + public void testTopLevelManyArgs() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/topLevelManyArgs.kt"); + } + + @TestMetadata("trait.kt") + public void testTrait() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/function/trait.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/defaultArguments/private") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Private extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInPrivate() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments/private"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("memberExtensionFunction.kt") + public void testMemberExtensionFunction() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/private/memberExtensionFunction.kt"); + } + + @TestMetadata("memberFunction.kt") + public void testMemberFunction() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/private/memberFunction.kt"); + } + + @TestMetadata("primaryConstructor.kt") + public void testPrimaryConstructor() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/private/primaryConstructor.kt"); + } + + @TestMetadata("secondaryConstructor.kt") + public void testSecondaryConstructor() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/private/secondaryConstructor.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/defaultArguments/signature") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Signature extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInSignature() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/defaultArguments/signature"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("kt2789.kt") + public void testKt2789() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/signature/kt2789.kt"); + } + + @TestMetadata("kt9428.kt") + public void testKt9428() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/signature/kt9428.kt"); + } + + @TestMetadata("kt9924.kt") + public void testKt9924() throws Exception { + runTest("compiler/testData/codegen/box/defaultArguments/signature/kt9924.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/delegation") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Delegation extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInDelegation() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/delegation"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("delegationWithPrivateConstructor.kt") + public void testDelegationWithPrivateConstructor() throws Exception { + runTest("compiler/testData/codegen/box/delegation/delegationWithPrivateConstructor.kt"); + } + + @TestMetadata("genericProperty.kt") + public void testGenericProperty() throws Exception { + runTest("compiler/testData/codegen/box/delegation/genericProperty.kt"); + } + + @TestMetadata("hiddenSuperOverrideIn1.0.kt") + public void testHiddenSuperOverrideIn1_0() throws Exception { + runTest("compiler/testData/codegen/box/delegation/hiddenSuperOverrideIn1.0.kt"); + } + + @TestMetadata("kt8154.kt") + public void testKt8154() throws Exception { + runTest("compiler/testData/codegen/box/delegation/kt8154.kt"); + } + + @TestMetadata("withDefaultParameters.kt") + public void testWithDefaultParameters() throws Exception { + runTest("compiler/testData/codegen/box/delegation/withDefaultParameters.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/destructuringDeclInLambdaParam") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class DestructuringDeclInLambdaParam extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInDestructuringDeclInLambdaParam() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/destructuringDeclInLambdaParam"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("extensionComponents.kt") + public void testExtensionComponents() throws Exception { + runTest("compiler/testData/codegen/box/destructuringDeclInLambdaParam/extensionComponents.kt"); + } + + @TestMetadata("generic.kt") + public void testGeneric() throws Exception { + runTest("compiler/testData/codegen/box/destructuringDeclInLambdaParam/generic.kt"); + } + + @TestMetadata("inline.kt") + public void testInline() throws Exception { + runTest("compiler/testData/codegen/box/destructuringDeclInLambdaParam/inline.kt"); + } + + @TestMetadata("otherParameters.kt") + public void testOtherParameters() throws Exception { + runTest("compiler/testData/codegen/box/destructuringDeclInLambdaParam/otherParameters.kt"); + } + + @TestMetadata("simple.kt") + public void testSimple() throws Exception { + runTest("compiler/testData/codegen/box/destructuringDeclInLambdaParam/simple.kt"); + } + + @TestMetadata("underscoreNames.kt") + public void testUnderscoreNames() throws Exception { + runTest("compiler/testData/codegen/box/destructuringDeclInLambdaParam/underscoreNames.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/diagnostics") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Diagnostics extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInDiagnostics() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/diagnostics"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/diagnostics/functions") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Functions extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInFunctions() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/functions"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/diagnostics/functions/inference") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Inference extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInInference() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/functions/inference"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("kt6176.kt") + public void testKt6176() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/functions/inference/kt6176.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/diagnostics/functions/invoke") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Invoke extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInInvoke() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/functions/invoke"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class OnObjects extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInOnObjects() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("invokeOnClassObject1.kt") + public void testInvokeOnClassObject1() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnClassObject1.kt"); + } + + @TestMetadata("invokeOnClassObject2.kt") + public void testInvokeOnClassObject2() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnClassObject2.kt"); + } + + @TestMetadata("invokeOnClassObjectOfNestedClass1.kt") + public void testInvokeOnClassObjectOfNestedClass1() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnClassObjectOfNestedClass1.kt"); + } + + @TestMetadata("invokeOnClassObjectOfNestedClass2.kt") + public void testInvokeOnClassObjectOfNestedClass2() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnClassObjectOfNestedClass2.kt"); + } + + @TestMetadata("invokeOnEnum1.kt") + public void testInvokeOnEnum1() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnEnum1.kt"); + } + + @TestMetadata("invokeOnEnum2.kt") + public void testInvokeOnEnum2() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnEnum2.kt"); + } + + @TestMetadata("invokeOnImportedEnum1.kt") + public void testInvokeOnImportedEnum1() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnImportedEnum1.kt"); + } + + @TestMetadata("invokeOnImportedEnum2.kt") + public void testInvokeOnImportedEnum2() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnImportedEnum2.kt"); + } + + @TestMetadata("invokeOnObject1.kt") + public void testInvokeOnObject1() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnObject1.kt"); + } + + @TestMetadata("invokeOnObject2.kt") + public void testInvokeOnObject2() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnObject2.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/diagnostics/functions/tailRecursion") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class TailRecursion extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInTailRecursion() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/functions/tailRecursion"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("defaultArgs.kt") + public void testDefaultArgs() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgs.kt"); + } + + @TestMetadata("defaultArgs2.kt") + public void testDefaultArgs2() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgs2.kt"); + } + + @TestMetadata("defaultArgsWithSideEffects.kt") + public void testDefaultArgsWithSideEffects() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgsWithSideEffects.kt"); + } + + @TestMetadata("defaultArgsWithSideEffects2.kt") + public void testDefaultArgsWithSideEffects2() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgsWithSideEffects2.kt"); + } + + @TestMetadata("extensionTailCall.kt") + public void testExtensionTailCall() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/extensionTailCall.kt"); + } + + @TestMetadata("functionWithoutAnnotation.kt") + public void testFunctionWithoutAnnotation() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/functionWithoutAnnotation.kt"); + } + + @TestMetadata("infixCall.kt") + public void testInfixCall() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/infixCall.kt"); + } + + @TestMetadata("infixRecursiveCall.kt") + public void testInfixRecursiveCall() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/infixRecursiveCall.kt"); + } + + @TestMetadata("realIteratorFoldl.kt") + public void testRealIteratorFoldl() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realIteratorFoldl.kt"); + } + + @TestMetadata("recursiveInnerFunction.kt") + public void testRecursiveInnerFunction() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveInnerFunction.kt"); + } + + @TestMetadata("returnInParentheses.kt") + public void testReturnInParentheses() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInParentheses.kt"); + } + + @TestMetadata("sum.kt") + public void testSum() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/sum.kt"); + } + + @TestMetadata("tailCallInParentheses.kt") + public void testTailCallInParentheses() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailCallInParentheses.kt"); + } + + @TestMetadata("whenWithIs.kt") + public void testWhenWithIs() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithIs.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/diagnostics/vararg") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Vararg extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInVararg() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/diagnostics/vararg"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("kt4172.kt") + public void testKt4172() throws Exception { + runTest("compiler/testData/codegen/box/diagnostics/vararg/kt4172.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/elvis") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Elvis extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInElvis() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/elvis"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("genericNull.kt") + public void testGenericNull() throws Exception { + runTest("compiler/testData/codegen/box/elvis/genericNull.kt"); + } + + @TestMetadata("kt6694ExactAnnotationForElvis.kt") + public void testKt6694ExactAnnotationForElvis() throws Exception { + runTest("compiler/testData/codegen/box/elvis/kt6694ExactAnnotationForElvis.kt"); + } + + @TestMetadata("nullNullOk.kt") + public void testNullNullOk() throws Exception { + runTest("compiler/testData/codegen/box/elvis/nullNullOk.kt"); + } + + @TestMetadata("primitive.kt") + public void testPrimitive() throws Exception { + runTest("compiler/testData/codegen/box/elvis/primitive.kt"); + } + + @TestMetadata("withReturn.kt") + public void testWithReturn() throws Exception { + runTest("compiler/testData/codegen/box/elvis/withReturn.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/enum") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Enum extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + @TestMetadata("abstractMethodInEnum.kt") + public void testAbstractMethodInEnum() throws Exception { + runTest("compiler/testData/codegen/box/enum/abstractMethodInEnum.kt"); + } + + @TestMetadata("abstractNestedClass.kt") + public void testAbstractNestedClass() throws Exception { + runTest("compiler/testData/codegen/box/enum/abstractNestedClass.kt"); + } + + public void testAllFilesPresentInEnum() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/enum"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("asReturnExpression.kt") + public void testAsReturnExpression() throws Exception { + runTest("compiler/testData/codegen/box/enum/asReturnExpression.kt"); + } + + @TestMetadata("companionObjectInEnum.kt") + public void testCompanionObjectInEnum() throws Exception { + runTest("compiler/testData/codegen/box/enum/companionObjectInEnum.kt"); + } + + @TestMetadata("constructorWithReordering.kt") + public void testConstructorWithReordering() throws Exception { + runTest("compiler/testData/codegen/box/enum/constructorWithReordering.kt"); + } + + @TestMetadata("deepInnerClassInEnumEntryClass.kt") + public void testDeepInnerClassInEnumEntryClass() throws Exception { + runTest("compiler/testData/codegen/box/enum/deepInnerClassInEnumEntryClass.kt"); + } + + @TestMetadata("deepInnerClassInEnumEntryClass2.kt") + public void testDeepInnerClassInEnumEntryClass2() throws Exception { + runTest("compiler/testData/codegen/box/enum/deepInnerClassInEnumEntryClass2.kt"); + } + + @TestMetadata("emptyConstructor.kt") + public void testEmptyConstructor() throws Exception { + runTest("compiler/testData/codegen/box/enum/emptyConstructor.kt"); + } + + @TestMetadata("enumConstructorParameterClashWithDefaults.kt") + public void testEnumConstructorParameterClashWithDefaults() throws Exception { + runTest("compiler/testData/codegen/box/enum/enumConstructorParameterClashWithDefaults.kt"); + } + + @TestMetadata("enumEntryMembers.kt") + public void testEnumEntryMembers() throws Exception { + runTest("compiler/testData/codegen/box/enum/enumEntryMembers.kt"); + } + + @TestMetadata("enumEntryReferenceFromInnerClassConstructor1.kt") + public void testEnumEntryReferenceFromInnerClassConstructor1() throws Exception { + runTest("compiler/testData/codegen/box/enum/enumEntryReferenceFromInnerClassConstructor1.kt"); + } + + @TestMetadata("enumEntryReferenceFromInnerClassConstructor2.kt") + public void testEnumEntryReferenceFromInnerClassConstructor2() throws Exception { + runTest("compiler/testData/codegen/box/enum/enumEntryReferenceFromInnerClassConstructor2.kt"); + } + + @TestMetadata("enumEntryReferenceFromInnerClassConstructor3.kt") + public void testEnumEntryReferenceFromInnerClassConstructor3() throws Exception { + runTest("compiler/testData/codegen/box/enum/enumEntryReferenceFromInnerClassConstructor3.kt"); + } + + @TestMetadata("enumInheritedFromTrait.kt") + public void testEnumInheritedFromTrait() throws Exception { + runTest("compiler/testData/codegen/box/enum/enumInheritedFromTrait.kt"); + } + + @TestMetadata("enumMultiModule.kt") + public void testEnumMultiModule() throws Exception { + runTest("compiler/testData/codegen/box/enum/enumMultiModule.kt"); + } + + @TestMetadata("enumShort.kt") + public void testEnumShort() throws Exception { + runTest("compiler/testData/codegen/box/enum/enumShort.kt"); + } + + @TestMetadata("enumWithLambdaParameter.kt") + public void testEnumWithLambdaParameter() throws Exception { + runTest("compiler/testData/codegen/box/enum/enumWithLambdaParameter.kt"); + } + + @TestMetadata("inPackage.kt") + public void testInPackage() throws Exception { + runTest("compiler/testData/codegen/box/enum/inPackage.kt"); + } + + @TestMetadata("inclassobj.kt") + public void testInclassobj() throws Exception { + runTest("compiler/testData/codegen/box/enum/inclassobj.kt"); + } + + @TestMetadata("inner.kt") + public void testInner() throws Exception { + runTest("compiler/testData/codegen/box/enum/inner.kt"); + } + + @TestMetadata("innerClassInEnumEntryClass.kt") + public void testInnerClassInEnumEntryClass() throws Exception { + runTest("compiler/testData/codegen/box/enum/innerClassInEnumEntryClass.kt"); + } + + @TestMetadata("innerClassMethodInEnumEntryClass.kt") + public void testInnerClassMethodInEnumEntryClass() throws Exception { + runTest("compiler/testData/codegen/box/enum/innerClassMethodInEnumEntryClass.kt"); + } + + @TestMetadata("innerClassMethodInEnumEntryClass2.kt") + public void testInnerClassMethodInEnumEntryClass2() throws Exception { + runTest("compiler/testData/codegen/box/enum/innerClassMethodInEnumEntryClass2.kt"); + } + + @TestMetadata("innerWithExistingClassObject.kt") + public void testInnerWithExistingClassObject() throws Exception { + runTest("compiler/testData/codegen/box/enum/innerWithExistingClassObject.kt"); + } + + @TestMetadata("kt1119.kt") + public void testKt1119() throws Exception { + runTest("compiler/testData/codegen/box/enum/kt1119.kt"); + } + + @TestMetadata("kt18731.kt") + public void testKt18731() throws Exception { + runTest("compiler/testData/codegen/box/enum/kt18731.kt"); + } + + @TestMetadata("kt18731_2.kt") + public void testKt18731_2() throws Exception { + runTest("compiler/testData/codegen/box/enum/kt18731_2.kt"); + } + + @TestMetadata("kt20651.kt") + public void testKt20651() throws Exception { + runTest("compiler/testData/codegen/box/enum/kt20651.kt"); + } + + @TestMetadata("kt20651_inlineLambda.kt") + public void testKt20651_inlineLambda() throws Exception { + runTest("compiler/testData/codegen/box/enum/kt20651_inlineLambda.kt"); + } + + @TestMetadata("kt20651a.kt") + public void testKt20651a() throws Exception { + runTest("compiler/testData/codegen/box/enum/kt20651a.kt"); + } + + @TestMetadata("kt20651b.kt") + public void testKt20651b() throws Exception { + runTest("compiler/testData/codegen/box/enum/kt20651b.kt"); + } + + @TestMetadata("kt2350.kt") + public void testKt2350() throws Exception { + runTest("compiler/testData/codegen/box/enum/kt2350.kt"); + } + + @TestMetadata("kt38996.kt") + public void testKt38996() throws Exception { + runTest("compiler/testData/codegen/box/enum/kt38996.kt"); + } + + @TestMetadata("kt7257.kt") + public void testKt7257() throws Exception { + runTest("compiler/testData/codegen/box/enum/kt7257.kt"); + } + + @TestMetadata("kt7257_anonObjectInit.kt") + public void testKt7257_anonObjectInit() throws Exception { + runTest("compiler/testData/codegen/box/enum/kt7257_anonObjectInit.kt"); + } + + @TestMetadata("kt7257_anonObjectMethod.kt") + public void testKt7257_anonObjectMethod() throws Exception { + runTest("compiler/testData/codegen/box/enum/kt7257_anonObjectMethod.kt"); + } + + @TestMetadata("kt7257_explicitReceiver.kt") + public void testKt7257_explicitReceiver() throws Exception { + runTest("compiler/testData/codegen/box/enum/kt7257_explicitReceiver.kt"); + } + + @TestMetadata("kt7257_fullyQualifiedReceiver.kt") + public void testKt7257_fullyQualifiedReceiver() throws Exception { + runTest("compiler/testData/codegen/box/enum/kt7257_fullyQualifiedReceiver.kt"); + } + + @TestMetadata("kt7257_namedLocalFun.kt") + public void testKt7257_namedLocalFun() throws Exception { + runTest("compiler/testData/codegen/box/enum/kt7257_namedLocalFun.kt"); + } + + @TestMetadata("kt7257_notInline.kt") + public void testKt7257_notInline() throws Exception { + runTest("compiler/testData/codegen/box/enum/kt7257_notInline.kt"); + } + + @TestMetadata("kt9711.kt") + public void testKt9711() throws Exception { + runTest("compiler/testData/codegen/box/enum/kt9711.kt"); + } + + @TestMetadata("kt9711_2.kt") + public void testKt9711_2() throws Exception { + runTest("compiler/testData/codegen/box/enum/kt9711_2.kt"); + } + + @TestMetadata("manyDefaultParameters.kt") + public void testManyDefaultParameters() throws Exception { + runTest("compiler/testData/codegen/box/enum/manyDefaultParameters.kt"); + } + + @TestMetadata("objectInEnum.kt") + public void testObjectInEnum() throws Exception { + runTest("compiler/testData/codegen/box/enum/objectInEnum.kt"); + } + + @TestMetadata("ordinal.kt") + public void testOrdinal() throws Exception { + runTest("compiler/testData/codegen/box/enum/ordinal.kt"); + } + + @TestMetadata("refToThis.kt") + public void testRefToThis() throws Exception { + runTest("compiler/testData/codegen/box/enum/refToThis.kt"); + } + + @TestMetadata("simple.kt") + public void testSimple() throws Exception { + runTest("compiler/testData/codegen/box/enum/simple.kt"); + } + + @TestMetadata("superCallInEnumLiteral.kt") + public void testSuperCallInEnumLiteral() throws Exception { + runTest("compiler/testData/codegen/box/enum/superCallInEnumLiteral.kt"); + } + + @TestMetadata("toString.kt") + public void testToString() throws Exception { + runTest("compiler/testData/codegen/box/enum/toString.kt"); + } + + @TestMetadata("whenInObject.kt") + public void testWhenInObject() throws Exception { + runTest("compiler/testData/codegen/box/enum/whenInObject.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/enum/defaultCtor") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class DefaultCtor extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInDefaultCtor() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/enum/defaultCtor"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("constructorWithDefaultArguments.kt") + public void testConstructorWithDefaultArguments() throws Exception { + runTest("compiler/testData/codegen/box/enum/defaultCtor/constructorWithDefaultArguments.kt"); + } + + @TestMetadata("constructorWithVararg.kt") + public void testConstructorWithVararg() throws Exception { + runTest("compiler/testData/codegen/box/enum/defaultCtor/constructorWithVararg.kt"); + } + + @TestMetadata("entryClassConstructorWithDefaultArguments.kt") + public void testEntryClassConstructorWithDefaultArguments() throws Exception { + runTest("compiler/testData/codegen/box/enum/defaultCtor/entryClassConstructorWithDefaultArguments.kt"); + } + + @TestMetadata("entryClassConstructorWithVarargs.kt") + public void testEntryClassConstructorWithVarargs() throws Exception { + runTest("compiler/testData/codegen/box/enum/defaultCtor/entryClassConstructorWithVarargs.kt"); + } + + @TestMetadata("secondaryConstructorWithDefaultArguments.kt") + public void testSecondaryConstructorWithDefaultArguments() throws Exception { + runTest("compiler/testData/codegen/box/enum/defaultCtor/secondaryConstructorWithDefaultArguments.kt"); + } + + @TestMetadata("secondaryConstructorWithVararg.kt") + public void testSecondaryConstructorWithVararg() throws Exception { + runTest("compiler/testData/codegen/box/enum/defaultCtor/secondaryConstructorWithVararg.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/evaluate") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Evaluate extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInEvaluate() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/evaluate"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("kt9443.kt") + public void testKt9443() throws Exception { + runTest("compiler/testData/codegen/box/evaluate/kt9443.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/exclExcl") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ExclExcl extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInExclExcl() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/exclExcl"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("primitive.kt") + public void testPrimitive() throws Exception { + runTest("compiler/testData/codegen/box/exclExcl/primitive.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/extensionFunctions") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ExtensionFunctions extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInExtensionFunctions() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/extensionFunctions"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("executionOrder.kt") + public void testExecutionOrder() throws Exception { + runTest("compiler/testData/codegen/box/extensionFunctions/executionOrder.kt"); + } + + @TestMetadata("kt1061.kt") + public void testKt1061() throws Exception { + runTest("compiler/testData/codegen/box/extensionFunctions/kt1061.kt"); + } + + @TestMetadata("kt1249.kt") + public void testKt1249() throws Exception { + runTest("compiler/testData/codegen/box/extensionFunctions/kt1249.kt"); + } + + @TestMetadata("kt1290.kt") + public void testKt1290() throws Exception { + runTest("compiler/testData/codegen/box/extensionFunctions/kt1290.kt"); + } + + @TestMetadata("kt13312.kt") + public void testKt13312() throws Exception { + runTest("compiler/testData/codegen/box/extensionFunctions/kt13312.kt"); + } + + @TestMetadata("kt1776.kt") + public void testKt1776() throws Exception { + runTest("compiler/testData/codegen/box/extensionFunctions/kt1776.kt"); + } + + @TestMetadata("kt23675.kt") + public void testKt23675() throws Exception { + runTest("compiler/testData/codegen/box/extensionFunctions/kt23675.kt"); + } + + @TestMetadata("kt3285.kt") + public void testKt3285() throws Exception { + runTest("compiler/testData/codegen/box/extensionFunctions/kt3285.kt"); + } + + @TestMetadata("kt3298.kt") + public void testKt3298() throws Exception { + runTest("compiler/testData/codegen/box/extensionFunctions/kt3298.kt"); + } + + @TestMetadata("kt3646.kt") + public void testKt3646() throws Exception { + runTest("compiler/testData/codegen/box/extensionFunctions/kt3646.kt"); + } + + @TestMetadata("kt3969.kt") + public void testKt3969() throws Exception { + runTest("compiler/testData/codegen/box/extensionFunctions/kt3969.kt"); + } + + @TestMetadata("kt4228.kt") + public void testKt4228() throws Exception { + runTest("compiler/testData/codegen/box/extensionFunctions/kt4228.kt"); + } + + @TestMetadata("kt5467.kt") + public void testKt5467() throws Exception { + runTest("compiler/testData/codegen/box/extensionFunctions/kt5467.kt"); + } + + @TestMetadata("nested2.kt") + public void testNested2() throws Exception { + runTest("compiler/testData/codegen/box/extensionFunctions/nested2.kt"); + } + + @TestMetadata("shared.kt") + public void testShared() throws Exception { + runTest("compiler/testData/codegen/box/extensionFunctions/shared.kt"); + } + + @TestMetadata("thisMethodInObjectLiteral.kt") + public void testThisMethodInObjectLiteral() throws Exception { + runTest("compiler/testData/codegen/box/extensionFunctions/thisMethodInObjectLiteral.kt"); + } + + @TestMetadata("virtual.kt") + public void testVirtual() throws Exception { + runTest("compiler/testData/codegen/box/extensionFunctions/virtual.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/extensionProperties") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ExtensionProperties extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + @TestMetadata("accessorForPrivateSetter.kt") + public void testAccessorForPrivateSetter() throws Exception { + runTest("compiler/testData/codegen/box/extensionProperties/accessorForPrivateSetter.kt"); + } + + public void testAllFilesPresentInExtensionProperties() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/extensionProperties"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("genericValForPrimitiveType.kt") + public void testGenericValForPrimitiveType() throws Exception { + runTest("compiler/testData/codegen/box/extensionProperties/genericValForPrimitiveType.kt"); + } + + @TestMetadata("genericVarForPrimitiveType.kt") + public void testGenericVarForPrimitiveType() throws Exception { + runTest("compiler/testData/codegen/box/extensionProperties/genericVarForPrimitiveType.kt"); + } + + @TestMetadata("inClass.kt") + public void testInClass() throws Exception { + runTest("compiler/testData/codegen/box/extensionProperties/inClass.kt"); + } + + @TestMetadata("inClassLongTypeInReceiver.kt") + public void testInClassLongTypeInReceiver() throws Exception { + runTest("compiler/testData/codegen/box/extensionProperties/inClassLongTypeInReceiver.kt"); + } + + @TestMetadata("inClassWithGetter.kt") + public void testInClassWithGetter() throws Exception { + runTest("compiler/testData/codegen/box/extensionProperties/inClassWithGetter.kt"); + } + + @TestMetadata("inClassWithPrivateGetter.kt") + public void testInClassWithPrivateGetter() throws Exception { + runTest("compiler/testData/codegen/box/extensionProperties/inClassWithPrivateGetter.kt"); + } + + @TestMetadata("inClassWithPrivateSetter.kt") + public void testInClassWithPrivateSetter() throws Exception { + runTest("compiler/testData/codegen/box/extensionProperties/inClassWithPrivateSetter.kt"); + } + + @TestMetadata("inClassWithSetter.kt") + public void testInClassWithSetter() throws Exception { + runTest("compiler/testData/codegen/box/extensionProperties/inClassWithSetter.kt"); + } + + @TestMetadata("kt9897.kt") + public void testKt9897() throws Exception { + runTest("compiler/testData/codegen/box/extensionProperties/kt9897.kt"); + } + + @TestMetadata("kt9897_topLevel.kt") + public void testKt9897_topLevel() throws Exception { + runTest("compiler/testData/codegen/box/extensionProperties/kt9897_topLevel.kt"); + } + + @TestMetadata("nonAbstractInInterface.kt") + public void testNonAbstractInInterface() throws Exception { + runTest("compiler/testData/codegen/box/extensionProperties/nonAbstractInInterface.kt"); + } + + @TestMetadata("topLevel.kt") + public void testTopLevel() throws Exception { + runTest("compiler/testData/codegen/box/extensionProperties/topLevel.kt"); + } + + @TestMetadata("topLevelLongTypeInReceiver.kt") + public void testTopLevelLongTypeInReceiver() throws Exception { + runTest("compiler/testData/codegen/box/extensionProperties/topLevelLongTypeInReceiver.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/external") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class External extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInExternal() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/external"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/fakeOverride") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class FakeOverride extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInFakeOverride() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/fakeOverride"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("diamondFunction.kt") + public void testDiamondFunction() throws Exception { + runTest("compiler/testData/codegen/box/fakeOverride/diamondFunction.kt"); + } + + @TestMetadata("function.kt") + public void testFunction() throws Exception { + runTest("compiler/testData/codegen/box/fakeOverride/function.kt"); + } + + @TestMetadata("privateFakeOverrides0.kt") + public void testPrivateFakeOverrides0() throws Exception { + runTest("compiler/testData/codegen/box/fakeOverride/privateFakeOverrides0.kt"); + } + + @TestMetadata("privateFakeOverrides1.kt") + public void testPrivateFakeOverrides1() throws Exception { + runTest("compiler/testData/codegen/box/fakeOverride/privateFakeOverrides1.kt"); + } + + @TestMetadata("propertyGetter.kt") + public void testPropertyGetter() throws Exception { + runTest("compiler/testData/codegen/box/fakeOverride/propertyGetter.kt"); + } + + @TestMetadata("propertySetter.kt") + public void testPropertySetter() throws Exception { + runTest("compiler/testData/codegen/box/fakeOverride/propertySetter.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/fieldRename") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class FieldRename extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInFieldRename() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/fieldRename"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("constructorAndClassObject.kt") + public void testConstructorAndClassObject() throws Exception { + runTest("compiler/testData/codegen/box/fieldRename/constructorAndClassObject.kt"); + } + + @TestMetadata("genericPropertyWithItself.kt") + public void testGenericPropertyWithItself() throws Exception { + runTest("compiler/testData/codegen/box/fieldRename/genericPropertyWithItself.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/fullJdk") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class FullJdk extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInFullJdk() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/fullJdk"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/fullJdk/native") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Native extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInNative() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/fullJdk/native"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/fullJdk/regressions") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Regressions extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInRegressions() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/fullJdk/regressions"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/funInterface") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class FunInterface extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInFunInterface() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/funInterface"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("basicFunInterface.kt") + public void testBasicFunInterface() throws Exception { + runTest("compiler/testData/codegen/box/funInterface/basicFunInterface.kt"); + } + + @TestMetadata("basicFunInterfaceConversion.kt") + public void testBasicFunInterfaceConversion() throws Exception { + runTest("compiler/testData/codegen/box/funInterface/basicFunInterfaceConversion.kt"); + } + + @TestMetadata("funConversionInVararg.kt") + public void testFunConversionInVararg() throws Exception { + runTest("compiler/testData/codegen/box/funInterface/funConversionInVararg.kt"); + } + + @TestMetadata("partialSam.kt") + public void testPartialSam() throws Exception { + runTest("compiler/testData/codegen/box/funInterface/partialSam.kt"); + } + + @TestMetadata("primitiveConversions.kt") + public void testPrimitiveConversions() throws Exception { + runTest("compiler/testData/codegen/box/funInterface/primitiveConversions.kt"); + } + + @TestMetadata("receiverEvaluatedOnce.kt") + public void testReceiverEvaluatedOnce() throws Exception { + runTest("compiler/testData/codegen/box/funInterface/receiverEvaluatedOnce.kt"); + } + + @TestMetadata("samConstructorExplicitInvocation.kt") + public void testSamConstructorExplicitInvocation() throws Exception { + runTest("compiler/testData/codegen/box/funInterface/samConstructorExplicitInvocation.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/funInterface/equality") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Equality extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInEquality() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/funInterface/equality"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("simpleLambdas.kt") + public void testSimpleLambdas() throws Exception { + runTest("compiler/testData/codegen/box/funInterface/equality/simpleLambdas.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/functions") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Functions extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInFunctions() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/functions"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("defaultargs.kt") + public void testDefaultargs() throws Exception { + runTest("compiler/testData/codegen/box/functions/defaultargs.kt"); + } + + @TestMetadata("defaultargs1.kt") + public void testDefaultargs1() throws Exception { + runTest("compiler/testData/codegen/box/functions/defaultargs1.kt"); + } + + @TestMetadata("defaultargs2.kt") + public void testDefaultargs2() throws Exception { + runTest("compiler/testData/codegen/box/functions/defaultargs2.kt"); + } + + @TestMetadata("defaultargs3.kt") + public void testDefaultargs3() throws Exception { + runTest("compiler/testData/codegen/box/functions/defaultargs3.kt"); + } + + @TestMetadata("defaultargs4.kt") + public void testDefaultargs4() throws Exception { + runTest("compiler/testData/codegen/box/functions/defaultargs4.kt"); + } + + @TestMetadata("defaultargs5.kt") + public void testDefaultargs5() throws Exception { + runTest("compiler/testData/codegen/box/functions/defaultargs5.kt"); + } + + @TestMetadata("defaultargs6.kt") + public void testDefaultargs6() throws Exception { + runTest("compiler/testData/codegen/box/functions/defaultargs6.kt"); + } + + @TestMetadata("defaultargs7.kt") + public void testDefaultargs7() throws Exception { + runTest("compiler/testData/codegen/box/functions/defaultargs7.kt"); + } + + @TestMetadata("ea33909.kt") + public void testEa33909() throws Exception { + runTest("compiler/testData/codegen/box/functions/ea33909.kt"); + } + + @TestMetadata("fakeDescriptorWithSeveralOverridenOne.kt") + public void testFakeDescriptorWithSeveralOverridenOne() throws Exception { + runTest("compiler/testData/codegen/box/functions/fakeDescriptorWithSeveralOverridenOne.kt"); + } + + @TestMetadata("infixRecursiveCall.kt") + public void testInfixRecursiveCall() throws Exception { + runTest("compiler/testData/codegen/box/functions/infixRecursiveCall.kt"); + } + + @TestMetadata("kt1038.kt") + public void testKt1038() throws Exception { + runTest("compiler/testData/codegen/box/functions/kt1038.kt"); + } + + @TestMetadata("kt1199.kt") + public void testKt1199() throws Exception { + runTest("compiler/testData/codegen/box/functions/kt1199.kt"); + } + + @TestMetadata("kt1413.kt") + public void testKt1413() throws Exception { + runTest("compiler/testData/codegen/box/functions/kt1413.kt"); + } + + @TestMetadata("kt1649_1.kt") + public void testKt1649_1() throws Exception { + runTest("compiler/testData/codegen/box/functions/kt1649_1.kt"); + } + + @TestMetadata("kt2270.kt") + public void testKt2270() throws Exception { + runTest("compiler/testData/codegen/box/functions/kt2270.kt"); + } + + @TestMetadata("kt2271.kt") + public void testKt2271() throws Exception { + runTest("compiler/testData/codegen/box/functions/kt2271.kt"); + } + + @TestMetadata("kt2280.kt") + public void testKt2280() throws Exception { + runTest("compiler/testData/codegen/box/functions/kt2280.kt"); + } + + @TestMetadata("kt2481.kt") + public void testKt2481() throws Exception { + runTest("compiler/testData/codegen/box/functions/kt2481.kt"); + } + + @TestMetadata("kt2716.kt") + public void testKt2716() throws Exception { + runTest("compiler/testData/codegen/box/functions/kt2716.kt"); + } + + @TestMetadata("kt2739.kt") + public void testKt2739() throws Exception { + runTest("compiler/testData/codegen/box/functions/kt2739.kt"); + } + + @TestMetadata("kt2929.kt") + public void testKt2929() throws Exception { + runTest("compiler/testData/codegen/box/functions/kt2929.kt"); + } + + @TestMetadata("kt3313.kt") + public void testKt3313() throws Exception { + runTest("compiler/testData/codegen/box/functions/kt3313.kt"); + } + + @TestMetadata("kt3573.kt") + public void testKt3573() throws Exception { + runTest("compiler/testData/codegen/box/functions/kt3573.kt"); + } + + @TestMetadata("kt3724.kt") + public void testKt3724() throws Exception { + runTest("compiler/testData/codegen/box/functions/kt3724.kt"); + } + + @TestMetadata("kt395.kt") + public void testKt395() throws Exception { + runTest("compiler/testData/codegen/box/functions/kt395.kt"); + } + + @TestMetadata("kt785.kt") + public void testKt785() throws Exception { + runTest("compiler/testData/codegen/box/functions/kt785.kt"); + } + + @TestMetadata("kt873.kt") + public void testKt873() throws Exception { + runTest("compiler/testData/codegen/box/functions/kt873.kt"); + } + + @TestMetadata("localFunction.kt") + public void testLocalFunction() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunction.kt"); + } + + @TestMetadata("localReturnInsideFunctionExpression.kt") + public void testLocalReturnInsideFunctionExpression() throws Exception { + runTest("compiler/testData/codegen/box/functions/localReturnInsideFunctionExpression.kt"); + } + + @TestMetadata("nothisnoclosure.kt") + public void testNothisnoclosure() throws Exception { + runTest("compiler/testData/codegen/box/functions/nothisnoclosure.kt"); + } + + @TestMetadata("prefixRecursiveCall.kt") + public void testPrefixRecursiveCall() throws Exception { + runTest("compiler/testData/codegen/box/functions/prefixRecursiveCall.kt"); + } + + @TestMetadata("recursiveCompareTo.kt") + public void testRecursiveCompareTo() throws Exception { + runTest("compiler/testData/codegen/box/functions/recursiveCompareTo.kt"); + } + + @TestMetadata("recursiveIncrementCall.kt") + public void testRecursiveIncrementCall() throws Exception { + runTest("compiler/testData/codegen/box/functions/recursiveIncrementCall.kt"); + } + + @TestMetadata("typeParameterAsUpperBound.kt") + public void testTypeParameterAsUpperBound() throws Exception { + runTest("compiler/testData/codegen/box/functions/typeParameterAsUpperBound.kt"); + } + + @TestMetadata("typeParametersInLocalFunction.kt") + public void testTypeParametersInLocalFunction() throws Exception { + runTest("compiler/testData/codegen/box/functions/typeParametersInLocalFunction.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/functions/bigArity") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class BigArity extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInBigArity() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/functions/bigArity"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/functions/functionExpression") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class FunctionExpression extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInFunctionExpression() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/functions/functionExpression"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("functionExpression.kt") + public void testFunctionExpression() throws Exception { + runTest("compiler/testData/codegen/box/functions/functionExpression/functionExpression.kt"); + } + + @TestMetadata("functionExpressionWithThisReference.kt") + public void testFunctionExpressionWithThisReference() throws Exception { + runTest("compiler/testData/codegen/box/functions/functionExpression/functionExpressionWithThisReference.kt"); + } + + @TestMetadata("functionExpressionWithThisReferenceNI.kt") + public void testFunctionExpressionWithThisReferenceNI() throws Exception { + runTest("compiler/testData/codegen/box/functions/functionExpression/functionExpressionWithThisReferenceNI.kt"); + } + + @TestMetadata("functionLiteralExpression.kt") + public void testFunctionLiteralExpression() throws Exception { + runTest("compiler/testData/codegen/box/functions/functionExpression/functionLiteralExpression.kt"); + } + + @TestMetadata("insideGenericLambda.kt") + public void testInsideGenericLambda() throws Exception { + runTest("compiler/testData/codegen/box/functions/functionExpression/insideGenericLambda.kt"); + } + + @TestMetadata("underscoreParameters.kt") + public void testUnderscoreParameters() throws Exception { + runTest("compiler/testData/codegen/box/functions/functionExpression/underscoreParameters.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/functions/invoke") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Invoke extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInInvoke() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/functions/invoke"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("castFunctionToExtension.kt") + public void testCastFunctionToExtension() throws Exception { + runTest("compiler/testData/codegen/box/functions/invoke/castFunctionToExtension.kt"); + } + + @TestMetadata("extensionInvokeOnExpr.kt") + public void testExtensionInvokeOnExpr() throws Exception { + runTest("compiler/testData/codegen/box/functions/invoke/extensionInvokeOnExpr.kt"); + } + + @TestMetadata("implicitInvokeInCompanionObjectWithFunctionalArgument.kt") + public void testImplicitInvokeInCompanionObjectWithFunctionalArgument() throws Exception { + runTest("compiler/testData/codegen/box/functions/invoke/implicitInvokeInCompanionObjectWithFunctionalArgument.kt"); + } + + @TestMetadata("implicitInvokeWithFunctionLiteralArgument.kt") + public void testImplicitInvokeWithFunctionLiteralArgument() throws Exception { + runTest("compiler/testData/codegen/box/functions/invoke/implicitInvokeWithFunctionLiteralArgument.kt"); + } + + @TestMetadata("invoke.kt") + public void testInvoke() throws Exception { + runTest("compiler/testData/codegen/box/functions/invoke/invoke.kt"); + } + + @TestMetadata("invokeOnExprByConvention.kt") + public void testInvokeOnExprByConvention() throws Exception { + runTest("compiler/testData/codegen/box/functions/invoke/invokeOnExprByConvention.kt"); + } + + @TestMetadata("kt3189.kt") + public void testKt3189() throws Exception { + runTest("compiler/testData/codegen/box/functions/invoke/kt3189.kt"); + } + + @TestMetadata("kt3450getAndInvoke.kt") + public void testKt3450getAndInvoke() throws Exception { + runTest("compiler/testData/codegen/box/functions/invoke/kt3450getAndInvoke.kt"); + } + + @TestMetadata("kt3631invokeOnString.kt") + public void testKt3631invokeOnString() throws Exception { + runTest("compiler/testData/codegen/box/functions/invoke/kt3631invokeOnString.kt"); + } + + @TestMetadata("kt3772.kt") + public void testKt3772() throws Exception { + runTest("compiler/testData/codegen/box/functions/invoke/kt3772.kt"); + } + + @TestMetadata("kt3821invokeOnThis.kt") + public void testKt3821invokeOnThis() throws Exception { + runTest("compiler/testData/codegen/box/functions/invoke/kt3821invokeOnThis.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/functions/localFunctions") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class LocalFunctions extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInLocalFunctions() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/functions/localFunctions"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("boundTypeParameterInSupertype.kt") + public void testBoundTypeParameterInSupertype() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/boundTypeParameterInSupertype.kt"); + } + + @TestMetadata("boundTypeParameterInVararg.kt") + public void testBoundTypeParameterInVararg() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/boundTypeParameterInVararg.kt"); + } + + @TestMetadata("callBetweenLocalFunctions.kt") + public void testCallBetweenLocalFunctions() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/callBetweenLocalFunctions.kt"); + } + + @TestMetadata("callInlineLocalInLambda.kt") + public void testCallInlineLocalInLambda() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/callInlineLocalInLambda.kt"); + } + + @TestMetadata("captureUpperBoundedTypeParameter.kt") + public void testCaptureUpperBoundedTypeParameter() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/captureUpperBoundedTypeParameter.kt"); + } + + @TestMetadata("definedWithinLambda.kt") + public void testDefinedWithinLambda() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/definedWithinLambda.kt"); + } + + @TestMetadata("definedWithinLambdaInnerUsage1.kt") + public void testDefinedWithinLambdaInnerUsage1() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/definedWithinLambdaInnerUsage1.kt"); + } + + @TestMetadata("definedWithinLambdaInnerUsage2.kt") + public void testDefinedWithinLambdaInnerUsage2() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/definedWithinLambdaInnerUsage2.kt"); + } + + @TestMetadata("kt2895.kt") + public void testKt2895() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/kt2895.kt"); + } + + @TestMetadata("kt3308.kt") + public void testKt3308() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/kt3308.kt"); + } + + @TestMetadata("kt3978.kt") + public void testKt3978() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/kt3978.kt"); + } + + @TestMetadata("kt3978_2.kt") + public void testKt3978_2() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/kt3978_2.kt"); + } + + @TestMetadata("kt4119.kt") + public void testKt4119() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/kt4119.kt"); + } + + @TestMetadata("kt4119_2.kt") + public void testKt4119_2() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/kt4119_2.kt"); + } + + @TestMetadata("kt4514.kt") + public void testKt4514() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/kt4514.kt"); + } + + @TestMetadata("kt4783.kt") + public void testKt4783() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/kt4783.kt"); + } + + @TestMetadata("kt4784.kt") + public void testKt4784() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/kt4784.kt"); + } + + @TestMetadata("kt4989.kt") + public void testKt4989() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/kt4989.kt"); + } + + @TestMetadata("localFunctionInConstructor.kt") + public void testLocalFunctionInConstructor() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/localFunctionInConstructor.kt"); + } + + @TestMetadata("localFunctionVsLocalVariable.kt") + public void testLocalFunctionVsLocalVariable() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/localFunctionVsLocalVariable.kt"); + } + + @TestMetadata("nameClash.kt") + public void testNameClash() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/nameClash.kt"); + } + + @TestMetadata("nameClashAcrossDifferentContainers.kt") + public void testNameClashAcrossDifferentContainers() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/nameClashAcrossDifferentContainers.kt"); + } + + @TestMetadata("overloadedLocalFunWithoutClosure.kt") + public void testOverloadedLocalFunWithoutClosure() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/overloadedLocalFunWithoutClosure.kt"); + } + + @TestMetadata("overloadedLocalFunction.kt") + public void testOverloadedLocalFunction() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/overloadedLocalFunction.kt"); + } + + @TestMetadata("overloadedLocalFunction1.kt") + public void testOverloadedLocalFunction1() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/overloadedLocalFunction1.kt"); + } + + @TestMetadata("overloadedLocalFunction2.kt") + public void testOverloadedLocalFunction2() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/overloadedLocalFunction2.kt"); + } + + @TestMetadata("overloadedLocalFunction3.kt") + public void testOverloadedLocalFunction3() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/overloadedLocalFunction3.kt"); + } + + @TestMetadata("parameterAsDefaultValue.kt") + public void testParameterAsDefaultValue() throws Exception { + runTest("compiler/testData/codegen/box/functions/localFunctions/parameterAsDefaultValue.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/hashPMap") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class HashPMap extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInHashPMap() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/hashPMap"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/ieee754") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Ieee754 extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInIeee754() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ieee754"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("anyToReal.kt") + public void testAnyToReal() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/anyToReal.kt"); + } + + @TestMetadata("asComparableToDouble.kt") + public void testAsComparableToDouble() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/asComparableToDouble.kt"); + } + + @TestMetadata("asComparableToDouble_properIeeeComparisons.kt") + public void testAsComparableToDouble_properIeeeComparisons() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/asComparableToDouble_properIeeeComparisons.kt"); + } + + @TestMetadata("comparableToTWithT_properIeeeComparisons.kt") + public void testComparableToTWithT_properIeeeComparisons() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/comparableToTWithT_properIeeeComparisons.kt"); + } + + @TestMetadata("comparableTypeCast.kt") + public void testComparableTypeCast() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/comparableTypeCast.kt"); + } + + @TestMetadata("dataClass.kt") + public void testDataClass() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/dataClass.kt"); + } + + @TestMetadata("differentTypesComparison.kt") + public void testDifferentTypesComparison() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/differentTypesComparison.kt"); + } + + @TestMetadata("equalsDouble_properIeeeComparisons.kt") + public void testEqualsDouble_properIeeeComparisons() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/equalsDouble_properIeeeComparisons.kt"); + } + + @TestMetadata("equalsFloat_properIeeeComparisons.kt") + public void testEqualsFloat_properIeeeComparisons() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/equalsFloat_properIeeeComparisons.kt"); + } + + @TestMetadata("equalsNullableDouble_properIeeeComparisons.kt") + public void testEqualsNullableDouble_properIeeeComparisons() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/equalsNullableDouble_properIeeeComparisons.kt"); + } + + @TestMetadata("equalsNullableFloat_properIeeeComparisons.kt") + public void testEqualsNullableFloat_properIeeeComparisons() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/equalsNullableFloat_properIeeeComparisons.kt"); + } + + @TestMetadata("explicitCompareCall.kt") + public void testExplicitCompareCall() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/explicitCompareCall.kt"); + } + + @TestMetadata("explicitEqualsCall.kt") + public void testExplicitEqualsCall() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/explicitEqualsCall.kt"); + } + + @TestMetadata("generic.kt") + public void testGeneric() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/generic.kt"); + } + + @TestMetadata("greaterDouble_properIeeeComparisons.kt") + public void testGreaterDouble_properIeeeComparisons() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/greaterDouble_properIeeeComparisons.kt"); + } + + @TestMetadata("greaterFloat_properIeeeComparisons.kt") + public void testGreaterFloat_properIeeeComparisons() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/greaterFloat_properIeeeComparisons.kt"); + } + + @TestMetadata("inline.kt") + public void testInline() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/inline.kt"); + } + + @TestMetadata("lessDouble_properIeeeAndNewInference.kt") + public void testLessDouble_properIeeeAndNewInference() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/lessDouble_properIeeeAndNewInference.kt"); + } + + @TestMetadata("lessDouble_properIeeeComparisons.kt") + public void testLessDouble_properIeeeComparisons() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/lessDouble_properIeeeComparisons.kt"); + } + + @TestMetadata("lessFloat_properIeeeComparisons.kt") + public void testLessFloat_properIeeeComparisons() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/lessFloat_properIeeeComparisons.kt"); + } + + @TestMetadata("nullableAnyToReal.kt") + public void testNullableAnyToReal() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/nullableAnyToReal.kt"); + } + + @TestMetadata("nullableDoubleEquals.kt") + public void testNullableDoubleEquals() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/nullableDoubleEquals.kt"); + } + + @TestMetadata("nullableDoubleEqualsLV13.kt") + public void testNullableDoubleEqualsLV13() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/nullableDoubleEqualsLV13.kt"); + } + + @TestMetadata("nullableDoubleNotEquals.kt") + public void testNullableDoubleNotEquals() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/nullableDoubleNotEquals.kt"); + } + + @TestMetadata("nullableFloatEquals.kt") + public void testNullableFloatEquals() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/nullableFloatEquals.kt"); + } + + @TestMetadata("nullableFloatNotEquals.kt") + public void testNullableFloatNotEquals() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/nullableFloatNotEquals.kt"); + } + + @TestMetadata("nullableIntEquals.kt") + public void testNullableIntEquals() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/nullableIntEquals.kt"); + } + + @TestMetadata("safeCall.kt") + public void testSafeCall() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/safeCall.kt"); + } + + @TestMetadata("smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt") + public void testSmartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/smartCastOnWhenSubjectAfterCheckInBranch_properIeeeComparisons.kt"); + } + + @TestMetadata("smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt") + public void testSmartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion_properIeeeComparisons.kt"); + } + + @TestMetadata("smartCastToDifferentTypes_properIeeeComparisons.kt") + public void testSmartCastToDifferentTypes_properIeeeComparisons() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/smartCastToDifferentTypes_properIeeeComparisons.kt"); + } + + @TestMetadata("smartCastToDoubleAndComparableToDouble.kt") + public void testSmartCastToDoubleAndComparableToDouble() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/smartCastToDoubleAndComparableToDouble.kt"); + } + + @TestMetadata("whenNoSubject_properIeeeComparisons.kt") + public void testWhenNoSubject_properIeeeComparisons() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/whenNoSubject_properIeeeComparisons.kt"); + } + + @TestMetadata("whenNullableSmartCast.kt") + public void testWhenNullableSmartCast() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/whenNullableSmartCast.kt"); + } + + @TestMetadata("when_properIeeeComparisons.kt") + public void testWhen_properIeeeComparisons() throws Exception { + runTest("compiler/testData/codegen/box/ieee754/when_properIeeeComparisons.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/increment") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Increment extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInIncrement() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/increment"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("argumentWithSideEffects.kt") + public void testArgumentWithSideEffects() throws Exception { + runTest("compiler/testData/codegen/box/increment/argumentWithSideEffects.kt"); + } + + @TestMetadata("arrayElement.kt") + public void testArrayElement() throws Exception { + runTest("compiler/testData/codegen/box/increment/arrayElement.kt"); + } + + @TestMetadata("assignPlusOnSmartCast.kt") + public void testAssignPlusOnSmartCast() throws Exception { + runTest("compiler/testData/codegen/box/increment/assignPlusOnSmartCast.kt"); + } + + @TestMetadata("augmentedAssignmentWithComplexRhs.kt") + public void testAugmentedAssignmentWithComplexRhs() throws Exception { + runTest("compiler/testData/codegen/box/increment/augmentedAssignmentWithComplexRhs.kt"); + } + + @TestMetadata("classNaryGetSet.kt") + public void testClassNaryGetSet() throws Exception { + runTest("compiler/testData/codegen/box/increment/classNaryGetSet.kt"); + } + + @TestMetadata("classVarargGetSet.kt") + public void testClassVarargGetSet() throws Exception { + runTest("compiler/testData/codegen/box/increment/classVarargGetSet.kt"); + } + + @TestMetadata("classVarargGetSetEvaluationOrder.kt") + public void testClassVarargGetSetEvaluationOrder() throws Exception { + runTest("compiler/testData/codegen/box/increment/classVarargGetSetEvaluationOrder.kt"); + } + + @TestMetadata("classWithGetSet.kt") + public void testClassWithGetSet() throws Exception { + runTest("compiler/testData/codegen/box/increment/classWithGetSet.kt"); + } + + @TestMetadata("extOnLong.kt") + public void testExtOnLong() throws Exception { + runTest("compiler/testData/codegen/box/increment/extOnLong.kt"); + } + + @TestMetadata("genericClassWithGetSet.kt") + public void testGenericClassWithGetSet() throws Exception { + runTest("compiler/testData/codegen/box/increment/genericClassWithGetSet.kt"); + } + + @TestMetadata("kt36956.kt") + public void testKt36956() throws Exception { + runTest("compiler/testData/codegen/box/increment/kt36956.kt"); + } + + @TestMetadata("memberExtOnLong.kt") + public void testMemberExtOnLong() throws Exception { + runTest("compiler/testData/codegen/box/increment/memberExtOnLong.kt"); + } + + @TestMetadata("nullable.kt") + public void testNullable() throws Exception { + runTest("compiler/testData/codegen/box/increment/nullable.kt"); + } + + @TestMetadata("postfixIncrementDoubleSmartCast.kt") + public void testPostfixIncrementDoubleSmartCast() throws Exception { + runTest("compiler/testData/codegen/box/increment/postfixIncrementDoubleSmartCast.kt"); + } + + @TestMetadata("postfixIncrementOnClass.kt") + public void testPostfixIncrementOnClass() throws Exception { + runTest("compiler/testData/codegen/box/increment/postfixIncrementOnClass.kt"); + } + + @TestMetadata("postfixIncrementOnClassSmartCast.kt") + public void testPostfixIncrementOnClassSmartCast() throws Exception { + runTest("compiler/testData/codegen/box/increment/postfixIncrementOnClassSmartCast.kt"); + } + + @TestMetadata("postfixIncrementOnShortSmartCast.kt") + public void testPostfixIncrementOnShortSmartCast() throws Exception { + runTest("compiler/testData/codegen/box/increment/postfixIncrementOnShortSmartCast.kt"); + } + + @TestMetadata("postfixIncrementOnSmartCast.kt") + public void testPostfixIncrementOnSmartCast() throws Exception { + runTest("compiler/testData/codegen/box/increment/postfixIncrementOnSmartCast.kt"); + } + + @TestMetadata("postfixNullableClassIncrement.kt") + public void testPostfixNullableClassIncrement() throws Exception { + runTest("compiler/testData/codegen/box/increment/postfixNullableClassIncrement.kt"); + } + + @TestMetadata("postfixNullableIncrement.kt") + public void testPostfixNullableIncrement() throws Exception { + runTest("compiler/testData/codegen/box/increment/postfixNullableIncrement.kt"); + } + + @TestMetadata("prefixIncrementOnClass.kt") + public void testPrefixIncrementOnClass() throws Exception { + runTest("compiler/testData/codegen/box/increment/prefixIncrementOnClass.kt"); + } + + @TestMetadata("prefixIncrementOnClassSmartCast.kt") + public void testPrefixIncrementOnClassSmartCast() throws Exception { + runTest("compiler/testData/codegen/box/increment/prefixIncrementOnClassSmartCast.kt"); + } + + @TestMetadata("prefixIncrementOnSmartCast.kt") + public void testPrefixIncrementOnSmartCast() throws Exception { + runTest("compiler/testData/codegen/box/increment/prefixIncrementOnSmartCast.kt"); + } + + @TestMetadata("prefixNullableClassIncrement.kt") + public void testPrefixNullableClassIncrement() throws Exception { + runTest("compiler/testData/codegen/box/increment/prefixNullableClassIncrement.kt"); + } + + @TestMetadata("prefixNullableIncrement.kt") + public void testPrefixNullableIncrement() throws Exception { + runTest("compiler/testData/codegen/box/increment/prefixNullableIncrement.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/inference") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Inference extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInInference() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inference"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("approximateNonTopLevelCapturedTypes.kt") + public void testApproximateNonTopLevelCapturedTypes() throws Exception { + runTest("compiler/testData/codegen/box/inference/approximateNonTopLevelCapturedTypes.kt"); + } + + @TestMetadata("capturedStarProjection.kt") + public void testCapturedStarProjection() throws Exception { + runTest("compiler/testData/codegen/box/inference/capturedStarProjection.kt"); + } + + @TestMetadata("earlyReturnInsideCrossinlineLambda.kt") + public void testEarlyReturnInsideCrossinlineLambda() throws Exception { + runTest("compiler/testData/codegen/box/inference/earlyReturnInsideCrossinlineLambda.kt"); + } + + @TestMetadata("inferenceWithTypeVariableInsideCapturedType.kt") + public void testInferenceWithTypeVariableInsideCapturedType() throws Exception { + runTest("compiler/testData/codegen/box/inference/inferenceWithTypeVariableInsideCapturedType.kt"); + } + + @TestMetadata("kt10822.kt") + public void testKt10822() throws Exception { + runTest("compiler/testData/codegen/box/inference/kt10822.kt"); + } + + @TestMetadata("kt38664.kt") + public void testKt38664() throws Exception { + runTest("compiler/testData/codegen/box/inference/kt38664.kt"); + } + + @TestMetadata("kt42130.kt") + public void testKt42130() throws Exception { + runTest("compiler/testData/codegen/box/inference/kt42130.kt"); + } + + @TestMetadata("lambdasWithExtensionFunctionType.kt") + public void testLambdasWithExtensionFunctionType() throws Exception { + runTest("compiler/testData/codegen/box/inference/lambdasWithExtensionFunctionType.kt"); + } + + @TestMetadata("lastExpressionOfLambdaWithNothingConstraint.kt") + public void testLastExpressionOfLambdaWithNothingConstraint() throws Exception { + runTest("compiler/testData/codegen/box/inference/lastExpressionOfLambdaWithNothingConstraint.kt"); + } + + @TestMetadata("mapCollectChainWithNullResult.kt") + public void testMapCollectChainWithNullResult() throws Exception { + runTest("compiler/testData/codegen/box/inference/mapCollectChainWithNullResult.kt"); + } + + @TestMetadata("noCoercionToUniForNullableLambdaReturnType.kt") + public void testNoCoercionToUniForNullableLambdaReturnType() throws Exception { + runTest("compiler/testData/codegen/box/inference/noCoercionToUniForNullableLambdaReturnType.kt"); + } + + @TestMetadata("recursiveConstraintInsideTypeArgumentWithStarProjection.kt") + public void testRecursiveConstraintInsideTypeArgumentWithStarProjection() throws Exception { + runTest("compiler/testData/codegen/box/inference/recursiveConstraintInsideTypeArgumentWithStarProjection.kt"); + } + + @TestMetadata("unsafeVarianceCodegen.kt") + public void testUnsafeVarianceCodegen() throws Exception { + runTest("compiler/testData/codegen/box/inference/unsafeVarianceCodegen.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/inlineClasses") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class InlineClasses extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInInlineClasses() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("annotatedMemberExtensionProperty.kt") + public void testAnnotatedMemberExtensionProperty() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/annotatedMemberExtensionProperty.kt"); + } + + @TestMetadata("anySuperCall.kt") + public void testAnySuperCall() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/anySuperCall.kt"); + } + + @TestMetadata("boundCallableReferencePassedToInlineFunction.kt") + public void testBoundCallableReferencePassedToInlineFunction() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boundCallableReferencePassedToInlineFunction.kt"); + } + + @TestMetadata("boxNullableValueOfInlineClassWithNonNullUnderlyingType.kt") + public void testBoxNullableValueOfInlineClassWithNonNullUnderlyingType() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxNullableValueOfInlineClassWithNonNullUnderlyingType.kt"); + } + + @TestMetadata("boxNullableValueOfInlineClassWithPrimitiveUnderlyingType.kt") + public void testBoxNullableValueOfInlineClassWithPrimitiveUnderlyingType() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxNullableValueOfInlineClassWithPrimitiveUnderlyingType.kt"); + } + + @TestMetadata("boxResultInlineClassOfConstructorCall.kt") + public void testBoxResultInlineClassOfConstructorCall() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxResultInlineClassOfConstructorCall.kt"); + } + + @TestMetadata("bridgeForFunctionReturningInlineClass.kt") + public void testBridgeForFunctionReturningInlineClass() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/bridgeForFunctionReturningInlineClass.kt"); + } + + @TestMetadata("bridgeGenerationWithInlineClassOverAny.kt") + public void testBridgeGenerationWithInlineClassOverAny() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/bridgeGenerationWithInlineClassOverAny.kt"); + } + + @TestMetadata("bridgesWhenInlineClassImplementsGenericInterface.kt") + public void testBridgesWhenInlineClassImplementsGenericInterface() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/bridgesWhenInlineClassImplementsGenericInterface.kt"); + } + + @TestMetadata("callComputablePropertyInsideInlineClass.kt") + public void testCallComputablePropertyInsideInlineClass() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/callComputablePropertyInsideInlineClass.kt"); + } + + @TestMetadata("castInsideWhenExpression.kt") + public void testCastInsideWhenExpression() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/castInsideWhenExpression.kt"); + } + + @TestMetadata("checkBoxUnboxOfArgumentsOnInlinedFunctions.kt") + public void testCheckBoxUnboxOfArgumentsOnInlinedFunctions() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/checkBoxUnboxOfArgumentsOnInlinedFunctions.kt"); + } + + @TestMetadata("checkBoxingAfterAssertionOperator.kt") + public void testCheckBoxingAfterAssertionOperator() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/checkBoxingAfterAssertionOperator.kt"); + } + + @TestMetadata("checkBoxingForNonLocalAndLabeledReturns.kt") + public void testCheckBoxingForNonLocalAndLabeledReturns() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/checkBoxingForNonLocalAndLabeledReturns.kt"); + } + + @TestMetadata("checkBoxingFromReturnTypeForInlineClasses.kt") + public void testCheckBoxingFromReturnTypeForInlineClasses() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/checkBoxingFromReturnTypeForInlineClasses.kt"); + } + + @TestMetadata("checkBoxingOnFunctionCalls.kt") + public void testCheckBoxingOnFunctionCalls() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/checkBoxingOnFunctionCalls.kt"); + } + + @TestMetadata("checkBoxingOnLocalVariableAssignments.kt") + public void testCheckBoxingOnLocalVariableAssignments() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/checkBoxingOnLocalVariableAssignments.kt"); + } + + @TestMetadata("checkBoxingUnboxingForInheritedTypeSpecializedFunctions.kt") + public void testCheckBoxingUnboxingForInheritedTypeSpecializedFunctions() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/checkBoxingUnboxingForInheritedTypeSpecializedFunctions.kt"); + } + + @TestMetadata("checkCallingMembersInsideInlineClass.kt") + public void testCheckCallingMembersInsideInlineClass() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/checkCallingMembersInsideInlineClass.kt"); + } + + @TestMetadata("checkCastToInlineClass.kt") + public void testCheckCastToInlineClass() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/checkCastToInlineClass.kt"); + } + + @TestMetadata("checkForInstanceOfInlineClass.kt") + public void testCheckForInstanceOfInlineClass() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/checkForInstanceOfInlineClass.kt"); + } + + @TestMetadata("checkLambdaWithInlineClassesInFunctionalType.kt") + public void testCheckLambdaWithInlineClassesInFunctionalType() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/checkLambdaWithInlineClassesInFunctionalType.kt"); + } + + @TestMetadata("checkUnboxingResultFromTypeVariable.kt") + public void testCheckUnboxingResultFromTypeVariable() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/checkUnboxingResultFromTypeVariable.kt"); + } + + @TestMetadata("computablePropertyInsideInlineClass.kt") + public void testComputablePropertyInsideInlineClass() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/computablePropertyInsideInlineClass.kt"); + } + + @TestMetadata("conformToComparableAndCallInterfaceMethod.kt") + public void testConformToComparableAndCallInterfaceMethod() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/conformToComparableAndCallInterfaceMethod.kt"); + } + + @TestMetadata("correctBoxingForBranchExpressions.kt") + public void testCorrectBoxingForBranchExpressions() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/correctBoxingForBranchExpressions.kt"); + } + + @TestMetadata("createInlineClassInArgumentPosition.kt") + public void testCreateInlineClassInArgumentPosition() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/createInlineClassInArgumentPosition.kt"); + } + + @TestMetadata("crossinlineWithInlineClassInParameter.kt") + public void testCrossinlineWithInlineClassInParameter() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/crossinlineWithInlineClassInParameter.kt"); + } + + @TestMetadata("defaultFunctionsFromAnyForInlineClass.kt") + public void testDefaultFunctionsFromAnyForInlineClass() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/defaultFunctionsFromAnyForInlineClass.kt"); + } + + @TestMetadata("defaultWithInlineClassArgument.kt") + public void testDefaultWithInlineClassArgument() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/defaultWithInlineClassArgument.kt"); + } + + @TestMetadata("elvisWithInlineClassAndNullConstant.kt") + public void testElvisWithInlineClassAndNullConstant() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/elvisWithInlineClassAndNullConstant.kt"); + } + + @TestMetadata("emptyConstructorForInlineClass.kt") + public void testEmptyConstructorForInlineClass() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/emptyConstructorForInlineClass.kt"); + } + + @TestMetadata("equalityChecksInlineClassNonNull.kt") + public void testEqualityChecksInlineClassNonNull() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/equalityChecksInlineClassNonNull.kt"); + } + + @TestMetadata("equalityChecksMixedNullability.kt") + public void testEqualityChecksMixedNullability() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/equalityChecksMixedNullability.kt"); + } + + @TestMetadata("equalityChecksNegatedInlineClassNonNull.kt") + public void testEqualityChecksNegatedInlineClassNonNull() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/equalityChecksNegatedInlineClassNonNull.kt"); + } + + @TestMetadata("equalityChecksNegatedNonNull.kt") + public void testEqualityChecksNegatedNonNull() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/equalityChecksNegatedNonNull.kt"); + } + + @TestMetadata("equalityChecksNegatedNullable.kt") + public void testEqualityChecksNegatedNullable() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/equalityChecksNegatedNullable.kt"); + } + + @TestMetadata("equalityChecksNegatedPrimitive.kt") + public void testEqualityChecksNegatedPrimitive() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/equalityChecksNegatedPrimitive.kt"); + } + + @TestMetadata("equalityChecksNonNull.kt") + public void testEqualityChecksNonNull() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/equalityChecksNonNull.kt"); + } + + @TestMetadata("equalityChecksNullable.kt") + public void testEqualityChecksNullable() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/equalityChecksNullable.kt"); + } + + @TestMetadata("equalityChecksPrimitive.kt") + public void testEqualityChecksPrimitive() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/equalityChecksPrimitive.kt"); + } + + @TestMetadata("equalsCallsLeftArgument.kt") + public void testEqualsCallsLeftArgument() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/equalsCallsLeftArgument.kt"); + } + + @TestMetadata("equalsOperatorWithGenericCall.kt") + public void testEqualsOperatorWithGenericCall() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/equalsOperatorWithGenericCall.kt"); + } + + @TestMetadata("extLambdaInInlineClassFun.kt") + public void testExtLambdaInInlineClassFun() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/extLambdaInInlineClassFun.kt"); + } + + @TestMetadata("extLambdaInInlineClassFun2.kt") + public void testExtLambdaInInlineClassFun2() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/extLambdaInInlineClassFun2.kt"); + } + + @TestMetadata("fieldNameClash.kt") + public void testFieldNameClash() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/fieldNameClash.kt"); + } + + @TestMetadata("genericInlineClassSynthMembers.kt") + public void testGenericInlineClassSynthMembers() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/genericInlineClassSynthMembers.kt"); + } + + @TestMetadata("inlineClassAsLastExpressionInInLambda.kt") + public void testInlineClassAsLastExpressionInInLambda() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/inlineClassAsLastExpressionInInLambda.kt"); + } + + @TestMetadata("inlineClassEqualityShouldUseTotalOrderForFloatingPointData.kt") + public void testInlineClassEqualityShouldUseTotalOrderForFloatingPointData() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/inlineClassEqualityShouldUseTotalOrderForFloatingPointData.kt"); + } + + @TestMetadata("inlineClassFunctionInvoke.kt") + public void testInlineClassFunctionInvoke() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/inlineClassFunctionInvoke.kt"); + } + + @TestMetadata("inlineClassInStringTemplate.kt") + public void testInlineClassInStringTemplate() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/inlineClassInStringTemplate.kt"); + } + + @TestMetadata("inlineClassValueCapturedInInlineLambda.kt") + public void testInlineClassValueCapturedInInlineLambda() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/inlineClassValueCapturedInInlineLambda.kt"); + } + + @TestMetadata("inlineClassValueCapturedInNonInlineLambda.kt") + public void testInlineClassValueCapturedInNonInlineLambda() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/inlineClassValueCapturedInNonInlineLambda.kt"); + } + + @TestMetadata("inlineClassValuesInsideStrings.kt") + public void testInlineClassValuesInsideStrings() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/inlineClassValuesInsideStrings.kt"); + } + + @TestMetadata("inlineClassWithCustomEquals.kt") + public void testInlineClassWithCustomEquals() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/inlineClassWithCustomEquals.kt"); + } + + @TestMetadata("inlineClassWithDefaultFunctionsFromAny.kt") + public void testInlineClassWithDefaultFunctionsFromAny() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/inlineClassWithDefaultFunctionsFromAny.kt"); + } + + @TestMetadata("inlineClassesAsInlineFunParameters.kt") + public void testInlineClassesAsInlineFunParameters() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/inlineClassesAsInlineFunParameters.kt"); + } + + @TestMetadata("inlineClassesCheckCast.kt") + public void testInlineClassesCheckCast() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/inlineClassesCheckCast.kt"); + } + + @TestMetadata("inlineClassesInInlineLambdaParameters.kt") + public void testInlineClassesInInlineLambdaParameters() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/inlineClassesInInlineLambdaParameters.kt"); + } + + @TestMetadata("inlineClassesRefTypesInInlineLambdaParameters.kt") + public void testInlineClassesRefTypesInInlineLambdaParameters() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/inlineClassesRefTypesInInlineLambdaParameters.kt"); + } + + @TestMetadata("inlineExtLambdaInInlineClassFun.kt") + public void testInlineExtLambdaInInlineClassFun() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/inlineExtLambdaInInlineClassFun.kt"); + } + + @TestMetadata("inlineExtLambdaInInlineClassFun2.kt") + public void testInlineExtLambdaInInlineClassFun2() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/inlineExtLambdaInInlineClassFun2.kt"); + } + + @TestMetadata("inlineFunctionInsideInlineClass.kt") + public void testInlineFunctionInsideInlineClass() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/inlineFunctionInsideInlineClass.kt"); + } + + @TestMetadata("iterateOverArrayOfInlineClassValues.kt") + public void testIterateOverArrayOfInlineClassValues() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/iterateOverArrayOfInlineClassValues.kt"); + } + + @TestMetadata("iterateOverListOfInlineClassValues.kt") + public void testIterateOverListOfInlineClassValues() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/iterateOverListOfInlineClassValues.kt"); + } + + @TestMetadata("kt25246.kt") + public void testKt25246() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt25246.kt"); + } + + @TestMetadata("kt26103.kt") + public void testKt26103() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt26103.kt"); + } + + @TestMetadata("kt26103_contravariantUnderlyingType.kt") + public void testKt26103_contravariantUnderlyingType() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt26103_contravariantUnderlyingType.kt"); + } + + @TestMetadata("kt26103_covariantUnderlyingType.kt") + public void testKt26103_covariantUnderlyingType() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt26103_covariantUnderlyingType.kt"); + } + + @TestMetadata("kt26103_original.kt") + public void testKt26103_original() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt26103_original.kt"); + } + + @TestMetadata("kt27096.kt") + public void testKt27096() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt27096.kt"); + } + + @TestMetadata("kt27096_enum.kt") + public void testKt27096_enum() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt27096_enum.kt"); + } + + @TestMetadata("kt27096_functional.kt") + public void testKt27096_functional() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt27096_functional.kt"); + } + + @TestMetadata("kt27096_innerClass.kt") + public void testKt27096_innerClass() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt27096_innerClass.kt"); + } + + @TestMetadata("kt27096_nullablePrimitive.kt") + public void testKt27096_nullablePrimitive() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt27096_nullablePrimitive.kt"); + } + + @TestMetadata("kt27096_nullableReference.kt") + public void testKt27096_nullableReference() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt27096_nullableReference.kt"); + } + + @TestMetadata("kt27096_primitive.kt") + public void testKt27096_primitive() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt27096_primitive.kt"); + } + + @TestMetadata("kt27096_reference.kt") + public void testKt27096_reference() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt27096_reference.kt"); + } + + @TestMetadata("kt27113a.kt") + public void testKt27113a() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt27113a.kt"); + } + + @TestMetadata("kt27132.kt") + public void testKt27132() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt27132.kt"); + } + + @TestMetadata("kt27140.kt") + public void testKt27140() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt27140.kt"); + } + + @TestMetadata("kt27705.kt") + public void testKt27705() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt27705.kt"); + } + + @TestMetadata("kt27706.kt") + public void testKt27706() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt27706.kt"); + } + + @TestMetadata("kt33119.kt") + public void testKt33119() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt33119.kt"); + } + + @TestMetadata("kt34268.kt") + public void testKt34268() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt34268.kt"); + } + + @TestMetadata("kt34902.kt") + public void testKt34902() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt34902.kt"); + } + + @TestMetadata("kt37998.kt") + public void testKt37998() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt37998.kt"); + } + + @TestMetadata("kt38680.kt") + public void testKt38680() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt38680.kt"); + } + + @TestMetadata("kt38680a.kt") + public void testKt38680a() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt38680a.kt"); + } + + @TestMetadata("kt38680b.kt") + public void testKt38680b() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt38680b.kt"); + } + + @TestMetadata("mangledDefaultParameterFunction.kt") + public void testMangledDefaultParameterFunction() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/mangledDefaultParameterFunction.kt"); + } + + @TestMetadata("mangledSuperCalls.kt") + public void testMangledSuperCalls() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/mangledSuperCalls.kt"); + } + + @TestMetadata("noAssertionsOnInlineClassBasedOnNullableType.kt") + public void testNoAssertionsOnInlineClassBasedOnNullableType() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/noAssertionsOnInlineClassBasedOnNullableType.kt"); + } + + @TestMetadata("noReturnTypeMangling.kt") + public void testNoReturnTypeMangling() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/noReturnTypeMangling.kt"); + } + + @TestMetadata("nullableEqeqNonNull.kt") + public void testNullableEqeqNonNull() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/nullableEqeqNonNull.kt"); + } + + @TestMetadata("nullableWrapperEquality.kt") + public void testNullableWrapperEquality() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/nullableWrapperEquality.kt"); + } + + @TestMetadata("overridingFunCallingPrivateFun.kt") + public void testOverridingFunCallingPrivateFun() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/overridingFunCallingPrivateFun.kt"); + } + + @TestMetadata("passInlineClassAsVararg.kt") + public void testPassInlineClassAsVararg() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/passInlineClassAsVararg.kt"); + } + + @TestMetadata("propertyLoweringOrder.kt") + public void testPropertyLoweringOrder() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/propertyLoweringOrder.kt"); + } + + @TestMetadata("referToPropertyInCompanionObjectOfInlineClass.kt") + public void testReferToPropertyInCompanionObjectOfInlineClass() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/referToPropertyInCompanionObjectOfInlineClass.kt"); + } + + @TestMetadata("referToUnderlyingPropertyInsideInlineClass.kt") + public void testReferToUnderlyingPropertyInsideInlineClass() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/referToUnderlyingPropertyInsideInlineClass.kt"); + } + + @TestMetadata("referToUnderlyingPropertyOfInlineClass.kt") + public void testReferToUnderlyingPropertyOfInlineClass() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/referToUnderlyingPropertyOfInlineClass.kt"); + } + + @TestMetadata("resultInlining.kt") + public void testResultInlining() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/resultInlining.kt"); + } + + @TestMetadata("secondaryConstructorWithVararg.kt") + public void testSecondaryConstructorWithVararg() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/secondaryConstructorWithVararg.kt"); + } + + @TestMetadata("secondaryConstructorsInsideInlineClass.kt") + public void testSecondaryConstructorsInsideInlineClass() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/secondaryConstructorsInsideInlineClass.kt"); + } + + @TestMetadata("secondaryConstructorsInsideInlineClassWithPrimitiveCarrierType.kt") + public void testSecondaryConstructorsInsideInlineClassWithPrimitiveCarrierType() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/secondaryConstructorsInsideInlineClassWithPrimitiveCarrierType.kt"); + } + + @TestMetadata("smartCastOnThisOfInlineClassType.kt") + public void testSmartCastOnThisOfInlineClassType() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/smartCastOnThisOfInlineClassType.kt"); + } + + @TestMetadata("stringPlus.kt") + public void testStringPlus() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/stringPlus.kt"); + } + + @TestMetadata("toStringCallingPrivateFun.kt") + public void testToStringCallingPrivateFun() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/toStringCallingPrivateFun.kt"); + } + + @TestMetadata("toStringOfUnboxedNullable.kt") + public void testToStringOfUnboxedNullable() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/toStringOfUnboxedNullable.kt"); + } + + @TestMetadata("typeChecksForInlineClasses.kt") + public void testTypeChecksForInlineClasses() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/typeChecksForInlineClasses.kt"); + } + + @TestMetadata("unboxNullableValueOfInlineClassWithNonNullUnderlyingType.kt") + public void testUnboxNullableValueOfInlineClassWithNonNullUnderlyingType() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/unboxNullableValueOfInlineClassWithNonNullUnderlyingType.kt"); + } + + @TestMetadata("unboxNullableValueOfInlineClassWithPrimitiveUnderlyingType.kt") + public void testUnboxNullableValueOfInlineClassWithPrimitiveUnderlyingType() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/unboxNullableValueOfInlineClassWithPrimitiveUnderlyingType.kt"); + } + + @TestMetadata("unboxReceiverOnCallingMethodFromInlineClass.kt") + public void testUnboxReceiverOnCallingMethodFromInlineClass() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/unboxReceiverOnCallingMethodFromInlineClass.kt"); + } + + @TestMetadata("useInlineClassesInsideElvisOperator.kt") + public void testUseInlineClassesInsideElvisOperator() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/useInlineClassesInsideElvisOperator.kt"); + } + + @TestMetadata("useInlineFunctionInsideInlineClass.kt") + public void testUseInlineFunctionInsideInlineClass() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/useInlineFunctionInsideInlineClass.kt"); + } + + @TestMetadata("useThisInsideInlineClass.kt") + public void testUseThisInsideInlineClass() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/useThisInsideInlineClass.kt"); + } + + @TestMetadata("whenWithSubject.kt") + public void testWhenWithSubject() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/whenWithSubject.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/inlineClasses/boxReturnValueInLambda") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class BoxReturnValueInLambda extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInBoxReturnValueInLambda() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/boxReturnValueInLambda"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("boxAny.kt") + public void testBoxAny() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueInLambda/boxAny.kt"); + } + + @TestMetadata("boxFunLiteralAny.kt") + public void testBoxFunLiteralAny() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueInLambda/boxFunLiteralAny.kt"); + } + + @TestMetadata("boxInt.kt") + public void testBoxInt() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueInLambda/boxInt.kt"); + } + + @TestMetadata("boxNullableAny.kt") + public void testBoxNullableAny() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueInLambda/boxNullableAny.kt"); + } + + @TestMetadata("boxNullableAnyNull.kt") + public void testBoxNullableAnyNull() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueInLambda/boxNullableAnyNull.kt"); + } + + @TestMetadata("boxNullableInt.kt") + public void testBoxNullableInt() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueInLambda/boxNullableInt.kt"); + } + + @TestMetadata("boxNullableIntNull.kt") + public void testBoxNullableIntNull() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueInLambda/boxNullableIntNull.kt"); + } + + @TestMetadata("boxNullableString.kt") + public void testBoxNullableString() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueInLambda/boxNullableString.kt"); + } + + @TestMetadata("boxNullableStringNull.kt") + public void testBoxNullableStringNull() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueInLambda/boxNullableStringNull.kt"); + } + + @TestMetadata("boxString.kt") + public void testBoxString() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueInLambda/boxString.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class BoxReturnValueOnOverride extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInBoxReturnValueOnOverride() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("covariantOverrideChainErasedToAny.kt") + public void testCovariantOverrideChainErasedToAny() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/covariantOverrideChainErasedToAny.kt"); + } + + @TestMetadata("covariantOverrideChainErasedToNullableAny.kt") + public void testCovariantOverrideChainErasedToNullableAny() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/covariantOverrideChainErasedToNullableAny.kt"); + } + + @TestMetadata("covariantOverrideErasedToAny.kt") + public void testCovariantOverrideErasedToAny() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/covariantOverrideErasedToAny.kt"); + } + + @TestMetadata("covariantOverrideErasedToInterface.kt") + public void testCovariantOverrideErasedToInterface() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/covariantOverrideErasedToInterface.kt"); + } + + @TestMetadata("covariantOverrideErasedToPrimitive.kt") + public void testCovariantOverrideErasedToPrimitive() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/covariantOverrideErasedToPrimitive.kt"); + } + + @TestMetadata("covariantOverrideUnrelatedInterfaces.kt") + public void testCovariantOverrideUnrelatedInterfaces() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/covariantOverrideUnrelatedInterfaces.kt"); + } + + @TestMetadata("genericOverride.kt") + public void testGenericOverride() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/genericOverride.kt"); + } + + @TestMetadata("genericOverrideSpecialized.kt") + public void testGenericOverrideSpecialized() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/genericOverrideSpecialized.kt"); + } + + @TestMetadata("inlineClassInOverriddenReturnTypes.kt") + public void testInlineClassInOverriddenReturnTypes() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/inlineClassInOverriddenReturnTypes.kt"); + } + + @TestMetadata("kt28483.kt") + public void testKt28483() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/kt28483.kt"); + } + + @TestMetadata("overrideGenericWithNullableInlineClassUpperBoundWithNonNullAny.kt") + public void testOverrideGenericWithNullableInlineClassUpperBoundWithNonNullAny() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/overrideGenericWithNullableInlineClassUpperBoundWithNonNullAny.kt"); + } + + @TestMetadata("overrideGenericWithNullableInlineClassUpperBoundWithNonNullNullableAny.kt") + public void testOverrideGenericWithNullableInlineClassUpperBoundWithNonNullNullableAny() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/overrideGenericWithNullableInlineClassUpperBoundWithNonNullNullableAny.kt"); + } + + @TestMetadata("overrideGenericWithNullableInlineClassUpperBoundWithNonNullNullableAnyNull.kt") + public void testOverrideGenericWithNullableInlineClassUpperBoundWithNonNullNullableAnyNull() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/overrideGenericWithNullableInlineClassUpperBoundWithNonNullNullableAnyNull.kt"); + } + + @TestMetadata("overrideNullableInlineClassWithNonNullAny.kt") + public void testOverrideNullableInlineClassWithNonNullAny() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/overrideNullableInlineClassWithNonNullAny.kt"); + } + + @TestMetadata("overrideNullableInlineClassWithNonNullNullableAny.kt") + public void testOverrideNullableInlineClassWithNonNullNullableAny() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/overrideNullableInlineClassWithNonNullNullableAny.kt"); + } + + @TestMetadata("overrideNullableInlineClassWithNonNullNullableAnyNull.kt") + public void testOverrideNullableInlineClassWithNonNullNullableAnyNull() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/overrideNullableInlineClassWithNonNullNullableAnyNull.kt"); + } + + @TestMetadata("relatedReturnTypes1a.kt") + public void testRelatedReturnTypes1a() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/relatedReturnTypes1a.kt"); + } + + @TestMetadata("relatedReturnTypes1b.kt") + public void testRelatedReturnTypes1b() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/relatedReturnTypes1b.kt"); + } + + @TestMetadata("relatedReturnTypes2a.kt") + public void testRelatedReturnTypes2a() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/relatedReturnTypes2a.kt"); + } + + @TestMetadata("relatedReturnTypes2b.kt") + public void testRelatedReturnTypes2b() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/relatedReturnTypes2b.kt"); + } + + @TestMetadata("unrelatedGenerics.kt") + public void testUnrelatedGenerics() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/boxReturnValueOnOverride/unrelatedGenerics.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/inlineClasses/callableReferences") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class CallableReferences extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInCallableReferences() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/callableReferences"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("constructorWithInlineClassParameters.kt") + public void testConstructorWithInlineClassParameters() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/callableReferences/constructorWithInlineClassParameters.kt"); + } + + @TestMetadata("funWithInlineClassParameters.kt") + public void testFunWithInlineClassParameters() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/callableReferences/funWithInlineClassParameters.kt"); + } + + @TestMetadata("inlineClassExtensionFun.kt") + public void testInlineClassExtensionFun() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassExtensionFun.kt"); + } + + @TestMetadata("inlineClassMemberFun.kt") + public void testInlineClassMemberFun() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassMemberFun.kt"); + } + + @TestMetadata("inlineClassPrimaryConstructor.kt") + public void testInlineClassPrimaryConstructor() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassPrimaryConstructor.kt"); + } + + @TestMetadata("kt37986.kt") + public void testKt37986() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/callableReferences/kt37986.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ContextsAndAccessors extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + @TestMetadata("accessPrivateInlineClassCompanionMethod.kt") + public void testAccessPrivateInlineClassCompanionMethod() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassCompanionMethod.kt"); + } + + @TestMetadata("accessPrivateInlineClassCompanionMethod2.kt") + public void testAccessPrivateInlineClassCompanionMethod2() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassCompanionMethod2.kt"); + } + + @TestMetadata("accessPrivateInlineClassConstructorFromCompanion.kt") + public void testAccessPrivateInlineClassConstructorFromCompanion() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassConstructorFromCompanion.kt"); + } + + @TestMetadata("accessPrivateInlineClassConstructorFromLambda.kt") + public void testAccessPrivateInlineClassConstructorFromLambda() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassConstructorFromLambda.kt"); + } + + @TestMetadata("accessPrivateInlineClassMethodFromCompanion.kt") + public void testAccessPrivateInlineClassMethodFromCompanion() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromCompanion.kt"); + } + + @TestMetadata("accessPrivateInlineClassMethodFromCompanion2.kt") + public void testAccessPrivateInlineClassMethodFromCompanion2() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromCompanion2.kt"); + } + + @TestMetadata("accessPrivateInlineClassMethodFromInlineLambda.kt") + public void testAccessPrivateInlineClassMethodFromInlineLambda() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromInlineLambda.kt"); + } + + @TestMetadata("accessPrivateInlineClassMethodFromInlineLambda2.kt") + public void testAccessPrivateInlineClassMethodFromInlineLambda2() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromInlineLambda2.kt"); + } + + @TestMetadata("accessPrivateInlineClassMethodFromLambda.kt") + public void testAccessPrivateInlineClassMethodFromLambda() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromLambda.kt"); + } + + @TestMetadata("accessPrivateInlineClassMethodFromLambda2.kt") + public void testAccessPrivateInlineClassMethodFromLambda2() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateInlineClassMethodFromLambda2.kt"); + } + + public void testAllFilesPresentInContextsAndAccessors() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("captureInlineClassInstanceInLambda.kt") + public void testCaptureInlineClassInstanceInLambda() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/captureInlineClassInstanceInLambda.kt"); + } + + @TestMetadata("captureInlineClassInstanceInLambda2.kt") + public void testCaptureInlineClassInstanceInLambda2() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/captureInlineClassInstanceInLambda2.kt"); + } + + @TestMetadata("captureInlineClassInstanceInObject.kt") + public void testCaptureInlineClassInstanceInObject() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/captureInlineClassInstanceInObject.kt"); + } + + @TestMetadata("inlineLambdaInInlineClassFun.kt") + public void testInlineLambdaInInlineClassFun() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/inlineLambdaInInlineClassFun.kt"); + } + + @TestMetadata("kt26858.kt") + public void testKt26858() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/kt26858.kt"); + } + + @TestMetadata("kt30780.kt") + public void testKt30780() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/kt30780.kt"); + } + + @TestMetadata("lambdaInInlineClassFun.kt") + public void testLambdaInInlineClassFun() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/lambdaInInlineClassFun.kt"); + } + + @TestMetadata("objectInInlineClassFun.kt") + public void testObjectInInlineClassFun() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/objectInInlineClassFun.kt"); + } + + @TestMetadata("toPrivateCompanionFun.kt") + public void testToPrivateCompanionFun() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/toPrivateCompanionFun.kt"); + } + + @TestMetadata("toPrivateCompanionVal.kt") + public void testToPrivateCompanionVal() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/toPrivateCompanionVal.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/inlineClasses/defaultParameterValues") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class DefaultParameterValues extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInDefaultParameterValues() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/defaultParameterValues"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("defaultConstructorParameterValuesOfInlineClassType.kt") + public void testDefaultConstructorParameterValuesOfInlineClassType() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultConstructorParameterValuesOfInlineClassType.kt"); + } + + @TestMetadata("defaultInterfaceFunParameterValuesOfInlineClassType.kt") + public void testDefaultInterfaceFunParameterValuesOfInlineClassType() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultInterfaceFunParameterValuesOfInlineClassType.kt"); + } + + @TestMetadata("defaultParameterValuesOfInlineClassType.kt") + public void testDefaultParameterValuesOfInlineClassType() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultParameterValuesOfInlineClassType.kt"); + } + + @TestMetadata("defaultParameterValuesOfInlineClassTypeBoxing.kt") + public void testDefaultParameterValuesOfInlineClassTypeBoxing() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultParameterValuesOfInlineClassTypeBoxing.kt"); + } + + @TestMetadata("defaultValueOfInlineClassTypeInInlineFun.kt") + public void testDefaultValueOfInlineClassTypeInInlineFun() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultValueOfInlineClassTypeInInlineFun.kt"); + } + + @TestMetadata("defaultValueOfInlineClassTypeInInlineFunInInlineClass.kt") + public void testDefaultValueOfInlineClassTypeInInlineFunInInlineClass() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/defaultParameterValues/defaultValueOfInlineClassTypeInInlineFunInInlineClass.kt"); + } + + @TestMetadata("inlineClassFun.kt") + public void testInlineClassFun() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/defaultParameterValues/inlineClassFun.kt"); + } + + @TestMetadata("inlineClassPrimaryConstructor.kt") + public void testInlineClassPrimaryConstructor() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/defaultParameterValues/inlineClassPrimaryConstructor.kt"); + } + + @TestMetadata("inlineClassPrimaryConstructorWithInlineClassValue.kt") + public void testInlineClassPrimaryConstructorWithInlineClassValue() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/defaultParameterValues/inlineClassPrimaryConstructorWithInlineClassValue.kt"); + } + + @TestMetadata("inlineClassSecondaryConstructor.kt") + public void testInlineClassSecondaryConstructor() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/defaultParameterValues/inlineClassSecondaryConstructor.kt"); + } + + @TestMetadata("kt27416.kt") + public void testKt27416() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/defaultParameterValues/kt27416.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/inlineClasses/functionNameMangling") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class FunctionNameMangling extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInFunctionNameMangling() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/functionNameMangling"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("anonymousObjectInFunctionWithMangledName.kt") + public void testAnonymousObjectInFunctionWithMangledName() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/functionNameMangling/anonymousObjectInFunctionWithMangledName.kt"); + } + + @TestMetadata("extensionFunctionsDoNotClash.kt") + public void testExtensionFunctionsDoNotClash() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/functionNameMangling/extensionFunctionsDoNotClash.kt"); + } + + @TestMetadata("functionsWithDifferentNullabilityDoNotClash.kt") + public void testFunctionsWithDifferentNullabilityDoNotClash() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/functionNameMangling/functionsWithDifferentNullabilityDoNotClash.kt"); + } + + @TestMetadata("genericFunctionsDoNotClash.kt") + public void testGenericFunctionsDoNotClash() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/functionNameMangling/genericFunctionsDoNotClash.kt"); + } + + @TestMetadata("localClassInFunctionWithMangledName.kt") + public void testLocalClassInFunctionWithMangledName() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/functionNameMangling/localClassInFunctionWithMangledName.kt"); + } + + @TestMetadata("mangledFunctionsCanBeOverridden.kt") + public void testMangledFunctionsCanBeOverridden() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/functionNameMangling/mangledFunctionsCanBeOverridden.kt"); + } + + @TestMetadata("mangledFunctionsDoNotClash.kt") + public void testMangledFunctionsDoNotClash() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/functionNameMangling/mangledFunctionsDoNotClash.kt"); + } + + @TestMetadata("mixedSignatureFunctionsDoNotClash.kt") + public void testMixedSignatureFunctionsDoNotClash() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/functionNameMangling/mixedSignatureFunctionsDoNotClash.kt"); + } + + @TestMetadata("overridingMethodInGenericClass.kt") + public void testOverridingMethodInGenericClass() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/functionNameMangling/overridingMethodInGenericClass.kt"); + } + + @TestMetadata("overridingMethodInGenericClass2.kt") + public void testOverridingMethodInGenericClass2() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/functionNameMangling/overridingMethodInGenericClass2.kt"); + } + + @TestMetadata("propertySetterWithInlineClassTypeArgument.kt") + public void testPropertySetterWithInlineClassTypeArgument() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/functionNameMangling/propertySetterWithInlineClassTypeArgument.kt"); + } + + @TestMetadata("syntheticAccessorForFunctionWithMangledName.kt") + public void testSyntheticAccessorForFunctionWithMangledName() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/functionNameMangling/syntheticAccessorForFunctionWithMangledName.kt"); + } + + @TestMetadata("syntheticAccessorsForPropertyOfInlineClassType.kt") + public void testSyntheticAccessorsForPropertyOfInlineClassType() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/functionNameMangling/syntheticAccessorsForPropertyOfInlineClassType.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/inlineClasses/hiddenConstructor") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class HiddenConstructor extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInHiddenConstructor() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/hiddenConstructor"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("constructorReferencedFromOtherFile1.kt") + public void testConstructorReferencedFromOtherFile1() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/hiddenConstructor/constructorReferencedFromOtherFile1.kt"); + } + + @TestMetadata("constructorReferencedFromOtherFile2.kt") + public void testConstructorReferencedFromOtherFile2() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/hiddenConstructor/constructorReferencedFromOtherFile2.kt"); + } + + @TestMetadata("constructorWithDefaultParameters.kt") + public void testConstructorWithDefaultParameters() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/hiddenConstructor/constructorWithDefaultParameters.kt"); + } + + @TestMetadata("delegatingSuperConstructorCall.kt") + public void testDelegatingSuperConstructorCall() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/hiddenConstructor/delegatingSuperConstructorCall.kt"); + } + + @TestMetadata("delegatingSuperConstructorCallInSecondaryConstructor.kt") + public void testDelegatingSuperConstructorCallInSecondaryConstructor() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/hiddenConstructor/delegatingSuperConstructorCallInSecondaryConstructor.kt"); + } + + @TestMetadata("delegatingThisConstructorCall.kt") + public void testDelegatingThisConstructorCall() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/hiddenConstructor/delegatingThisConstructorCall.kt"); + } + + @TestMetadata("enumClassConstructor.kt") + public void testEnumClassConstructor() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/hiddenConstructor/enumClassConstructor.kt"); + } + + @TestMetadata("innerClassConstructor.kt") + public void testInnerClassConstructor() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/hiddenConstructor/innerClassConstructor.kt"); + } + + @TestMetadata("primaryConstructor.kt") + public void testPrimaryConstructor() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/hiddenConstructor/primaryConstructor.kt"); + } + + @TestMetadata("privateConstructor.kt") + public void testPrivateConstructor() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/hiddenConstructor/privateConstructor.kt"); + } + + @TestMetadata("sealedClassConstructor.kt") + public void testSealedClassConstructor() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/hiddenConstructor/sealedClassConstructor.kt"); + } + + @TestMetadata("secondaryConstructor.kt") + public void testSecondaryConstructor() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/hiddenConstructor/secondaryConstructor.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/inlineClasses/interfaceDelegation") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class InterfaceDelegation extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInInterfaceDelegation() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/interfaceDelegation"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("interfaceImplementationByDelegation.kt") + public void testInterfaceImplementationByDelegation() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/interfaceDelegation/interfaceImplementationByDelegation.kt"); + } + + @TestMetadata("memberExtValDelegationWithInlineClassParameterTypes.kt") + public void testMemberExtValDelegationWithInlineClassParameterTypes() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/interfaceDelegation/memberExtValDelegationWithInlineClassParameterTypes.kt"); + } + + @TestMetadata("memberExtVarDelegationWithInlineClassParameterTypes.kt") + public void testMemberExtVarDelegationWithInlineClassParameterTypes() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/interfaceDelegation/memberExtVarDelegationWithInlineClassParameterTypes.kt"); + } + + @TestMetadata("memberFunDelegatedToInlineClassInt.kt") + public void testMemberFunDelegatedToInlineClassInt() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/interfaceDelegation/memberFunDelegatedToInlineClassInt.kt"); + } + + @TestMetadata("memberFunDelegatedToInlineClassLong.kt") + public void testMemberFunDelegatedToInlineClassLong() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/interfaceDelegation/memberFunDelegatedToInlineClassLong.kt"); + } + + @TestMetadata("memberFunDelegationToInlineClassWithInlineClassParameterTypes.kt") + public void testMemberFunDelegationToInlineClassWithInlineClassParameterTypes() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/interfaceDelegation/memberFunDelegationToInlineClassWithInlineClassParameterTypes.kt"); + } + + @TestMetadata("memberFunDelegationWithInlineClassParameterTypes.kt") + public void testMemberFunDelegationWithInlineClassParameterTypes() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/interfaceDelegation/memberFunDelegationWithInlineClassParameterTypes.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class InterfaceMethodCalls extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInInterfaceMethodCalls() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("complexGenericMethodWithInlineClassOverride.kt") + public void testComplexGenericMethodWithInlineClassOverride() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride.kt"); + } + + @TestMetadata("complexGenericMethodWithInlineClassOverride2.kt") + public void testComplexGenericMethodWithInlineClassOverride2() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride2.kt"); + } + + @TestMetadata("complexGenericMethodWithInlineClassOverride3.kt") + public void testComplexGenericMethodWithInlineClassOverride3() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride3.kt"); + } + + @TestMetadata("defaultInterfaceExtensionFunCall.kt") + public void testDefaultInterfaceExtensionFunCall() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/defaultInterfaceExtensionFunCall.kt"); + } + + @TestMetadata("defaultInterfaceMethodCall.kt") + public void testDefaultInterfaceMethodCall() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/defaultInterfaceMethodCall.kt"); + } + + @TestMetadata("genericDefaultInterfaceExtensionFunCall.kt") + public void testGenericDefaultInterfaceExtensionFunCall() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericDefaultInterfaceExtensionFunCall.kt"); + } + + @TestMetadata("genericDefaultInterfaceMethodCall.kt") + public void testGenericDefaultInterfaceMethodCall() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericDefaultInterfaceMethodCall.kt"); + } + + @TestMetadata("genericInterfaceMethodCall.kt") + public void testGenericInterfaceMethodCall() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericInterfaceMethodCall.kt"); + } + + @TestMetadata("genericMethodWithInlineClassOverride.kt") + public void testGenericMethodWithInlineClassOverride() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericMethodWithInlineClassOverride.kt"); + } + + @TestMetadata("interfaceSuperCall.kt") + public void testInterfaceSuperCall() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/interfaceSuperCall.kt"); + } + + @TestMetadata("overriddenDefaultInterfaceMethodCall.kt") + public void testOverriddenDefaultInterfaceMethodCall() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/overriddenDefaultInterfaceMethodCall.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/inlineClasses/propertyDelegation") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class PropertyDelegation extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInPropertyDelegation() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/propertyDelegation"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class UnboxGenericParameter extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInUnboxGenericParameter() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/funInterface") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class FunInterface extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInFunInterface() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/funInterface"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("any.kt") + public void testAny() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/funInterface/any.kt"); + } + + @TestMetadata("anyN.kt") + public void testAnyN() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/funInterface/anyN.kt"); + } + + @TestMetadata("iface.kt") + public void testIface() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/funInterface/iface.kt"); + } + + @TestMetadata("ifaceChild.kt") + public void testIfaceChild() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/funInterface/ifaceChild.kt"); + } + + @TestMetadata("primitive.kt") + public void testPrimitive() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/funInterface/primitive.kt"); + } + + @TestMetadata("result.kt") + public void testResult() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/funInterface/result.kt"); + } + + @TestMetadata("string.kt") + public void testString() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/funInterface/string.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/lambda") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Lambda extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInLambda() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/lambda"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("any.kt") + public void testAny() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/lambda/any.kt"); + } + + @TestMetadata("anyN.kt") + public void testAnyN() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/lambda/anyN.kt"); + } + + @TestMetadata("iface.kt") + public void testIface() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/lambda/iface.kt"); + } + + @TestMetadata("ifaceChild.kt") + public void testIfaceChild() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/lambda/ifaceChild.kt"); + } + + @TestMetadata("primitive.kt") + public void testPrimitive() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/lambda/primitive.kt"); + } + + @TestMetadata("result.kt") + public void testResult() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/lambda/result.kt"); + } + + @TestMetadata("string.kt") + public void testString() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/lambda/string.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/objectLiteral") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ObjectLiteral extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInObjectLiteral() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/objectLiteral"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("any.kt") + public void testAny() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/objectLiteral/any.kt"); + } + + @TestMetadata("anyN.kt") + public void testAnyN() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/objectLiteral/anyN.kt"); + } + + @TestMetadata("iface.kt") + public void testIface() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/objectLiteral/iface.kt"); + } + + @TestMetadata("ifaceChild.kt") + public void testIfaceChild() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/objectLiteral/ifaceChild.kt"); + } + + @TestMetadata("primitive.kt") + public void testPrimitive() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/objectLiteral/primitive.kt"); + } + + @TestMetadata("result.kt") + public void testResult() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/objectLiteral/result.kt"); + } + + @TestMetadata("string.kt") + public void testString() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/objectLiteral/string.kt"); + } + } + } + } + + @TestMetadata("compiler/testData/codegen/box/innerNested") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class InnerNested extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInInnerNested() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/innerNested"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("createNestedClass.kt") + public void testCreateNestedClass() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/createNestedClass.kt"); + } + + @TestMetadata("createdNestedInOuterMember.kt") + public void testCreatedNestedInOuterMember() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/createdNestedInOuterMember.kt"); + } + + @TestMetadata("extensionFun.kt") + public void testExtensionFun() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/extensionFun.kt"); + } + + @TestMetadata("extensionToNested.kt") + public void testExtensionToNested() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/extensionToNested.kt"); + } + + @TestMetadata("importNestedClass.kt") + public void testImportNestedClass() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/importNestedClass.kt"); + } + + @TestMetadata("innerGeneric.kt") + public void testInnerGeneric() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/innerGeneric.kt"); + } + + @TestMetadata("innerImplicitParameter.kt") + public void testInnerImplicitParameter() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/innerImplicitParameter.kt"); + } + + @TestMetadata("innerLabeledThis.kt") + public void testInnerLabeledThis() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/innerLabeledThis.kt"); + } + + @TestMetadata("innerSimple.kt") + public void testInnerSimple() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/innerSimple.kt"); + } + + @TestMetadata("innerWithDefaultArgument.kt") + public void testInnerWithDefaultArgument() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/innerWithDefaultArgument.kt"); + } + + @TestMetadata("kt3132.kt") + public void testKt3132() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/kt3132.kt"); + } + + @TestMetadata("kt3927.kt") + public void testKt3927() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/kt3927.kt"); + } + + @TestMetadata("kt5363.kt") + public void testKt5363() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/kt5363.kt"); + } + + @TestMetadata("kt6804.kt") + public void testKt6804() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/kt6804.kt"); + } + + @TestMetadata("nestedClassInObject.kt") + public void testNestedClassInObject() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/nestedClassInObject.kt"); + } + + @TestMetadata("nestedClassObject.kt") + public void testNestedClassObject() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/nestedClassObject.kt"); + } + + @TestMetadata("nestedEnumConstant.kt") + public void testNestedEnumConstant() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/nestedEnumConstant.kt"); + } + + @TestMetadata("nestedGeneric.kt") + public void testNestedGeneric() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/nestedGeneric.kt"); + } + + @TestMetadata("nestedInPackage.kt") + public void testNestedInPackage() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/nestedInPackage.kt"); + } + + @TestMetadata("nestedInnerClass.kt") + public void testNestedInnerClass() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/nestedInnerClass.kt"); + } + + @TestMetadata("nestedObjects.kt") + public void testNestedObjects() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/nestedObjects.kt"); + } + + @TestMetadata("nestedSimple.kt") + public void testNestedSimple() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/nestedSimple.kt"); + } + + @TestMetadata("passingOuterRef.kt") + public void testPassingOuterRef() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/passingOuterRef.kt"); + } + + @TestMetadata("protectedNestedClass.kt") + public void testProtectedNestedClass() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/protectedNestedClass.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/innerNested/superConstructorCall") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class SuperConstructorCall extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInSuperConstructorCall() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/innerNested/superConstructorCall"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("deepInnerHierarchy.kt") + public void testDeepInnerHierarchy() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/superConstructorCall/deepInnerHierarchy.kt"); + } + + @TestMetadata("deepLocalHierarchy.kt") + public void testDeepLocalHierarchy() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/superConstructorCall/deepLocalHierarchy.kt"); + } + + @TestMetadata("innerExtendsInnerViaSecondaryConstuctor.kt") + public void testInnerExtendsInnerViaSecondaryConstuctor() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/superConstructorCall/innerExtendsInnerViaSecondaryConstuctor.kt"); + } + + @TestMetadata("innerExtendsInnerWithProperOuterCapture.kt") + public void testInnerExtendsInnerWithProperOuterCapture() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/superConstructorCall/innerExtendsInnerWithProperOuterCapture.kt"); + } + + @TestMetadata("kt11833_1.kt") + public void testKt11833_1() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/superConstructorCall/kt11833_1.kt"); + } + + @TestMetadata("kt11833_2.kt") + public void testKt11833_2() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/superConstructorCall/kt11833_2.kt"); + } + + @TestMetadata("localClassOuterDiffersFromInnerOuter.kt") + public void testLocalClassOuterDiffersFromInnerOuter() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/superConstructorCall/localClassOuterDiffersFromInnerOuter.kt"); + } + + @TestMetadata("localExtendsInner.kt") + public void testLocalExtendsInner() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/superConstructorCall/localExtendsInner.kt"); + } + + @TestMetadata("localExtendsLocalWithClosure.kt") + public void testLocalExtendsLocalWithClosure() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/superConstructorCall/localExtendsLocalWithClosure.kt"); + } + + @TestMetadata("localWithClosureExtendsLocalWithClosure.kt") + public void testLocalWithClosureExtendsLocalWithClosure() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/superConstructorCall/localWithClosureExtendsLocalWithClosure.kt"); + } + + @TestMetadata("objectExtendsClassDefaultArgument.kt") + public void testObjectExtendsClassDefaultArgument() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/superConstructorCall/objectExtendsClassDefaultArgument.kt"); + } + + @TestMetadata("objectExtendsClassVararg.kt") + public void testObjectExtendsClassVararg() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/superConstructorCall/objectExtendsClassVararg.kt"); + } + + @TestMetadata("objectExtendsInner.kt") + public void testObjectExtendsInner() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/superConstructorCall/objectExtendsInner.kt"); + } + + @TestMetadata("objectExtendsInnerDefaultArgument.kt") + public void testObjectExtendsInnerDefaultArgument() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/superConstructorCall/objectExtendsInnerDefaultArgument.kt"); + } + + @TestMetadata("objectExtendsInnerOfLocalVarargAndDefault.kt") + public void testObjectExtendsInnerOfLocalVarargAndDefault() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/superConstructorCall/objectExtendsInnerOfLocalVarargAndDefault.kt"); + } + + @TestMetadata("objectExtendsInnerOfLocalWithCapture.kt") + public void testObjectExtendsInnerOfLocalWithCapture() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/superConstructorCall/objectExtendsInnerOfLocalWithCapture.kt"); + } + + @TestMetadata("objectExtendsLocalCaptureInSuperCall.kt") + public void testObjectExtendsLocalCaptureInSuperCall() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/superConstructorCall/objectExtendsLocalCaptureInSuperCall.kt"); + } + + @TestMetadata("objectExtendsLocalWithClosure.kt") + public void testObjectExtendsLocalWithClosure() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/superConstructorCall/objectExtendsLocalWithClosure.kt"); + } + + @TestMetadata("objectExtendsLocal_kt16858.kt") + public void testObjectExtendsLocal_kt16858() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/superConstructorCall/objectExtendsLocal_kt16858.kt"); + } + + @TestMetadata("objectOuterDiffersFromInnerOuter.kt") + public void testObjectOuterDiffersFromInnerOuter() throws Exception { + runTest("compiler/testData/codegen/box/innerNested/superConstructorCall/objectOuterDiffersFromInnerOuter.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/instructions") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Instructions extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInInstructions() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/instructions"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/instructions/swap") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Swap extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInSwap() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/instructions/swap"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("swapRefToSharedVarInt.kt") + public void testSwapRefToSharedVarInt() throws Exception { + runTest("compiler/testData/codegen/box/instructions/swap/swapRefToSharedVarInt.kt"); + } + + @TestMetadata("swapRefToSharedVarLong.kt") + public void testSwapRefToSharedVarLong() throws Exception { + runTest("compiler/testData/codegen/box/instructions/swap/swapRefToSharedVarLong.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/intrinsics") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Intrinsics extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInIntrinsics() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/intrinsics"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("charToInt.kt") + public void testCharToInt() throws Exception { + runTest("compiler/testData/codegen/box/intrinsics/charToInt.kt"); + } + + @TestMetadata("ea35953.kt") + public void testEa35953() throws Exception { + runTest("compiler/testData/codegen/box/intrinsics/ea35953.kt"); + } + + @TestMetadata("incWithLabel.kt") + public void testIncWithLabel() throws Exception { + runTest("compiler/testData/codegen/box/intrinsics/incWithLabel.kt"); + } + + @TestMetadata("kt10131.kt") + public void testKt10131() throws Exception { + runTest("compiler/testData/codegen/box/intrinsics/kt10131.kt"); + } + + @TestMetadata("kt10131a.kt") + public void testKt10131a() throws Exception { + runTest("compiler/testData/codegen/box/intrinsics/kt10131a.kt"); + } + + @TestMetadata("kt12125.kt") + public void testKt12125() throws Exception { + runTest("compiler/testData/codegen/box/intrinsics/kt12125.kt"); + } + + @TestMetadata("kt12125_2.kt") + public void testKt12125_2() throws Exception { + runTest("compiler/testData/codegen/box/intrinsics/kt12125_2.kt"); + } + + @TestMetadata("kt12125_inc.kt") + public void testKt12125_inc() throws Exception { + runTest("compiler/testData/codegen/box/intrinsics/kt12125_inc.kt"); + } + + @TestMetadata("kt12125_inc_2.kt") + public void testKt12125_inc_2() throws Exception { + runTest("compiler/testData/codegen/box/intrinsics/kt12125_inc_2.kt"); + } + + @TestMetadata("longRangeWithExplicitDot.kt") + public void testLongRangeWithExplicitDot() throws Exception { + runTest("compiler/testData/codegen/box/intrinsics/longRangeWithExplicitDot.kt"); + } + + @TestMetadata("nonShortCircuitAnd.kt") + public void testNonShortCircuitAnd() throws Exception { + runTest("compiler/testData/codegen/box/intrinsics/nonShortCircuitAnd.kt"); + } + + @TestMetadata("nullPlusString.kt") + public void testNullPlusString() throws Exception { + runTest("compiler/testData/codegen/box/intrinsics/nullPlusString.kt"); + } + + @TestMetadata("prefixIncDec.kt") + public void testPrefixIncDec() throws Exception { + runTest("compiler/testData/codegen/box/intrinsics/prefixIncDec.kt"); + } + + @TestMetadata("throwableParamOrder.kt") + public void testThrowableParamOrder() throws Exception { + runTest("compiler/testData/codegen/box/intrinsics/throwableParamOrder.kt"); + } + + @TestMetadata("tostring.kt") + public void testTostring() throws Exception { + runTest("compiler/testData/codegen/box/intrinsics/tostring.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/ir") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Ir extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInIr() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ir"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("anonymousObjectInsideElvis.kt") + public void testAnonymousObjectInsideElvis() throws Exception { + runTest("compiler/testData/codegen/box/ir/anonymousObjectInsideElvis.kt"); + } + + @TestMetadata("classInitializers.kt") + public void testClassInitializers() throws Exception { + runTest("compiler/testData/codegen/box/ir/classInitializers.kt"); + } + + @TestMetadata("enumClass.kt") + public void testEnumClass() throws Exception { + runTest("compiler/testData/codegen/box/ir/enumClass.kt"); + } + + @TestMetadata("enumClass2.kt") + public void testEnumClass2() throws Exception { + runTest("compiler/testData/codegen/box/ir/enumClass2.kt"); + } + + @TestMetadata("enumClass3.kt") + public void testEnumClass3() throws Exception { + runTest("compiler/testData/codegen/box/ir/enumClass3.kt"); + } + + @TestMetadata("fileClassInitializers.kt") + public void testFileClassInitializers() throws Exception { + runTest("compiler/testData/codegen/box/ir/fileClassInitializers.kt"); + } + + @TestMetadata("genericCompanion.kt") + public void testGenericCompanion() throws Exception { + runTest("compiler/testData/codegen/box/ir/genericCompanion.kt"); + } + + @TestMetadata("hashCodeOnGenericSubstitutedWithPrimitive.kt") + public void testHashCodeOnGenericSubstitutedWithPrimitive() throws Exception { + runTest("compiler/testData/codegen/box/ir/hashCodeOnGenericSubstitutedWithPrimitive.kt"); + } + + @TestMetadata("kt40083.kt") + public void testKt40083() throws Exception { + runTest("compiler/testData/codegen/box/ir/kt40083.kt"); + } + + @TestMetadata("kt41765.kt") + public void testKt41765() throws Exception { + runTest("compiler/testData/codegen/box/ir/kt41765.kt"); + } + + @TestMetadata("objectClass.kt") + public void testObjectClass() throws Exception { + runTest("compiler/testData/codegen/box/ir/objectClass.kt"); + } + + @TestMetadata("simple.kt") + public void testSimple() throws Exception { + runTest("compiler/testData/codegen/box/ir/simple.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/ir/closureConversion") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ClosureConversion extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInClosureConversion() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ir/closureConversion"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("closureConversion1.kt") + public void testClosureConversion1() throws Exception { + runTest("compiler/testData/codegen/box/ir/closureConversion/closureConversion1.kt"); + } + + @TestMetadata("closureConversion2.kt") + public void testClosureConversion2() throws Exception { + runTest("compiler/testData/codegen/box/ir/closureConversion/closureConversion2.kt"); + } + + @TestMetadata("closureConversion3.kt") + public void testClosureConversion3() throws Exception { + runTest("compiler/testData/codegen/box/ir/closureConversion/closureConversion3.kt"); + } + + @TestMetadata("closureConversion4.kt") + public void testClosureConversion4() throws Exception { + runTest("compiler/testData/codegen/box/ir/closureConversion/closureConversion4.kt"); + } + + @TestMetadata("innerClass1.kt") + public void testInnerClass1() throws Exception { + runTest("compiler/testData/codegen/box/ir/closureConversion/innerClass1.kt"); + } + + @TestMetadata("innerClass2.kt") + public void testInnerClass2() throws Exception { + runTest("compiler/testData/codegen/box/ir/closureConversion/innerClass2.kt"); + } + + @TestMetadata("mutable1.kt") + public void testMutable1() throws Exception { + runTest("compiler/testData/codegen/box/ir/closureConversion/mutable1.kt"); + } + + @TestMetadata("mutablePrimitives.kt") + public void testMutablePrimitives() throws Exception { + runTest("compiler/testData/codegen/box/ir/closureConversion/mutablePrimitives.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/ir/primitiveNumberComparisons") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class PrimitiveNumberComparisons extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInPrimitiveNumberComparisons() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ir/primitiveNumberComparisons"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("comparableToDouble.kt") + public void testComparableToDouble() throws Exception { + runTest("compiler/testData/codegen/box/ir/primitiveNumberComparisons/comparableToDouble.kt"); + } + + @TestMetadata("doubleEqeq.kt") + public void testDoubleEqeq() throws Exception { + runTest("compiler/testData/codegen/box/ir/primitiveNumberComparisons/doubleEqeq.kt"); + } + + @TestMetadata("floatEqeq.kt") + public void testFloatEqeq() throws Exception { + runTest("compiler/testData/codegen/box/ir/primitiveNumberComparisons/floatEqeq.kt"); + } + + @TestMetadata("mixedNumberTypes.kt") + public void testMixedNumberTypes() throws Exception { + runTest("compiler/testData/codegen/box/ir/primitiveNumberComparisons/mixedNumberTypes.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/ir/serializationRegressions") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class SerializationRegressions extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInSerializationRegressions() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ir/serializationRegressions"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("innerClassInEnumEntryClass.kt") + public void testInnerClassInEnumEntryClass() throws Exception { + runTest("compiler/testData/codegen/box/ir/serializationRegressions/innerClassInEnumEntryClass.kt"); + } + + @TestMetadata("useImportedMember.kt") + public void testUseImportedMember() throws Exception { + runTest("compiler/testData/codegen/box/ir/serializationRegressions/useImportedMember.kt"); + } + + @TestMetadata("varAsFunctionCall.kt") + public void testVarAsFunctionCall() throws Exception { + runTest("compiler/testData/codegen/box/ir/serializationRegressions/varAsFunctionCall.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/javaInterop") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class JavaInterop extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInJavaInterop() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/javaInterop/generics") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Generics extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInGenerics() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/generics"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/javaInterop/notNullAssertions") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class NotNullAssertions extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInNotNullAssertions() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/notNullAssertions"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/javaInterop/notNullAssertions/enhancedNullability") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class EnhancedNullability extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInEnhancedNullability() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/notNullAssertions/enhancedNullability"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/javaInterop/notNullAssertions/nullCheckOnLambdaReturnValue") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class NullCheckOnLambdaReturnValue extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInNullCheckOnLambdaReturnValue() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/notNullAssertions/nullCheckOnLambdaReturnValue"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/javaInterop/objectMethods") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ObjectMethods extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInObjectMethods() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaInterop/objectMethods"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/jdk") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Jdk extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInJdk() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jdk"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/jvm8") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Jvm8 extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInJvm8() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/jvm8/defaults") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Defaults extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInDefaults() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/jvm8/defaults/allCompatibility") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class AllCompatibility extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInAllCompatibility() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/allCompatibility"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/delegationBy") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class DelegationBy extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInDelegationBy() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/allCompatibility/delegationBy"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/jvm8/defaults/compatibility") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Compatibility extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInCompatibility() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/compatibility"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/jvm8/defaults/delegationBy") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class DelegationBy extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInDelegationBy() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/delegationBy"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class NoDefaultImpls extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInNoDefaultImpls() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/delegationBy") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class DelegationBy extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInDelegationBy() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/delegationBy"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/specialization") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Specialization extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInSpecialization() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/specialization"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/jvm8/defaults/noDelegation") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class NoDelegation extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInNoDelegation() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/noDelegation"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/jvm8/defaults/reflection") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Reflection extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInReflection() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/defaults/reflection"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/jvm8/interfaceFlag") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class InterfaceFlag extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInInterfaceFlag() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/interfaceFlag"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/jvm8/javaDefaults") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class JavaDefaults extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInJavaDefaults() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvm8/javaDefaults"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/jvmField") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class JvmField extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInJvmField() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvmField"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/jvmName") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class JvmName extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInJvmName() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvmName"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/jvmName/fileFacades") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class FileFacades extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInFileFacades() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvmName/fileFacades"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/jvmOverloads") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class JvmOverloads extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInJvmOverloads() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvmOverloads"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/jvmPackageName") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class JvmPackageName extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInJvmPackageName() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvmPackageName"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/jvmStatic") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class JvmStatic extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInJvmStatic() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/jvmStatic"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/labels") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Labels extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInLabels() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/labels"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("controlLabelClashesWithFuncitonName.kt") + public void testControlLabelClashesWithFuncitonName() throws Exception { + runTest("compiler/testData/codegen/box/labels/controlLabelClashesWithFuncitonName.kt"); + } + + @TestMetadata("infixCallLabelling.kt") + public void testInfixCallLabelling() throws Exception { + runTest("compiler/testData/codegen/box/labels/infixCallLabelling.kt"); + } + + @TestMetadata("labeledDeclarations.kt") + public void testLabeledDeclarations() throws Exception { + runTest("compiler/testData/codegen/box/labels/labeledDeclarations.kt"); + } + + @TestMetadata("propertyAccessor.kt") + public void testPropertyAccessor() throws Exception { + runTest("compiler/testData/codegen/box/labels/propertyAccessor.kt"); + } + + @TestMetadata("propertyAccessorFunctionLiteral.kt") + public void testPropertyAccessorFunctionLiteral() throws Exception { + runTest("compiler/testData/codegen/box/labels/propertyAccessorFunctionLiteral.kt"); + } + + @TestMetadata("propertyAccessorInnerExtensionFun.kt") + public void testPropertyAccessorInnerExtensionFun() throws Exception { + runTest("compiler/testData/codegen/box/labels/propertyAccessorInnerExtensionFun.kt"); + } + + @TestMetadata("propertyAccessorObject.kt") + public void testPropertyAccessorObject() throws Exception { + runTest("compiler/testData/codegen/box/labels/propertyAccessorObject.kt"); + } + + @TestMetadata("propertyInClassAccessor.kt") + public void testPropertyInClassAccessor() throws Exception { + runTest("compiler/testData/codegen/box/labels/propertyInClassAccessor.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/lazyCodegen") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class LazyCodegen extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInLazyCodegen() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/lazyCodegen"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("ifElse.kt") + public void testIfElse() throws Exception { + runTest("compiler/testData/codegen/box/lazyCodegen/ifElse.kt"); + } + + @TestMetadata("increment.kt") + public void testIncrement() throws Exception { + runTest("compiler/testData/codegen/box/lazyCodegen/increment.kt"); + } + + @TestMetadata("safeAssign.kt") + public void testSafeAssign() throws Exception { + runTest("compiler/testData/codegen/box/lazyCodegen/safeAssign.kt"); + } + + @TestMetadata("safeAssignComplex.kt") + public void testSafeAssignComplex() throws Exception { + runTest("compiler/testData/codegen/box/lazyCodegen/safeAssignComplex.kt"); + } + + @TestMetadata("toString.kt") + public void testToString() throws Exception { + runTest("compiler/testData/codegen/box/lazyCodegen/toString.kt"); + } + + @TestMetadata("when.kt") + public void testWhen() throws Exception { + runTest("compiler/testData/codegen/box/lazyCodegen/when.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/lazyCodegen/optimizations") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Optimizations extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInOptimizations() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/lazyCodegen/optimizations"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("negateConstantCompare.kt") + public void testNegateConstantCompare() throws Exception { + runTest("compiler/testData/codegen/box/lazyCodegen/optimizations/negateConstantCompare.kt"); + } + + @TestMetadata("negateFalse.kt") + public void testNegateFalse() throws Exception { + runTest("compiler/testData/codegen/box/lazyCodegen/optimizations/negateFalse.kt"); + } + + @TestMetadata("negateFalseVar.kt") + public void testNegateFalseVar() throws Exception { + runTest("compiler/testData/codegen/box/lazyCodegen/optimizations/negateFalseVar.kt"); + } + + @TestMetadata("negateFalseVarChain.kt") + public void testNegateFalseVarChain() throws Exception { + runTest("compiler/testData/codegen/box/lazyCodegen/optimizations/negateFalseVarChain.kt"); + } + + @TestMetadata("negateObjectComp.kt") + public void testNegateObjectComp() throws Exception { + runTest("compiler/testData/codegen/box/lazyCodegen/optimizations/negateObjectComp.kt"); + } + + @TestMetadata("negateObjectComp2.kt") + public void testNegateObjectComp2() throws Exception { + runTest("compiler/testData/codegen/box/lazyCodegen/optimizations/negateObjectComp2.kt"); + } + + @TestMetadata("negateTrue.kt") + public void testNegateTrue() throws Exception { + runTest("compiler/testData/codegen/box/lazyCodegen/optimizations/negateTrue.kt"); + } + + @TestMetadata("negateTrueVar.kt") + public void testNegateTrueVar() throws Exception { + runTest("compiler/testData/codegen/box/lazyCodegen/optimizations/negateTrueVar.kt"); + } + + @TestMetadata("noOptimization.kt") + public void testNoOptimization() throws Exception { + runTest("compiler/testData/codegen/box/lazyCodegen/optimizations/noOptimization.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/localClasses") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class LocalClasses extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInLocalClasses() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/localClasses"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("anonymousObjectInExtension.kt") + public void testAnonymousObjectInExtension() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/anonymousObjectInExtension.kt"); + } + + @TestMetadata("anonymousObjectInInitializer.kt") + public void testAnonymousObjectInInitializer() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/anonymousObjectInInitializer.kt"); + } + + @TestMetadata("anonymousObjectInParameterInitializer.kt") + public void testAnonymousObjectInParameterInitializer() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/anonymousObjectInParameterInitializer.kt"); + } + + @TestMetadata("closureOfInnerLocalClass.kt") + public void testClosureOfInnerLocalClass() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/closureOfInnerLocalClass.kt"); + } + + @TestMetadata("closureOfLambdaInLocalClass.kt") + public void testClosureOfLambdaInLocalClass() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/closureOfLambdaInLocalClass.kt"); + } + + @TestMetadata("inExtensionFunction.kt") + public void testInExtensionFunction() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/inExtensionFunction.kt"); + } + + @TestMetadata("inExtensionProperty.kt") + public void testInExtensionProperty() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/inExtensionProperty.kt"); + } + + @TestMetadata("inLocalExtensionFunction.kt") + public void testInLocalExtensionFunction() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/inLocalExtensionFunction.kt"); + } + + @TestMetadata("inLocalExtensionProperty.kt") + public void testInLocalExtensionProperty() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/inLocalExtensionProperty.kt"); + } + + @TestMetadata("innerClassInLocalClass.kt") + public void testInnerClassInLocalClass() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/innerClassInLocalClass.kt"); + } + + @TestMetadata("innerOfLocalCaptureExtensionReceiver.kt") + public void testInnerOfLocalCaptureExtensionReceiver() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/innerOfLocalCaptureExtensionReceiver.kt"); + } + + @TestMetadata("kt2700.kt") + public void testKt2700() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/kt2700.kt"); + } + + @TestMetadata("kt2873.kt") + public void testKt2873() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/kt2873.kt"); + } + + @TestMetadata("kt3210.kt") + public void testKt3210() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/kt3210.kt"); + } + + @TestMetadata("kt3389.kt") + public void testKt3389() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/kt3389.kt"); + } + + @TestMetadata("kt3584.kt") + public void testKt3584() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/kt3584.kt"); + } + + @TestMetadata("kt4174.kt") + public void testKt4174() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/kt4174.kt"); + } + + @TestMetadata("localClass.kt") + public void testLocalClass() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/localClass.kt"); + } + + @TestMetadata("localClassCaptureExtensionReceiver.kt") + public void testLocalClassCaptureExtensionReceiver() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/localClassCaptureExtensionReceiver.kt"); + } + + @TestMetadata("localClassInInitializer.kt") + public void testLocalClassInInitializer() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/localClassInInitializer.kt"); + } + + @TestMetadata("localClassInParameterInitializer.kt") + public void testLocalClassInParameterInitializer() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/localClassInParameterInitializer.kt"); + } + + @TestMetadata("localDataClass.kt") + public void testLocalDataClass() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/localDataClass.kt"); + } + + @TestMetadata("localExtendsInnerAndReferencesOuterMember.kt") + public void testLocalExtendsInnerAndReferencesOuterMember() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/localExtendsInnerAndReferencesOuterMember.kt"); + } + + @TestMetadata("noclosure.kt") + public void testNoclosure() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/noclosure.kt"); + } + + @TestMetadata("object.kt") + public void testObject() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/object.kt"); + } + + @TestMetadata("ownClosureOfInnerLocalClass.kt") + public void testOwnClosureOfInnerLocalClass() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/ownClosureOfInnerLocalClass.kt"); + } + + @TestMetadata("recaptureVarCapturedInLocalClass1.kt") + public void testRecaptureVarCapturedInLocalClass1() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/recaptureVarCapturedInLocalClass1.kt"); + } + + @TestMetadata("recaptureVarCapturedInLocalClass2.kt") + public void testRecaptureVarCapturedInLocalClass2() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/recaptureVarCapturedInLocalClass2.kt"); + } + + @TestMetadata("recaptureVarCapturedInLocalClass3.kt") + public void testRecaptureVarCapturedInLocalClass3() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/recaptureVarCapturedInLocalClass3.kt"); + } + + @TestMetadata("subclassingExtensionReceiverClass.kt") + public void testSubclassingExtensionReceiverClass() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/subclassingExtensionReceiverClass.kt"); + } + + @TestMetadata("withclosure.kt") + public void testWithclosure() throws Exception { + runTest("compiler/testData/codegen/box/localClasses/withclosure.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/mangling") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Mangling extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInMangling() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/mangling"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("internal.kt") + public void testInternal() throws Exception { + runTest("compiler/testData/codegen/box/mangling/internal.kt"); + } + + @TestMetadata("internalOverride.kt") + public void testInternalOverride() throws Exception { + runTest("compiler/testData/codegen/box/mangling/internalOverride.kt"); + } + + @TestMetadata("internalOverrideSuperCall.kt") + public void testInternalOverrideSuperCall() throws Exception { + runTest("compiler/testData/codegen/box/mangling/internalOverrideSuperCall.kt"); + } + + @TestMetadata("publicOverride.kt") + public void testPublicOverride() throws Exception { + runTest("compiler/testData/codegen/box/mangling/publicOverride.kt"); + } + + @TestMetadata("publicOverrideSuperCall.kt") + public void testPublicOverrideSuperCall() throws Exception { + runTest("compiler/testData/codegen/box/mangling/publicOverrideSuperCall.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/mixedNamedPosition") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class MixedNamedPosition extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInMixedNamedPosition() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/mixedNamedPosition"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("defaults.kt") + public void testDefaults() throws Exception { + runTest("compiler/testData/codegen/box/mixedNamedPosition/defaults.kt"); + } + + @TestMetadata("simple.kt") + public void testSimple() throws Exception { + runTest("compiler/testData/codegen/box/mixedNamedPosition/simple.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/multiDecl") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class MultiDecl extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInMultiDecl() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("ComplexInitializer.kt") + public void testComplexInitializer() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/ComplexInitializer.kt"); + } + + @TestMetadata("returnInElvis.kt") + public void testReturnInElvis() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/returnInElvis.kt"); + } + + @TestMetadata("SimpleVals.kt") + public void testSimpleVals() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/SimpleVals.kt"); + } + + @TestMetadata("SimpleValsExtensions.kt") + public void testSimpleValsExtensions() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/SimpleValsExtensions.kt"); + } + + @TestMetadata("SimpleVarsExtensions.kt") + public void testSimpleVarsExtensions() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/SimpleVarsExtensions.kt"); + } + + @TestMetadata("UnderscoreNames.kt") + public void testUnderscoreNames() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/UnderscoreNames.kt"); + } + + @TestMetadata("ValCapturedInFunctionLiteral.kt") + public void testValCapturedInFunctionLiteral() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/ValCapturedInFunctionLiteral.kt"); + } + + @TestMetadata("ValCapturedInLocalFunction.kt") + public void testValCapturedInLocalFunction() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/ValCapturedInLocalFunction.kt"); + } + + @TestMetadata("ValCapturedInObjectLiteral.kt") + public void testValCapturedInObjectLiteral() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/ValCapturedInObjectLiteral.kt"); + } + + @TestMetadata("VarCapturedInFunctionLiteral.kt") + public void testVarCapturedInFunctionLiteral() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/VarCapturedInFunctionLiteral.kt"); + } + + @TestMetadata("VarCapturedInLocalFunction.kt") + public void testVarCapturedInLocalFunction() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/VarCapturedInLocalFunction.kt"); + } + + @TestMetadata("VarCapturedInObjectLiteral.kt") + public void testVarCapturedInObjectLiteral() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/VarCapturedInObjectLiteral.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/multiDecl/forIterator") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ForIterator extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInForIterator() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forIterator"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/multiDecl/forIterator/longIterator") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class LongIterator extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInLongIterator() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forIterator/longIterator"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/multiDecl/forRange") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ForRange extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInForRange() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("MultiDeclFor.kt") + public void testMultiDeclFor() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/MultiDeclFor.kt"); + } + + @TestMetadata("MultiDeclForComponentExtensions.kt") + public void testMultiDeclForComponentExtensions() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/MultiDeclForComponentExtensions.kt"); + } + + @TestMetadata("MultiDeclForComponentMemberExtensions.kt") + public void testMultiDeclForComponentMemberExtensions() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/MultiDeclForComponentMemberExtensions.kt"); + } + + @TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt") + public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt"); + } + + @TestMetadata("MultiDeclForValCaptured.kt") + public void testMultiDeclForValCaptured() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/MultiDeclForValCaptured.kt"); + } + + @TestMetadata("UnderscoreNames.kt") + public void testUnderscoreNames() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/UnderscoreNames.kt"); + } + + @TestMetadata("UnderscoreNamesDontCallComponent.kt") + public void testUnderscoreNamesDontCallComponent() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/UnderscoreNamesDontCallComponent.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ExplicitRangeTo extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInExplicitRangeTo() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("MultiDeclFor.kt") + public void testMultiDeclFor() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo/MultiDeclFor.kt"); + } + + @TestMetadata("MultiDeclForComponentExtensions.kt") + public void testMultiDeclForComponentExtensions() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo/MultiDeclForComponentExtensions.kt"); + } + + @TestMetadata("MultiDeclForComponentMemberExtensions.kt") + public void testMultiDeclForComponentMemberExtensions() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo/MultiDeclForComponentMemberExtensions.kt"); + } + + @TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt") + public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt"); + } + + @TestMetadata("MultiDeclForValCaptured.kt") + public void testMultiDeclForValCaptured() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo/MultiDeclForValCaptured.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo/int") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Int extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInInt() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo/int"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("MultiDeclForComponentExtensions.kt") + public void testMultiDeclForComponentExtensions() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo/int/MultiDeclForComponentExtensions.kt"); + } + + @TestMetadata("MultiDeclForComponentExtensionsValCaptured.kt") + public void testMultiDeclForComponentExtensionsValCaptured() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo/int/MultiDeclForComponentExtensionsValCaptured.kt"); + } + + @TestMetadata("MultiDeclForComponentMemberExtensions.kt") + public void testMultiDeclForComponentMemberExtensions() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo/int/MultiDeclForComponentMemberExtensions.kt"); + } + + @TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt") + public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo/int/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo/long") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Long extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInLong() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo/long"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("MultiDeclForComponentExtensions.kt") + public void testMultiDeclForComponentExtensions() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo/long/MultiDeclForComponentExtensions.kt"); + } + + @TestMetadata("MultiDeclForComponentExtensionsValCaptured.kt") + public void testMultiDeclForComponentExtensionsValCaptured() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo/long/MultiDeclForComponentExtensionsValCaptured.kt"); + } + + @TestMetadata("MultiDeclForComponentMemberExtensions.kt") + public void testMultiDeclForComponentMemberExtensions() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo/long/MultiDeclForComponentMemberExtensions.kt"); + } + + @TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt") + public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeTo/long/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ExplicitRangeToWithDot extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInExplicitRangeToWithDot() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("MultiDeclFor.kt") + public void testMultiDeclFor() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot/MultiDeclFor.kt"); + } + + @TestMetadata("MultiDeclForComponentExtensions.kt") + public void testMultiDeclForComponentExtensions() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot/MultiDeclForComponentExtensions.kt"); + } + + @TestMetadata("MultiDeclForComponentMemberExtensions.kt") + public void testMultiDeclForComponentMemberExtensions() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot/MultiDeclForComponentMemberExtensions.kt"); + } + + @TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt") + public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt"); + } + + @TestMetadata("MultiDeclForValCaptured.kt") + public void testMultiDeclForValCaptured() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot/MultiDeclForValCaptured.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot/int") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Int extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInInt() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot/int"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("MultiDeclForComponentExtensions.kt") + public void testMultiDeclForComponentExtensions() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot/int/MultiDeclForComponentExtensions.kt"); + } + + @TestMetadata("MultiDeclForComponentExtensionsValCaptured.kt") + public void testMultiDeclForComponentExtensionsValCaptured() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot/int/MultiDeclForComponentExtensionsValCaptured.kt"); + } + + @TestMetadata("MultiDeclForComponentMemberExtensions.kt") + public void testMultiDeclForComponentMemberExtensions() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot/int/MultiDeclForComponentMemberExtensions.kt"); + } + + @TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt") + public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot/int/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot/long") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Long extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInLong() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot/long"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("MultiDeclForComponentExtensions.kt") + public void testMultiDeclForComponentExtensions() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot/long/MultiDeclForComponentExtensions.kt"); + } + + @TestMetadata("MultiDeclForComponentExtensionsValCaptured.kt") + public void testMultiDeclForComponentExtensionsValCaptured() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot/long/MultiDeclForComponentExtensionsValCaptured.kt"); + } + + @TestMetadata("MultiDeclForComponentMemberExtensions.kt") + public void testMultiDeclForComponentMemberExtensions() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot/long/MultiDeclForComponentMemberExtensions.kt"); + } + + @TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt") + public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/explicitRangeToWithDot/long/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/multiDecl/forRange/int") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Int extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInInt() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/int"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("MultiDeclForComponentExtensions.kt") + public void testMultiDeclForComponentExtensions() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/int/MultiDeclForComponentExtensions.kt"); + } + + @TestMetadata("MultiDeclForComponentExtensionsValCaptured.kt") + public void testMultiDeclForComponentExtensionsValCaptured() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/int/MultiDeclForComponentExtensionsValCaptured.kt"); + } + + @TestMetadata("MultiDeclForComponentMemberExtensions.kt") + public void testMultiDeclForComponentMemberExtensions() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/int/MultiDeclForComponentMemberExtensions.kt"); + } + + @TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt") + public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/int/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/multiDecl/forRange/long") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Long extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInLong() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiDecl/forRange/long"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("MultiDeclForComponentExtensions.kt") + public void testMultiDeclForComponentExtensions() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/long/MultiDeclForComponentExtensions.kt"); + } + + @TestMetadata("MultiDeclForComponentExtensionsValCaptured.kt") + public void testMultiDeclForComponentExtensionsValCaptured() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/long/MultiDeclForComponentExtensionsValCaptured.kt"); + } + + @TestMetadata("MultiDeclForComponentMemberExtensions.kt") + public void testMultiDeclForComponentMemberExtensions() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/long/MultiDeclForComponentMemberExtensions.kt"); + } + + @TestMetadata("MultiDeclForComponentMemberExtensionsInExtensionFunction.kt") + public void testMultiDeclForComponentMemberExtensionsInExtensionFunction() throws Exception { + runTest("compiler/testData/codegen/box/multiDecl/forRange/long/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt"); + } + } + } + } + + @TestMetadata("compiler/testData/codegen/box/multifileClasses") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class MultifileClasses extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInMultifileClasses() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multifileClasses"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/multifileClasses/optimized") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Optimized extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInOptimized() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multifileClasses/optimized"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/multiplatform") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Multiplatform extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInMultiplatform() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("optionalExpectation.kt") + public void testOptionalExpectation() throws Exception { + runTest("compiler/testData/codegen/box/multiplatform/optionalExpectation.kt"); + } + + @TestMetadata("starImportOfExpectEnumWithActualTypeAlias.kt") + public void testStarImportOfExpectEnumWithActualTypeAlias() throws Exception { + runTest("compiler/testData/codegen/box/multiplatform/starImportOfExpectEnumWithActualTypeAlias.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/multiplatform/defaultArguments") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class DefaultArguments extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInDefaultArguments() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/defaultArguments"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("bothInExpectAndActual.kt") + public void testBothInExpectAndActual() throws Exception { + runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/bothInExpectAndActual.kt"); + } + + @TestMetadata("bothInExpectAndActual2.kt") + public void testBothInExpectAndActual2() throws Exception { + runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/bothInExpectAndActual2.kt"); + } + + @TestMetadata("constructor.kt") + public void testConstructor() throws Exception { + runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/constructor.kt"); + } + + @TestMetadata("delegatedExpectedInterface.kt") + public void testDelegatedExpectedInterface() throws Exception { + runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/delegatedExpectedInterface.kt"); + } + + @TestMetadata("extensionReceiverValue.kt") + public void testExtensionReceiverValue() throws Exception { + runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/extensionReceiverValue.kt"); + } + + @TestMetadata("function.kt") + public void testFunction() throws Exception { + runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/function.kt"); + } + + @TestMetadata("functionFromOtherModule.kt") + public void testFunctionFromOtherModule() throws Exception { + runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/functionFromOtherModule.kt"); + } + + @TestMetadata("inheritedFromCommonClass.kt") + public void testInheritedFromCommonClass() throws Exception { + runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromCommonClass.kt"); + } + + @TestMetadata("inheritedFromExpectedClass.kt") + public void testInheritedFromExpectedClass() throws Exception { + runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromExpectedClass.kt"); + } + + @TestMetadata("inheritedFromExpectedInterface.kt") + public void testInheritedFromExpectedInterface() throws Exception { + runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromExpectedInterface.kt"); + } + + @TestMetadata("inheritedFromExpectedMethod.kt") + public void testInheritedFromExpectedMethod() throws Exception { + runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromExpectedMethod.kt"); + } + + @TestMetadata("inheritedInExpectedDeclarations.kt") + public void testInheritedInExpectedDeclarations() throws Exception { + runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedInExpectedDeclarations.kt"); + } + + @TestMetadata("inheritedViaAnotherInterfaceIndirectly.kt") + public void testInheritedViaAnotherInterfaceIndirectly() throws Exception { + runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedViaAnotherInterfaceIndirectly.kt"); + } + + @TestMetadata("inlineFunctionWithDefaultLambda.kt") + public void testInlineFunctionWithDefaultLambda() throws Exception { + runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/inlineFunctionWithDefaultLambda.kt"); + } + + @TestMetadata("kt23239.kt") + public void testKt23239() throws Exception { + runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/kt23239.kt"); + } + + @TestMetadata("kt23739.kt") + public void testKt23739() throws Exception { + runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/kt23739.kt"); + } + + @TestMetadata("parametersInArgumentValues.kt") + public void testParametersInArgumentValues() throws Exception { + runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/parametersInArgumentValues.kt"); + } + + @TestMetadata("typeAlias.kt") + public void testTypeAlias() throws Exception { + runTest("compiler/testData/codegen/box/multiplatform/defaultArguments/typeAlias.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/multiplatform/multiModule") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class MultiModule extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInMultiModule() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/multiModule"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("expectActualLink.kt") + public void testExpectActualLink() throws Exception { + runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualLink.kt"); + } + + @TestMetadata("expectActualMemberLink.kt") + public void testExpectActualMemberLink() throws Exception { + runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualMemberLink.kt"); + } + + @TestMetadata("expectActualTypealiasLink.kt") + public void testExpectActualTypealiasLink() throws Exception { + runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualTypealiasLink.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/nonLocalReturns") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class NonLocalReturns extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInNonLocalReturns() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/nonLocalReturns"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("kt9644let.kt") + public void testKt9644let() throws Exception { + runTest("compiler/testData/codegen/box/nonLocalReturns/kt9644let.kt"); + } + + @TestMetadata("localReturnInsideProperty.kt") + public void testLocalReturnInsideProperty() throws Exception { + runTest("compiler/testData/codegen/box/nonLocalReturns/localReturnInsideProperty.kt"); + } + + @TestMetadata("returnInsideTwoLambdas.kt") + public void testReturnInsideTwoLambdas() throws Exception { + runTest("compiler/testData/codegen/box/nonLocalReturns/returnInsideTwoLambdas.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/nothingValue") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class NothingValue extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInNothingValue() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/nothingValue"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("inNestedCall.kt") + public void testInNestedCall() throws Exception { + runTest("compiler/testData/codegen/box/nothingValue/inNestedCall.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/nullCheckOptimization") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class NullCheckOptimization extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInNullCheckOptimization() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/nullCheckOptimization"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("isNullable.kt") + public void testIsNullable() throws Exception { + runTest("compiler/testData/codegen/box/nullCheckOptimization/isNullable.kt"); + } + + @TestMetadata("kt22410.kt") + public void testKt22410() throws Exception { + runTest("compiler/testData/codegen/box/nullCheckOptimization/kt22410.kt"); + } + + @TestMetadata("kt7774.kt") + public void testKt7774() throws Exception { + runTest("compiler/testData/codegen/box/nullCheckOptimization/kt7774.kt"); + } + + @TestMetadata("primitiveCheckWithSideEffect.kt") + public void testPrimitiveCheckWithSideEffect() throws Exception { + runTest("compiler/testData/codegen/box/nullCheckOptimization/primitiveCheckWithSideEffect.kt"); + } + + @TestMetadata("trivialInstanceOf.kt") + public void testTrivialInstanceOf() throws Exception { + runTest("compiler/testData/codegen/box/nullCheckOptimization/trivialInstanceOf.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/objectIntrinsics") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ObjectIntrinsics extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInObjectIntrinsics() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/objectIntrinsics"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/objects") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Objects extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInObjects() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/objects"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("anonymousObjectPropertyInitialization.kt") + public void testAnonymousObjectPropertyInitialization() throws Exception { + runTest("compiler/testData/codegen/box/objects/anonymousObjectPropertyInitialization.kt"); + } + + @TestMetadata("anonymousObjectReturnsFromTopLevelFun.kt") + public void testAnonymousObjectReturnsFromTopLevelFun() throws Exception { + runTest("compiler/testData/codegen/box/objects/anonymousObjectReturnsFromTopLevelFun.kt"); + } + + @TestMetadata("classCallsProtectedInheritedByCompanion.kt") + public void testClassCallsProtectedInheritedByCompanion() throws Exception { + runTest("compiler/testData/codegen/box/objects/classCallsProtectedInheritedByCompanion.kt"); + } + + @TestMetadata("classCompanion.kt") + public void testClassCompanion() throws Exception { + runTest("compiler/testData/codegen/box/objects/classCompanion.kt"); + } + + @TestMetadata("compoundAssignmentToArrayAccessToExtensionPropertyImportedFromObject.kt") + public void testCompoundAssignmentToArrayAccessToExtensionPropertyImportedFromObject() throws Exception { + runTest("compiler/testData/codegen/box/objects/compoundAssignmentToArrayAccessToExtensionPropertyImportedFromObject.kt"); + } + + @TestMetadata("compoundAssignmentToArrayAccessToPropertyImportedFromObject.kt") + public void testCompoundAssignmentToArrayAccessToPropertyImportedFromObject() throws Exception { + runTest("compiler/testData/codegen/box/objects/compoundAssignmentToArrayAccessToPropertyImportedFromObject.kt"); + } + + @TestMetadata("compoundAssignmentToExtensionPropertyImportedFromObject.kt") + public void testCompoundAssignmentToExtensionPropertyImportedFromObject() throws Exception { + runTest("compiler/testData/codegen/box/objects/compoundAssignmentToExtensionPropertyImportedFromObject.kt"); + } + + @TestMetadata("compoundAssignmentToObjectFromCall.kt") + public void testCompoundAssignmentToObjectFromCall() throws Exception { + runTest("compiler/testData/codegen/box/objects/compoundAssignmentToObjectFromCall.kt"); + } + + @TestMetadata("compoundAssignmentToPropertyImportedFromObject.kt") + public void testCompoundAssignmentToPropertyImportedFromObject() throws Exception { + runTest("compiler/testData/codegen/box/objects/compoundAssignmentToPropertyImportedFromObject.kt"); + } + + @TestMetadata("compoundAssignmentToPropertyWithQualifier.kt") + public void testCompoundAssignmentToPropertyWithQualifier() throws Exception { + runTest("compiler/testData/codegen/box/objects/compoundAssignmentToPropertyWithQualifier.kt"); + } + + @TestMetadata("flist.kt") + public void testFlist() throws Exception { + runTest("compiler/testData/codegen/box/objects/flist.kt"); + } + + @TestMetadata("initializationOrder.kt") + public void testInitializationOrder() throws Exception { + runTest("compiler/testData/codegen/box/objects/initializationOrder.kt"); + } + + @TestMetadata("initializerBlockResetToDefault.kt") + public void testInitializerBlockResetToDefault() throws Exception { + runTest("compiler/testData/codegen/box/objects/initializerBlockResetToDefault.kt"); + } + + @TestMetadata("interfaceCompanion.kt") + public void testInterfaceCompanion() throws Exception { + runTest("compiler/testData/codegen/box/objects/interfaceCompanion.kt"); + } + + @TestMetadata("interfaceCompanionObjectReference.kt") + public void testInterfaceCompanionObjectReference() throws Exception { + runTest("compiler/testData/codegen/box/objects/interfaceCompanionObjectReference.kt"); + } + + @TestMetadata("kt11117.kt") + public void testKt11117() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt11117.kt"); + } + + @TestMetadata("kt1186.kt") + public void testKt1186() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt1186.kt"); + } + + @TestMetadata("kt1600.kt") + public void testKt1600() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt1600.kt"); + } + + @TestMetadata("kt18982.kt") + public void testKt18982() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt18982.kt"); + } + + @TestMetadata("kt2398.kt") + public void testKt2398() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt2398.kt"); + } + + @TestMetadata("kt2663.kt") + public void testKt2663() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt2663.kt"); + } + + @TestMetadata("kt2663_3.kt") + public void testKt2663_3() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt2663_3.kt"); + } + + @TestMetadata("kt2675.kt") + public void testKt2675() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt2675.kt"); + } + + @TestMetadata("kt2719.kt") + public void testKt2719() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt2719.kt"); + } + + @TestMetadata("kt2822.kt") + public void testKt2822() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt2822.kt"); + } + + @TestMetadata("kt3684.kt") + public void testKt3684() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt3684.kt"); + } + + @TestMetadata("kt4086.kt") + public void testKt4086() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt4086.kt"); + } + + @TestMetadata("kt694.kt") + public void testKt694() throws Exception { + runTest("compiler/testData/codegen/box/objects/kt694.kt"); + } + + @TestMetadata("methodOnObject.kt") + public void testMethodOnObject() throws Exception { + runTest("compiler/testData/codegen/box/objects/methodOnObject.kt"); + } + + @TestMetadata("nestedDerivedClassCallsProtectedFromCompanion.kt") + public void testNestedDerivedClassCallsProtectedFromCompanion() throws Exception { + runTest("compiler/testData/codegen/box/objects/nestedDerivedClassCallsProtectedFromCompanion.kt"); + } + + @TestMetadata("nestedObjectWithSuperclass.kt") + public void testNestedObjectWithSuperclass() throws Exception { + runTest("compiler/testData/codegen/box/objects/nestedObjectWithSuperclass.kt"); + } + + @TestMetadata("object.kt") + public void testObject() throws Exception { + runTest("compiler/testData/codegen/box/objects/object.kt"); + } + + @TestMetadata("objectExtendsInnerAndReferencesOuterMember.kt") + public void testObjectExtendsInnerAndReferencesOuterMember() throws Exception { + runTest("compiler/testData/codegen/box/objects/objectExtendsInnerAndReferencesOuterMember.kt"); + } + + @TestMetadata("objectInLocalAnonymousObject.kt") + public void testObjectInLocalAnonymousObject() throws Exception { + runTest("compiler/testData/codegen/box/objects/objectInLocalAnonymousObject.kt"); + } + + @TestMetadata("objectInitialization_kt5523.kt") + public void testObjectInitialization_kt5523() throws Exception { + runTest("compiler/testData/codegen/box/objects/objectInitialization_kt5523.kt"); + } + + @TestMetadata("objectLiteral.kt") + public void testObjectLiteral() throws Exception { + runTest("compiler/testData/codegen/box/objects/objectLiteral.kt"); + } + + @TestMetadata("objectLiteralInClass.kt") + public void testObjectLiteralInClass() throws Exception { + runTest("compiler/testData/codegen/box/objects/objectLiteralInClass.kt"); + } + + @TestMetadata("objectLiteralInClosure.kt") + public void testObjectLiteralInClosure() throws Exception { + runTest("compiler/testData/codegen/box/objects/objectLiteralInClosure.kt"); + } + + @TestMetadata("objectWithSuperclass.kt") + public void testObjectWithSuperclass() throws Exception { + runTest("compiler/testData/codegen/box/objects/objectWithSuperclass.kt"); + } + + @TestMetadata("objectWithSuperclassAndTrait.kt") + public void testObjectWithSuperclassAndTrait() throws Exception { + runTest("compiler/testData/codegen/box/objects/objectWithSuperclassAndTrait.kt"); + } + + @TestMetadata("privateExtensionFromInitializer_kt4543.kt") + public void testPrivateExtensionFromInitializer_kt4543() throws Exception { + runTest("compiler/testData/codegen/box/objects/privateExtensionFromInitializer_kt4543.kt"); + } + + @TestMetadata("privateFunctionFromClosureInInitializer_kt5582.kt") + public void testPrivateFunctionFromClosureInInitializer_kt5582() throws Exception { + runTest("compiler/testData/codegen/box/objects/privateFunctionFromClosureInInitializer_kt5582.kt"); + } + + @TestMetadata("receiverInConstructor.kt") + public void testReceiverInConstructor() throws Exception { + runTest("compiler/testData/codegen/box/objects/receiverInConstructor.kt"); + } + + @TestMetadata("safeAccess.kt") + public void testSafeAccess() throws Exception { + runTest("compiler/testData/codegen/box/objects/safeAccess.kt"); + } + + @TestMetadata("selfReferenceToCompanionObjectInAnonymousObjectInSuperConstructorCall.kt") + public void testSelfReferenceToCompanionObjectInAnonymousObjectInSuperConstructorCall() throws Exception { + runTest("compiler/testData/codegen/box/objects/selfReferenceToCompanionObjectInAnonymousObjectInSuperConstructorCall.kt"); + } + + @TestMetadata("selfReferenceToCompanionObjectInInlineLambdaInConstructorBody.kt") + public void testSelfReferenceToCompanionObjectInInlineLambdaInConstructorBody() throws Exception { + runTest("compiler/testData/codegen/box/objects/selfReferenceToCompanionObjectInInlineLambdaInConstructorBody.kt"); + } + + @TestMetadata("selfReferenceToCompanionObjectInInlineLambdaInSuperConstructorCall.kt") + public void testSelfReferenceToCompanionObjectInInlineLambdaInSuperConstructorCall() throws Exception { + runTest("compiler/testData/codegen/box/objects/selfReferenceToCompanionObjectInInlineLambdaInSuperConstructorCall.kt"); + } + + @TestMetadata("selfReferenceToCompanionObjectInLambdaInSuperConstructorCall.kt") + public void testSelfReferenceToCompanionObjectInLambdaInSuperConstructorCall() throws Exception { + runTest("compiler/testData/codegen/box/objects/selfReferenceToCompanionObjectInLambdaInSuperConstructorCall.kt"); + } + + @TestMetadata("selfReferenceToInterfaceCompanionObjectInAnonymousObjectInSuperConstructorCall.kt") + public void testSelfReferenceToInterfaceCompanionObjectInAnonymousObjectInSuperConstructorCall() throws Exception { + runTest("compiler/testData/codegen/box/objects/selfReferenceToInterfaceCompanionObjectInAnonymousObjectInSuperConstructorCall.kt"); + } + + @TestMetadata("selfReferenceToInterfaceCompanionObjectInInlineLambdaInConstructorBody.kt") + public void testSelfReferenceToInterfaceCompanionObjectInInlineLambdaInConstructorBody() throws Exception { + runTest("compiler/testData/codegen/box/objects/selfReferenceToInterfaceCompanionObjectInInlineLambdaInConstructorBody.kt"); + } + + @TestMetadata("selfReferenceToInterfaceCompanionObjectInInlineLambdaInSuperConstructorCall.kt") + public void testSelfReferenceToInterfaceCompanionObjectInInlineLambdaInSuperConstructorCall() throws Exception { + runTest("compiler/testData/codegen/box/objects/selfReferenceToInterfaceCompanionObjectInInlineLambdaInSuperConstructorCall.kt"); + } + + @TestMetadata("selfReferenceToInterfaceCompanionObjectInLambdaInSuperConstructorCall.kt") + public void testSelfReferenceToInterfaceCompanionObjectInLambdaInSuperConstructorCall() throws Exception { + runTest("compiler/testData/codegen/box/objects/selfReferenceToInterfaceCompanionObjectInLambdaInSuperConstructorCall.kt"); + } + + @TestMetadata("selfReferenceToObjectInAnonymousObjectInSuperConstructorCall.kt") + public void testSelfReferenceToObjectInAnonymousObjectInSuperConstructorCall() throws Exception { + runTest("compiler/testData/codegen/box/objects/selfReferenceToObjectInAnonymousObjectInSuperConstructorCall.kt"); + } + + @TestMetadata("selfReferenceToObjectInInlineLambdaInConstructorBody.kt") + public void testSelfReferenceToObjectInInlineLambdaInConstructorBody() throws Exception { + runTest("compiler/testData/codegen/box/objects/selfReferenceToObjectInInlineLambdaInConstructorBody.kt"); + } + + @TestMetadata("selfReferenceToObjectInInlineLambdaInSuperConstructorCall.kt") + public void testSelfReferenceToObjectInInlineLambdaInSuperConstructorCall() throws Exception { + runTest("compiler/testData/codegen/box/objects/selfReferenceToObjectInInlineLambdaInSuperConstructorCall.kt"); + } + + @TestMetadata("selfReferenceToObjectInLambdaInSuperConstructorCall.kt") + public void testSelfReferenceToObjectInLambdaInSuperConstructorCall() throws Exception { + runTest("compiler/testData/codegen/box/objects/selfReferenceToObjectInLambdaInSuperConstructorCall.kt"); + } + + @TestMetadata("simpleObject.kt") + public void testSimpleObject() throws Exception { + runTest("compiler/testData/codegen/box/objects/simpleObject.kt"); + } + + @TestMetadata("thisInConstructor.kt") + public void testThisInConstructor() throws Exception { + runTest("compiler/testData/codegen/box/objects/thisInConstructor.kt"); + } + + @TestMetadata("thisRefToObjectInNestedClassConstructorCall.kt") + public void testThisRefToObjectInNestedClassConstructorCall() throws Exception { + runTest("compiler/testData/codegen/box/objects/thisRefToObjectInNestedClassConstructorCall.kt"); + } + + @TestMetadata("useAnonymousObjectAsIterator.kt") + public void testUseAnonymousObjectAsIterator() throws Exception { + runTest("compiler/testData/codegen/box/objects/useAnonymousObjectAsIterator.kt"); + } + + @TestMetadata("useImportedMember.kt") + public void testUseImportedMember() throws Exception { + runTest("compiler/testData/codegen/box/objects/useImportedMember.kt"); + } + + @TestMetadata("useImportedMemberFromCompanion.kt") + public void testUseImportedMemberFromCompanion() throws Exception { + runTest("compiler/testData/codegen/box/objects/useImportedMemberFromCompanion.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/objects/companionObjectAccess") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class CompanionObjectAccess extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInCompanionObjectAccess() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/objects/companionObjectAccess"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("kt27117.kt") + public void testKt27117() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/kt27117.kt"); + } + + @TestMetadata("kt27117_lv12.kt") + public void testKt27117_lv12() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/kt27117_lv12.kt"); + } + + @TestMetadata("kt27117_lv13.kt") + public void testKt27117_lv13() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/kt27117_lv13.kt"); + } + + @TestMetadata("kt27121.kt") + public void testKt27121() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/kt27121.kt"); + } + + @TestMetadata("kt27121_lv12.kt") + public void testKt27121_lv12() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/kt27121_lv12.kt"); + } + + @TestMetadata("kt27121_lv13.kt") + public void testKt27121_lv13() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/kt27121_lv13.kt"); + } + + @TestMetadata("privateCompanionObjectAccessedFromAnonymousObjectInNestedClass.kt") + public void testPrivateCompanionObjectAccessedFromAnonymousObjectInNestedClass() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/privateCompanionObjectAccessedFromAnonymousObjectInNestedClass.kt"); + } + + @TestMetadata("privateCompanionObjectAccessedFromInitBlock.kt") + public void testPrivateCompanionObjectAccessedFromInitBlock() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/privateCompanionObjectAccessedFromInitBlock.kt"); + } + + @TestMetadata("privateCompanionObjectAccessedFromInitBlockOfNestedClass.kt") + public void testPrivateCompanionObjectAccessedFromInitBlockOfNestedClass() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/privateCompanionObjectAccessedFromInitBlockOfNestedClass.kt"); + } + + @TestMetadata("privateCompanionObjectAccessedFromInlineLambdaInNestedClass.kt") + public void testPrivateCompanionObjectAccessedFromInlineLambdaInNestedClass() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/privateCompanionObjectAccessedFromInlineLambdaInNestedClass.kt"); + } + + @TestMetadata("privateCompanionObjectAccessedFromLambdaInNestedClass.kt") + public void testPrivateCompanionObjectAccessedFromLambdaInNestedClass() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/privateCompanionObjectAccessedFromLambdaInNestedClass.kt"); + } + + @TestMetadata("privateCompanionObjectAccessedFromMethodInlinedInNestedClass.kt") + public void testPrivateCompanionObjectAccessedFromMethodInlinedInNestedClass() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/privateCompanionObjectAccessedFromMethodInlinedInNestedClass.kt"); + } + + @TestMetadata("privateCompanionObjectAccessedFromNestedClass.kt") + public void testPrivateCompanionObjectAccessedFromNestedClass() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/privateCompanionObjectAccessedFromNestedClass.kt"); + } + + @TestMetadata("privateCompanionObjectAccessedFromNestedClassSeveralTimes.kt") + public void testPrivateCompanionObjectAccessedFromNestedClassSeveralTimes() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/privateCompanionObjectAccessedFromNestedClassSeveralTimes.kt"); + } + + @TestMetadata("privateCompanionObjectUsedInNestedClass.kt") + public void testPrivateCompanionObjectUsedInNestedClass() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/privateCompanionObjectUsedInNestedClass.kt"); + } + + @TestMetadata("protectedCompanionObjectAccessedFromNestedClass.kt") + public void testProtectedCompanionObjectAccessedFromNestedClass() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/protectedCompanionObjectAccessedFromNestedClass.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/objects/companionObjectAccess/multipleCompanionsWithAccessors") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class MultipleCompanionsWithAccessors extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + @TestMetadata("accessFromInlineLambda.kt") + public void testAccessFromInlineLambda() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/multipleCompanionsWithAccessors/accessFromInlineLambda.kt"); + } + + public void testAllFilesPresentInMultipleCompanionsWithAccessors() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/objects/companionObjectAccess/multipleCompanionsWithAccessors"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("anonymousObjectInPropertyInitializer.kt") + public void testAnonymousObjectInPropertyInitializer() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/multipleCompanionsWithAccessors/anonymousObjectInPropertyInitializer.kt"); + } + + @TestMetadata("fromAnonymousObjectInNestedClass.kt") + public void testFromAnonymousObjectInNestedClass() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/multipleCompanionsWithAccessors/fromAnonymousObjectInNestedClass.kt"); + } + + @TestMetadata("fromInitBlock.kt") + public void testFromInitBlock() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/multipleCompanionsWithAccessors/fromInitBlock.kt"); + } + + @TestMetadata("fromInitBlockOfNestedClass.kt") + public void testFromInitBlockOfNestedClass() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/multipleCompanionsWithAccessors/fromInitBlockOfNestedClass.kt"); + } + + @TestMetadata("fromInlineLambdaInNestedClass.kt") + public void testFromInlineLambdaInNestedClass() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/multipleCompanionsWithAccessors/fromInlineLambdaInNestedClass.kt"); + } + + @TestMetadata("inheritedProtectedCompanionAndOwnPrivateCompanion.kt") + public void testInheritedProtectedCompanionAndOwnPrivateCompanion() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/multipleCompanionsWithAccessors/inheritedProtectedCompanionAndOwnPrivateCompanion.kt"); + } + + @TestMetadata("inheritedProtectedCompanionsReferencedByName.kt") + public void testInheritedProtectedCompanionsReferencedByName() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/multipleCompanionsWithAccessors/inheritedProtectedCompanionsReferencedByName.kt"); + } + + @TestMetadata("lambdaInPropertyInitializer.kt") + public void testLambdaInPropertyInitializer() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/multipleCompanionsWithAccessors/lambdaInPropertyInitializer.kt"); + } + + @TestMetadata("twoInheritedProtectedCompanions.kt") + public void testTwoInheritedProtectedCompanions() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/multipleCompanionsWithAccessors/twoInheritedProtectedCompanions.kt"); + } + + @TestMetadata("withCompanionObjectBase.kt") + public void testWithCompanionObjectBase() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/multipleCompanionsWithAccessors/withCompanionObjectBase.kt"); + } + + @TestMetadata("withMultipleNestedCompanionObjectBases.kt") + public void testWithMultipleNestedCompanionObjectBases() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/multipleCompanionsWithAccessors/withMultipleNestedCompanionObjectBases.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/objects/companionObjectAccess/primitiveCompanion") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class PrimitiveCompanion extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInPrimitiveCompanion() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/objects/companionObjectAccess/primitiveCompanion"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("byteCompanionObject.kt") + public void testByteCompanionObject() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/primitiveCompanion/byteCompanionObject.kt"); + } + + @TestMetadata("charCompanionObject.kt") + public void testCharCompanionObject() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/primitiveCompanion/charCompanionObject.kt"); + } + + @TestMetadata("doubleCompanionObject.kt") + public void testDoubleCompanionObject() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/primitiveCompanion/doubleCompanionObject.kt"); + } + + @TestMetadata("floatCompanionObject.kt") + public void testFloatCompanionObject() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/primitiveCompanion/floatCompanionObject.kt"); + } + + @TestMetadata("intCompanionObject.kt") + public void testIntCompanionObject() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/primitiveCompanion/intCompanionObject.kt"); + } + + @TestMetadata("longCompanionObject.kt") + public void testLongCompanionObject() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/primitiveCompanion/longCompanionObject.kt"); + } + + @TestMetadata("shortCompanionObject.kt") + public void testShortCompanionObject() throws Exception { + runTest("compiler/testData/codegen/box/objects/companionObjectAccess/primitiveCompanion/shortCompanionObject.kt"); + } + } + } + } + + @TestMetadata("compiler/testData/codegen/box/operatorConventions") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class OperatorConventions extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInOperatorConventions() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/operatorConventions"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("annotatedAssignment.kt") + public void testAnnotatedAssignment() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/annotatedAssignment.kt"); + } + + @TestMetadata("assignmentOperations.kt") + public void testAssignmentOperations() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/assignmentOperations.kt"); + } + + @TestMetadata("augmentedAssignmentInInitializer.kt") + public void testAugmentedAssignmentInInitializer() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/augmentedAssignmentInInitializer.kt"); + } + + @TestMetadata("augmentedAssignmentWithArrayLHS.kt") + public void testAugmentedAssignmentWithArrayLHS() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/augmentedAssignmentWithArrayLHS.kt"); + } + + @TestMetadata("genericArrayAccessCall.kt") + public void testGenericArrayAccessCall() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/genericArrayAccessCall.kt"); + } + + @TestMetadata("incDecOnObject.kt") + public void testIncDecOnObject() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/incDecOnObject.kt"); + } + + @TestMetadata("infixFunctionOverBuiltinMember.kt") + public void testInfixFunctionOverBuiltinMember() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/infixFunctionOverBuiltinMember.kt"); + } + + @TestMetadata("kt14201.kt") + public void testKt14201() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/kt14201.kt"); + } + + @TestMetadata("kt14201_2.kt") + public void testKt14201_2() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/kt14201_2.kt"); + } + + @TestMetadata("kt20387.kt") + public void testKt20387() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/kt20387.kt"); + } + + @TestMetadata("kt4152.kt") + public void testKt4152() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/kt4152.kt"); + } + + @TestMetadata("kt4987.kt") + public void testKt4987() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/kt4987.kt"); + } + + @TestMetadata("nestedMaps.kt") + public void testNestedMaps() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/nestedMaps.kt"); + } + + @TestMetadata("operatorSetLambda.kt") + public void testOperatorSetLambda() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/operatorSetLambda.kt"); + } + + @TestMetadata("overloadedSet.kt") + public void testOverloadedSet() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/overloadedSet.kt"); + } + + @TestMetadata("plusExplicit.kt") + public void testPlusExplicit() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/plusExplicit.kt"); + } + + @TestMetadata("remAssignmentOperation.kt") + public void testRemAssignmentOperation() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/remAssignmentOperation.kt"); + } + + @TestMetadata("remOverModOperation.kt") + public void testRemOverModOperation() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/remOverModOperation.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/operatorConventions/compareTo") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class CompareTo extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInCompareTo() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/operatorConventions/compareTo"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("boolean.kt") + public void testBoolean() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/compareTo/boolean.kt"); + } + + @TestMetadata("comparable.kt") + public void testComparable() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/compareTo/comparable.kt"); + } + + @TestMetadata("customCompareTo.kt") + public void testCustomCompareTo() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/compareTo/customCompareTo.kt"); + } + + @TestMetadata("doubleInt.kt") + public void testDoubleInt() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/compareTo/doubleInt.kt"); + } + + @TestMetadata("doubleLong.kt") + public void testDoubleLong() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/compareTo/doubleLong.kt"); + } + + @TestMetadata("extensionArray.kt") + public void testExtensionArray() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/compareTo/extensionArray.kt"); + } + + @TestMetadata("extensionObject.kt") + public void testExtensionObject() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/compareTo/extensionObject.kt"); + } + + @TestMetadata("intDouble.kt") + public void testIntDouble() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/compareTo/intDouble.kt"); + } + + @TestMetadata("intLong.kt") + public void testIntLong() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/compareTo/intLong.kt"); + } + + @TestMetadata("longDouble.kt") + public void testLongDouble() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/compareTo/longDouble.kt"); + } + + @TestMetadata("longInt.kt") + public void testLongInt() throws Exception { + runTest("compiler/testData/codegen/box/operatorConventions/compareTo/longInt.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/optimizations") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Optimizations extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInOptimizations() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/optimizations"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/package") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Package extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInPackage() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/package"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("boxPrimitiveTypeInClinit.kt") + public void testBoxPrimitiveTypeInClinit() throws Exception { + runTest("compiler/testData/codegen/box/package/boxPrimitiveTypeInClinit.kt"); + } + + @TestMetadata("checkCast.kt") + public void testCheckCast() throws Exception { + runTest("compiler/testData/codegen/box/package/checkCast.kt"); + } + + @TestMetadata("incrementProperty.kt") + public void testIncrementProperty() throws Exception { + runTest("compiler/testData/codegen/box/package/incrementProperty.kt"); + } + + @TestMetadata("nullablePrimitiveNoFieldInitializer.kt") + public void testNullablePrimitiveNoFieldInitializer() throws Exception { + runTest("compiler/testData/codegen/box/package/nullablePrimitiveNoFieldInitializer.kt"); + } + + @TestMetadata("packageLocalClassNotImportedWithDefaultImport.kt") + public void testPackageLocalClassNotImportedWithDefaultImport() throws Exception { + runTest("compiler/testData/codegen/box/package/packageLocalClassNotImportedWithDefaultImport.kt"); + } + + @TestMetadata("packageQualifiedMethod.kt") + public void testPackageQualifiedMethod() throws Exception { + runTest("compiler/testData/codegen/box/package/packageQualifiedMethod.kt"); + } + + @TestMetadata("privateMembersInImportList.kt") + public void testPrivateMembersInImportList() throws Exception { + runTest("compiler/testData/codegen/box/package/privateMembersInImportList.kt"); + } + + @TestMetadata("privateTopLevelPropAndVarInInner.kt") + public void testPrivateTopLevelPropAndVarInInner() throws Exception { + runTest("compiler/testData/codegen/box/package/privateTopLevelPropAndVarInInner.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/polymorphicSignature") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class PolymorphicSignature extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInPolymorphicSignature() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/polymorphicSignature"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/primitiveTypes") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class PrimitiveTypes extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInPrimitiveTypes() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/primitiveTypes"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("comparisonWithNullCallsFun.kt") + public void testComparisonWithNullCallsFun() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/comparisonWithNullCallsFun.kt"); + } + + @TestMetadata("conversions.kt") + public void testConversions() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/conversions.kt"); + } + + @TestMetadata("ea35963.kt") + public void testEa35963() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/ea35963.kt"); + } + + @TestMetadata("equalsHashCodeToString.kt") + public void testEqualsHashCodeToString() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalsHashCodeToString.kt"); + } + + @TestMetadata("incrementByteCharShort.kt") + public void testIncrementByteCharShort() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/incrementByteCharShort.kt"); + } + + @TestMetadata("intLiteralIsNotNull.kt") + public void testIntLiteralIsNotNull() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/intLiteralIsNotNull.kt"); + } + + @TestMetadata("kt1054.kt") + public void testKt1054() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt1054.kt"); + } + + @TestMetadata("kt1055.kt") + public void testKt1055() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt1055.kt"); + } + + @TestMetadata("kt1093.kt") + public void testKt1093() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt1093.kt"); + } + + @TestMetadata("kt13023.kt") + public void testKt13023() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt13023.kt"); + } + + @TestMetadata("kt14868.kt") + public void testKt14868() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt14868.kt"); + } + + @TestMetadata("kt1508.kt") + public void testKt1508() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt1508.kt"); + } + + @TestMetadata("kt1634.kt") + public void testKt1634() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt1634.kt"); + } + + @TestMetadata("kt16732.kt") + public void testKt16732() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt16732.kt"); + } + + @TestMetadata("kt2251.kt") + public void testKt2251() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt2251.kt"); + } + + @TestMetadata("kt2269.kt") + public void testKt2269() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt2269.kt"); + } + + @TestMetadata("kt2269NotOptimizable.kt") + public void testKt2269NotOptimizable() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt2269NotOptimizable.kt"); + } + + @TestMetadata("kt2275.kt") + public void testKt2275() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt2275.kt"); + } + + @TestMetadata("kt239.kt") + public void testKt239() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt239.kt"); + } + + @TestMetadata("kt242.kt") + public void testKt242() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt242.kt"); + } + + @TestMetadata("kt248.kt") + public void testKt248() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt248.kt"); + } + + @TestMetadata("kt2768.kt") + public void testKt2768() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt2768.kt"); + } + + @TestMetadata("kt2794.kt") + public void testKt2794() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt2794.kt"); + } + + @TestMetadata("kt3078.kt") + public void testKt3078() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt3078.kt"); + } + + @TestMetadata("kt3517.kt") + public void testKt3517() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt3517.kt"); + } + + @TestMetadata("kt3576.kt") + public void testKt3576() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt3576.kt"); + } + + @TestMetadata("kt3613.kt") + public void testKt3613() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt3613.kt"); + } + + @TestMetadata("kt37505.kt") + public void testKt37505() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt37505.kt"); + } + + @TestMetadata("kt4097.kt") + public void testKt4097() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt4097.kt"); + } + + @TestMetadata("kt4098.kt") + public void testKt4098() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt4098.kt"); + } + + @TestMetadata("kt4210.kt") + public void testKt4210() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt4210.kt"); + } + + @TestMetadata("kt4251.kt") + public void testKt4251() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt4251.kt"); + } + + @TestMetadata("kt446.kt") + public void testKt446() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt446.kt"); + } + + @TestMetadata("kt518.kt") + public void testKt518() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt518.kt"); + } + + @TestMetadata("kt6590_identityEquals.kt") + public void testKt6590_identityEquals() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt6590_identityEquals.kt"); + } + + @TestMetadata("kt665.kt") + public void testKt665() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt665.kt"); + } + + @TestMetadata("kt711.kt") + public void testKt711() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt711.kt"); + } + + @TestMetadata("kt737.kt") + public void testKt737() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt737.kt"); + } + + @TestMetadata("kt828.kt") + public void testKt828() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt828.kt"); + } + + @TestMetadata("kt877.kt") + public void testKt877() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt877.kt"); + } + + @TestMetadata("kt882.kt") + public void testKt882() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt882.kt"); + } + + @TestMetadata("kt887.kt") + public void testKt887() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/kt887.kt"); + } + + @TestMetadata("nullableAsIndex.kt") + public void testNullableAsIndex() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/nullableAsIndex.kt"); + } + + @TestMetadata("nullableCharBoolean.kt") + public void testNullableCharBoolean() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/nullableCharBoolean.kt"); + } + + @TestMetadata("numberEqualsHashCodeToString.kt") + public void testNumberEqualsHashCodeToString() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/numberEqualsHashCodeToString.kt"); + } + + @TestMetadata("rangeTo.kt") + public void testRangeTo() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/rangeTo.kt"); + } + + @TestMetadata("unboxComparable.kt") + public void testUnboxComparable() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/unboxComparable.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/primitiveTypes/equalityWithObject") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class EqualityWithObject extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInEqualityWithObject() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/primitiveTypes/equalityWithObject"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("boxedEqPrimitiveEvaluationOrder.kt") + public void testBoxedEqPrimitiveEvaluationOrder() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/boxedEqPrimitiveEvaluationOrder.kt"); + } + + @TestMetadata("boxedLongEqualsLong.kt") + public void testBoxedLongEqualsLong() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/boxedLongEqualsLong.kt"); + } + + @TestMetadata("intEqualsNull.kt") + public void testIntEqualsNull() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/intEqualsNull.kt"); + } + + @TestMetadata("intEqualsNullableInt.kt") + public void testIntEqualsNullableInt() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/intEqualsNullableInt.kt"); + } + + @TestMetadata("intEqualsNullableIntWithSmartCasts.kt") + public void testIntEqualsNullableIntWithSmartCasts() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/intEqualsNullableIntWithSmartCasts.kt"); + } + + @TestMetadata("objectWithAsymmetricEqualsEqPrimitive.kt") + public void testObjectWithAsymmetricEqualsEqPrimitive() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/objectWithAsymmetricEqualsEqPrimitive.kt"); + } + + @TestMetadata("whenIntAsNullableAny.kt") + public void testWhenIntAsNullableAny() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/whenIntAsNullableAny.kt"); + } + + @TestMetadata("whenNullableBoxed.kt") + public void testWhenNullableBoxed() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/whenNullableBoxed.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/generated") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Generated extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInGenerated() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/generated"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("boxedEqPrimitiveBoolean.kt") + public void testBoxedEqPrimitiveBoolean() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/generated/boxedEqPrimitiveBoolean.kt"); + } + + @TestMetadata("boxedEqPrimitiveByte.kt") + public void testBoxedEqPrimitiveByte() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/generated/boxedEqPrimitiveByte.kt"); + } + + @TestMetadata("boxedEqPrimitiveChar.kt") + public void testBoxedEqPrimitiveChar() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/generated/boxedEqPrimitiveChar.kt"); + } + + @TestMetadata("boxedEqPrimitiveInt.kt") + public void testBoxedEqPrimitiveInt() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/generated/boxedEqPrimitiveInt.kt"); + } + + @TestMetadata("boxedEqPrimitiveLong.kt") + public void testBoxedEqPrimitiveLong() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/generated/boxedEqPrimitiveLong.kt"); + } + + @TestMetadata("boxedEqPrimitiveShort.kt") + public void testBoxedEqPrimitiveShort() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/generated/boxedEqPrimitiveShort.kt"); + } + + @TestMetadata("primitiveEqBoxedBoolean.kt") + public void testPrimitiveEqBoxedBoolean() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/generated/primitiveEqBoxedBoolean.kt"); + } + + @TestMetadata("primitiveEqBoxedByte.kt") + public void testPrimitiveEqBoxedByte() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/generated/primitiveEqBoxedByte.kt"); + } + + @TestMetadata("primitiveEqBoxedChar.kt") + public void testPrimitiveEqBoxedChar() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/generated/primitiveEqBoxedChar.kt"); + } + + @TestMetadata("primitiveEqBoxedInt.kt") + public void testPrimitiveEqBoxedInt() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/generated/primitiveEqBoxedInt.kt"); + } + + @TestMetadata("primitiveEqBoxedLong.kt") + public void testPrimitiveEqBoxedLong() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/generated/primitiveEqBoxedLong.kt"); + } + + @TestMetadata("primitiveEqBoxedShort.kt") + public void testPrimitiveEqBoxedShort() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/generated/primitiveEqBoxedShort.kt"); + } + + @TestMetadata("primitiveEqObjectBoolean.kt") + public void testPrimitiveEqObjectBoolean() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/generated/primitiveEqObjectBoolean.kt"); + } + + @TestMetadata("primitiveEqObjectByte.kt") + public void testPrimitiveEqObjectByte() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/generated/primitiveEqObjectByte.kt"); + } + + @TestMetadata("primitiveEqObjectChar.kt") + public void testPrimitiveEqObjectChar() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/generated/primitiveEqObjectChar.kt"); + } + + @TestMetadata("primitiveEqObjectInt.kt") + public void testPrimitiveEqObjectInt() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/generated/primitiveEqObjectInt.kt"); + } + + @TestMetadata("primitiveEqObjectLong.kt") + public void testPrimitiveEqObjectLong() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/generated/primitiveEqObjectLong.kt"); + } + + @TestMetadata("primitiveEqObjectShort.kt") + public void testPrimitiveEqObjectShort() throws Exception { + runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/generated/primitiveEqObjectShort.kt"); + } + } + } + } + + @TestMetadata("compiler/testData/codegen/box/private") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Private extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInPrivate() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/private"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("arrayConvention.kt") + public void testArrayConvention() throws Exception { + runTest("compiler/testData/codegen/box/private/arrayConvention.kt"); + } + + @TestMetadata("kt9855.kt") + public void testKt9855() throws Exception { + runTest("compiler/testData/codegen/box/private/kt9855.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/privateConstructors") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class PrivateConstructors extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInPrivateConstructors() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/privateConstructors"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("base.kt") + public void testBase() throws Exception { + runTest("compiler/testData/codegen/box/privateConstructors/base.kt"); + } + + @TestMetadata("captured.kt") + public void testCaptured() throws Exception { + runTest("compiler/testData/codegen/box/privateConstructors/captured.kt"); + } + + @TestMetadata("companion.kt") + public void testCompanion() throws Exception { + runTest("compiler/testData/codegen/box/privateConstructors/companion.kt"); + } + + @TestMetadata("inline.kt") + public void testInline() throws Exception { + runTest("compiler/testData/codegen/box/privateConstructors/inline.kt"); + } + + @TestMetadata("inner.kt") + public void testInner() throws Exception { + runTest("compiler/testData/codegen/box/privateConstructors/inner.kt"); + } + + @TestMetadata("kt4860.kt") + public void testKt4860() throws Exception { + runTest("compiler/testData/codegen/box/privateConstructors/kt4860.kt"); + } + + @TestMetadata("secondary.kt") + public void testSecondary() throws Exception { + runTest("compiler/testData/codegen/box/privateConstructors/secondary.kt"); + } + + @TestMetadata("withArguments.kt") + public void testWithArguments() throws Exception { + runTest("compiler/testData/codegen/box/privateConstructors/withArguments.kt"); + } + + @TestMetadata("withDefault.kt") + public void testWithDefault() throws Exception { + runTest("compiler/testData/codegen/box/privateConstructors/withDefault.kt"); + } + + @TestMetadata("withLinkedClasses.kt") + public void testWithLinkedClasses() throws Exception { + runTest("compiler/testData/codegen/box/privateConstructors/withLinkedClasses.kt"); + } + + @TestMetadata("withLinkedObjects.kt") + public void testWithLinkedObjects() throws Exception { + runTest("compiler/testData/codegen/box/privateConstructors/withLinkedObjects.kt"); + } + + @TestMetadata("withVarargs.kt") + public void testWithVarargs() throws Exception { + runTest("compiler/testData/codegen/box/privateConstructors/withVarargs.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/properties") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Properties extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + @TestMetadata("accessToPrivateProperty.kt") + public void testAccessToPrivateProperty() throws Exception { + runTest("compiler/testData/codegen/box/properties/accessToPrivateProperty.kt"); + } + + @TestMetadata("accessorForProtectedPropertyWithPrivateSetter.kt") + public void testAccessorForProtectedPropertyWithPrivateSetter() throws Exception { + runTest("compiler/testData/codegen/box/properties/accessorForProtectedPropertyWithPrivateSetter.kt"); + } + + @TestMetadata("accessorForProtectedPropertyWithPrivateSetterInObjectLiteral.kt") + public void testAccessorForProtectedPropertyWithPrivateSetterInObjectLiteral() throws Exception { + runTest("compiler/testData/codegen/box/properties/accessorForProtectedPropertyWithPrivateSetterInObjectLiteral.kt"); + } + + @TestMetadata("accessorForProtectedPropertyWithPrivateSetterViaSuper.kt") + public void testAccessorForProtectedPropertyWithPrivateSetterViaSuper() throws Exception { + runTest("compiler/testData/codegen/box/properties/accessorForProtectedPropertyWithPrivateSetterViaSuper.kt"); + } + + @TestMetadata("accessorForProtectedPropertyWithPrivateSetterWithIntermediateClass.kt") + public void testAccessorForProtectedPropertyWithPrivateSetterWithIntermediateClass() throws Exception { + runTest("compiler/testData/codegen/box/properties/accessorForProtectedPropertyWithPrivateSetterWithIntermediateClass.kt"); + } + + public void testAllFilesPresentInProperties() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("classArtificialFieldInsideNested.kt") + public void testClassArtificialFieldInsideNested() throws Exception { + runTest("compiler/testData/codegen/box/properties/classArtificialFieldInsideNested.kt"); + } + + @TestMetadata("classFieldInsideLambda.kt") + public void testClassFieldInsideLambda() throws Exception { + runTest("compiler/testData/codegen/box/properties/classFieldInsideLambda.kt"); + } + + @TestMetadata("classFieldInsideLocalInSetter.kt") + public void testClassFieldInsideLocalInSetter() throws Exception { + runTest("compiler/testData/codegen/box/properties/classFieldInsideLocalInSetter.kt"); + } + + @TestMetadata("classFieldInsideNested.kt") + public void testClassFieldInsideNested() throws Exception { + runTest("compiler/testData/codegen/box/properties/classFieldInsideNested.kt"); + } + + @TestMetadata("classFieldInsideNestedLambda.kt") + public void testClassFieldInsideNestedLambda() throws Exception { + runTest("compiler/testData/codegen/box/properties/classFieldInsideNestedLambda.kt"); + } + + @TestMetadata("classFieldInsideNestedNestedLambda.kt") + public void testClassFieldInsideNestedNestedLambda() throws Exception { + runTest("compiler/testData/codegen/box/properties/classFieldInsideNestedNestedLambda.kt"); + } + + @TestMetadata("classObjectProperties.kt") + public void testClassObjectProperties() throws Exception { + runTest("compiler/testData/codegen/box/properties/classObjectProperties.kt"); + } + + @TestMetadata("classPrivateArtificialFieldInsideNested.kt") + public void testClassPrivateArtificialFieldInsideNested() throws Exception { + runTest("compiler/testData/codegen/box/properties/classPrivateArtificialFieldInsideNested.kt"); + } + + @TestMetadata("companionFieldInsideLambda.kt") + public void testCompanionFieldInsideLambda() throws Exception { + runTest("compiler/testData/codegen/box/properties/companionFieldInsideLambda.kt"); + } + + @TestMetadata("companionPrivateField.kt") + public void testCompanionPrivateField() throws Exception { + runTest("compiler/testData/codegen/box/properties/companionPrivateField.kt"); + } + + @TestMetadata("companionPrivateFieldInsideLambda.kt") + public void testCompanionPrivateFieldInsideLambda() throws Exception { + runTest("compiler/testData/codegen/box/properties/companionPrivateFieldInsideLambda.kt"); + } + + @TestMetadata("field.kt") + public void testField() throws Exception { + runTest("compiler/testData/codegen/box/properties/field.kt"); + } + + @TestMetadata("fieldInClass.kt") + public void testFieldInClass() throws Exception { + runTest("compiler/testData/codegen/box/properties/fieldInClass.kt"); + } + + @TestMetadata("fieldInsideField.kt") + public void testFieldInsideField() throws Exception { + runTest("compiler/testData/codegen/box/properties/fieldInsideField.kt"); + } + + @TestMetadata("fieldInsideLambda.kt") + public void testFieldInsideLambda() throws Exception { + runTest("compiler/testData/codegen/box/properties/fieldInsideLambda.kt"); + } + + @TestMetadata("fieldInsideNested.kt") + public void testFieldInsideNested() throws Exception { + runTest("compiler/testData/codegen/box/properties/fieldInsideNested.kt"); + } + + @TestMetadata("fieldSimple.kt") + public void testFieldSimple() throws Exception { + runTest("compiler/testData/codegen/box/properties/fieldSimple.kt"); + } + + @TestMetadata("generalAccess.kt") + public void testGeneralAccess() throws Exception { + runTest("compiler/testData/codegen/box/properties/generalAccess.kt"); + } + + @TestMetadata("genericWithSameName.kt") + public void testGenericWithSameName() throws Exception { + runTest("compiler/testData/codegen/box/properties/genericWithSameName.kt"); + } + + @TestMetadata("initOrderMultiModule.kt") + public void testInitOrderMultiModule() throws Exception { + runTest("compiler/testData/codegen/box/properties/initOrderMultiModule.kt"); + } + + @TestMetadata("kt10715.kt") + public void testKt10715() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt10715.kt"); + } + + @TestMetadata("kt10729.kt") + public void testKt10729() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt10729.kt"); + } + + @TestMetadata("kt1165.kt") + public void testKt1165() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt1165.kt"); + } + + @TestMetadata("kt1168.kt") + public void testKt1168() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt1168.kt"); + } + + @TestMetadata("kt1170.kt") + public void testKt1170() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt1170.kt"); + } + + @TestMetadata("kt1417.kt") + public void testKt1417() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt1417.kt"); + } + + @TestMetadata("kt1714_minimal.kt") + public void testKt1714_minimal() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt1714_minimal.kt"); + } + + @TestMetadata("kt1892.kt") + public void testKt1892() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt1892.kt"); + } + + @TestMetadata("kt2331.kt") + public void testKt2331() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt2331.kt"); + } + + @TestMetadata("kt257.kt") + public void testKt257() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt257.kt"); + } + + @TestMetadata("kt2655.kt") + public void testKt2655() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt2655.kt"); + } + + @TestMetadata("kt2786.kt") + public void testKt2786() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt2786.kt"); + } + + @TestMetadata("kt2892.kt") + public void testKt2892() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt2892.kt"); + } + + @TestMetadata("kt3118.kt") + public void testKt3118() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt3118.kt"); + } + + @TestMetadata("kt3524.kt") + public void testKt3524() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt3524.kt"); + } + + @TestMetadata("kt3551.kt") + public void testKt3551() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt3551.kt"); + } + + @TestMetadata("kt3556.kt") + public void testKt3556() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt3556.kt"); + } + + @TestMetadata("kt3930.kt") + public void testKt3930() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt3930.kt"); + } + + @TestMetadata("kt4140.kt") + public void testKt4140() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt4140.kt"); + } + + @TestMetadata("kt4252.kt") + public void testKt4252() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt4252.kt"); + } + + @TestMetadata("kt4252_2.kt") + public void testKt4252_2() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt4252_2.kt"); + } + + @TestMetadata("kt4340.kt") + public void testKt4340() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt4340.kt"); + } + + @TestMetadata("kt4373.kt") + public void testKt4373() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt4373.kt"); + } + + @TestMetadata("kt613.kt") + public void testKt613() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt613.kt"); + } + + @TestMetadata("kt8928.kt") + public void testKt8928() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt8928.kt"); + } + + @TestMetadata("kt9603.kt") + public void testKt9603() throws Exception { + runTest("compiler/testData/codegen/box/properties/kt9603.kt"); + } + + @TestMetadata("primitiveOverrideDefaultAccessor.kt") + public void testPrimitiveOverrideDefaultAccessor() throws Exception { + runTest("compiler/testData/codegen/box/properties/primitiveOverrideDefaultAccessor.kt"); + } + + @TestMetadata("privateAccessorOfOverriddenProperty.kt") + public void testPrivateAccessorOfOverriddenProperty() throws Exception { + runTest("compiler/testData/codegen/box/properties/privateAccessorOfOverriddenProperty.kt"); + } + + @TestMetadata("privatePropertyInConstructor.kt") + public void testPrivatePropertyInConstructor() throws Exception { + runTest("compiler/testData/codegen/box/properties/privatePropertyInConstructor.kt"); + } + + @TestMetadata("privatePropertyWithoutBackingField.kt") + public void testPrivatePropertyWithoutBackingField() throws Exception { + runTest("compiler/testData/codegen/box/properties/privatePropertyWithoutBackingField.kt"); + } + + @TestMetadata("sideEffectInTopLevelInitializerMultiModule.kt") + public void testSideEffectInTopLevelInitializerMultiModule() throws Exception { + runTest("compiler/testData/codegen/box/properties/sideEffectInTopLevelInitializerMultiModule.kt"); + } + + @TestMetadata("twoAnnotatedExtensionPropertiesWithoutBackingFields.kt") + public void testTwoAnnotatedExtensionPropertiesWithoutBackingFields() throws Exception { + runTest("compiler/testData/codegen/box/properties/twoAnnotatedExtensionPropertiesWithoutBackingFields.kt"); + } + + @TestMetadata("typeInferredFromGetter.kt") + public void testTypeInferredFromGetter() throws Exception { + runTest("compiler/testData/codegen/box/properties/typeInferredFromGetter.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/properties/const") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Const extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInConst() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties/const"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("anotherFile.kt") + public void testAnotherFile() throws Exception { + runTest("compiler/testData/codegen/box/properties/const/anotherFile.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/properties/lateinit") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Lateinit extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + @TestMetadata("accessor.kt") + public void testAccessor() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/accessor.kt"); + } + + public void testAllFilesPresentInLateinit() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties/lateinit"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("nameClash.kt") + public void testNameClash() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/nameClash.kt"); + } + + @TestMetadata("override.kt") + public void testOverride() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/override.kt"); + } + + @TestMetadata("privateSetter.kt") + public void testPrivateSetter() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/privateSetter.kt"); + } + + @TestMetadata("privateSetterFromLambda.kt") + public void testPrivateSetterFromLambda() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/privateSetterFromLambda.kt"); + } + + @TestMetadata("privateSetterViaSubclass.kt") + public void testPrivateSetterViaSubclass() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/privateSetterViaSubclass.kt"); + } + + @TestMetadata("simpleVar.kt") + public void testSimpleVar() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/simpleVar.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/properties/lateinit/isInitializedAndDeinitialize") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class IsInitializedAndDeinitialize extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInIsInitializedAndDeinitialize() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties/lateinit/isInitializedAndDeinitialize"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("companionObjectField.kt") + public void testCompanionObjectField() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/isInitializedAndDeinitialize/companionObjectField.kt"); + } + + @TestMetadata("emptyLhs.kt") + public void testEmptyLhs() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/isInitializedAndDeinitialize/emptyLhs.kt"); + } + + @TestMetadata("innerSubclass.kt") + public void testInnerSubclass() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/isInitializedAndDeinitialize/innerSubclass.kt"); + } + + @TestMetadata("isInitializedMultiFile.kt") + public void testIsInitializedMultiFile() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/isInitializedAndDeinitialize/isInitializedMultiFile.kt"); + } + + @TestMetadata("nonInlineLambda.kt") + public void testNonInlineLambda() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/isInitializedAndDeinitialize/nonInlineLambda.kt"); + } + + @TestMetadata("propertyImportedFromObject.kt") + public void testPropertyImportedFromObject() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/isInitializedAndDeinitialize/propertyImportedFromObject.kt"); + } + + @TestMetadata("sideEffects.kt") + public void testSideEffects() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/isInitializedAndDeinitialize/sideEffects.kt"); + } + + @TestMetadata("topLevelProperty.kt") + public void testTopLevelProperty() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/isInitializedAndDeinitialize/topLevelProperty.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/properties/lateinit/local") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Local extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInLocal() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties/lateinit/local"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("capturedLocalLateinit.kt") + public void testCapturedLocalLateinit() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/local/capturedLocalLateinit.kt"); + } + + @TestMetadata("localLateinit.kt") + public void testLocalLateinit() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/local/localLateinit.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/properties/lateinit/topLevel") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class TopLevel extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + @TestMetadata("accessorForTopLevelLateinit.kt") + public void testAccessorForTopLevelLateinit() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/topLevel/accessorForTopLevelLateinit.kt"); + } + + public void testAllFilesPresentInTopLevel() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties/lateinit/topLevel"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("topLevelLateinit.kt") + public void testTopLevelLateinit() throws Exception { + runTest("compiler/testData/codegen/box/properties/lateinit/topLevel/topLevelLateinit.kt"); + } + } + } + } + + @TestMetadata("compiler/testData/codegen/box/publishedApi") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class PublishedApi extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInPublishedApi() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/publishedApi"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("simple.kt") + public void testSimple() throws Exception { + runTest("compiler/testData/codegen/box/publishedApi/simple.kt"); + } + + @TestMetadata("topLevel.kt") + public void testTopLevel() throws Exception { + runTest("compiler/testData/codegen/box/publishedApi/topLevel.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Ranges extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInRanges() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true, "stepped/unsigned"); + } + + @TestMetadata("forByteProgressionWithIntIncrement.kt") + public void testForByteProgressionWithIntIncrement() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forByteProgressionWithIntIncrement.kt"); + } + + @TestMetadata("forInRangeLiteralWithMixedTypeBounds.kt") + public void testForInRangeLiteralWithMixedTypeBounds() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInRangeLiteralWithMixedTypeBounds.kt"); + } + + @TestMetadata("forInRangeWithImplicitReceiver.kt") + public void testForInRangeWithImplicitReceiver() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInRangeWithImplicitReceiver.kt"); + } + + @TestMetadata("forInStringVarUpdatedInLoopBody.kt") + public void testForInStringVarUpdatedInLoopBody() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInStringVarUpdatedInLoopBody.kt"); + } + + @TestMetadata("forIntRange.kt") + public void testForIntRange() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forIntRange.kt"); + } + + @TestMetadata("forNullableIntInRangeWithImplicitReceiver.kt") + public void testForNullableIntInRangeWithImplicitReceiver() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forNullableIntInRangeWithImplicitReceiver.kt"); + } + + @TestMetadata("kt37370a.kt") + public void testKt37370a() throws Exception { + runTest("compiler/testData/codegen/box/ranges/kt37370a.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/ranges/contains") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Contains extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInContains() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/contains"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("comparisonWithRangeBoundEliminated.kt") + public void testComparisonWithRangeBoundEliminated() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/comparisonWithRangeBoundEliminated.kt"); + } + + @TestMetadata("genericCharInRangeLiteral.kt") + public void testGenericCharInRangeLiteral() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/genericCharInRangeLiteral.kt"); + } + + @TestMetadata("inArray.kt") + public void testInArray() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/inArray.kt"); + } + + @TestMetadata("inCustomObjectRange.kt") + public void testInCustomObjectRange() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/inCustomObjectRange.kt"); + } + + @TestMetadata("inDoubleRangeLiteralVsComparableRangeLiteral.kt") + public void testInDoubleRangeLiteralVsComparableRangeLiteral() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/inDoubleRangeLiteralVsComparableRangeLiteral.kt"); + } + + @TestMetadata("inFloatingPointRangeWithNaNBound.kt") + public void testInFloatingPointRangeWithNaNBound() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/inFloatingPointRangeWithNaNBound.kt"); + } + + @TestMetadata("inIterable.kt") + public void testInIterable() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/inIterable.kt"); + } + + @TestMetadata("inNonMatchingRange.kt") + public void testInNonMatchingRange() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/inNonMatchingRange.kt"); + } + + @TestMetadata("inPrimitiveRange.kt") + public void testInPrimitiveRange() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/inPrimitiveRange.kt"); + } + + @TestMetadata("inRangeLiteralComposition.kt") + public void testInRangeLiteralComposition() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/inRangeLiteralComposition.kt"); + } + + @TestMetadata("inUntil.kt") + public void testInUntil() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/inUntil.kt"); + } + + @TestMetadata("inUntilMaxValue.kt") + public void testInUntilMaxValue() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/inUntilMaxValue.kt"); + } + + @TestMetadata("inUntilMinValue.kt") + public void testInUntilMinValue() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/inUntilMinValue.kt"); + } + + @TestMetadata("inUntilMinValueNonConst.kt") + public void testInUntilMinValueNonConst() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/inUntilMinValueNonConst.kt"); + } + + @TestMetadata("nullableInPrimitiveRange.kt") + public void testNullableInPrimitiveRange() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/nullableInPrimitiveRange.kt"); + } + + @TestMetadata("rangeContainsString.kt") + public void testRangeContainsString() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/rangeContainsString.kt"); + } + + @TestMetadata("userDefinedContainsExtension.kt") + public void testUserDefinedContainsExtension() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/userDefinedContainsExtension.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/ranges/contains/generated") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Generated extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInGenerated() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/contains/generated"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("arrayIndices.kt") + public void testArrayIndices() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/generated/arrayIndices.kt"); + } + + @TestMetadata("charRangeLiteral.kt") + public void testCharRangeLiteral() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/generated/charRangeLiteral.kt"); + } + + @TestMetadata("charSequenceIndices.kt") + public void testCharSequenceIndices() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/generated/charSequenceIndices.kt"); + } + + @TestMetadata("charUntil.kt") + public void testCharUntil() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/generated/charUntil.kt"); + } + + @TestMetadata("collectionIndices.kt") + public void testCollectionIndices() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/generated/collectionIndices.kt"); + } + + @TestMetadata("doubleRangeLiteral.kt") + public void testDoubleRangeLiteral() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/generated/doubleRangeLiteral.kt"); + } + + @TestMetadata("floatRangeLiteral.kt") + public void testFloatRangeLiteral() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/generated/floatRangeLiteral.kt"); + } + + @TestMetadata("intRangeLiteral.kt") + public void testIntRangeLiteral() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/generated/intRangeLiteral.kt"); + } + + @TestMetadata("intUntil.kt") + public void testIntUntil() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/generated/intUntil.kt"); + } + + @TestMetadata("longRangeLiteral.kt") + public void testLongRangeLiteral() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/generated/longRangeLiteral.kt"); + } + + @TestMetadata("longUntil.kt") + public void testLongUntil() throws Exception { + runTest("compiler/testData/codegen/box/ranges/contains/generated/longUntil.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/evaluationOrder") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class EvaluationOrder extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInEvaluationOrder() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/evaluationOrder"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/ranges/evaluationOrder/stepped") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Stepped extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInStepped() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/evaluationOrder/stepped"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ForInDownTo extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInForInDownTo() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInDownTo"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ForInRangeLiteral extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInForInRangeLiteral() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInRangeLiteral"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ForInUntil extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInForInUntil() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/evaluationOrder/stepped/forInUntil"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/expression") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Expression extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInExpression() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/expression"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/forInDownTo") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ForInDownTo extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInForInDownTo() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/forInDownTo"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("forIntInDownTo.kt") + public void testForIntInDownTo() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInDownTo/forIntInDownTo.kt"); + } + + @TestMetadata("forIntInDownToWithNonConstBounds.kt") + public void testForIntInDownToWithNonConstBounds() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInDownTo/forIntInDownToWithNonConstBounds.kt"); + } + + @TestMetadata("forIntInNonOptimizedDownTo.kt") + public void testForIntInNonOptimizedDownTo() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInDownTo/forIntInNonOptimizedDownTo.kt"); + } + + @TestMetadata("forLongInDownTo.kt") + public void testForLongInDownTo() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInDownTo/forLongInDownTo.kt"); + } + + @TestMetadata("forNullableIntInDownTo.kt") + public void testForNullableIntInDownTo() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInDownTo/forNullableIntInDownTo.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/forInIndices") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ForInIndices extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInForInIndices() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/forInIndices"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("forInCharSequenceIndices.kt") + public void testForInCharSequenceIndices() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInIndices/forInCharSequenceIndices.kt"); + } + + @TestMetadata("forInCharSequenceTypeParameterIndices.kt") + public void testForInCharSequenceTypeParameterIndices() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInIndices/forInCharSequenceTypeParameterIndices.kt"); + } + + @TestMetadata("forInCollectionImplicitReceiverIndices.kt") + public void testForInCollectionImplicitReceiverIndices() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInIndices/forInCollectionImplicitReceiverIndices.kt"); + } + + @TestMetadata("forInCollectionIndices.kt") + public void testForInCollectionIndices() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInIndices/forInCollectionIndices.kt"); + } + + @TestMetadata("forInCollectionTypeParameterIndices.kt") + public void testForInCollectionTypeParameterIndices() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInIndices/forInCollectionTypeParameterIndices.kt"); + } + + @TestMetadata("forInNonOptimizedIndices.kt") + public void testForInNonOptimizedIndices() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInIndices/forInNonOptimizedIndices.kt"); + } + + @TestMetadata("forInObjectArrayIndices.kt") + public void testForInObjectArrayIndices() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInIndices/forInObjectArrayIndices.kt"); + } + + @TestMetadata("forInPrimitiveArrayIndices.kt") + public void testForInPrimitiveArrayIndices() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInIndices/forInPrimitiveArrayIndices.kt"); + } + + @TestMetadata("forNullableIntInArrayIndices.kt") + public void testForNullableIntInArrayIndices() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInIndices/forNullableIntInArrayIndices.kt"); + } + + @TestMetadata("forNullableIntInCollectionIndices.kt") + public void testForNullableIntInCollectionIndices() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInIndices/forNullableIntInCollectionIndices.kt"); + } + + @TestMetadata("indexOfLast.kt") + public void testIndexOfLast() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInIndices/indexOfLast.kt"); + } + + @TestMetadata("kt12983_forInGenericArrayIndices.kt") + public void testKt12983_forInGenericArrayIndices() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInIndices/kt12983_forInGenericArrayIndices.kt"); + } + + @TestMetadata("kt12983_forInGenericCollectionIndices.kt") + public void testKt12983_forInGenericCollectionIndices() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInIndices/kt12983_forInGenericCollectionIndices.kt"); + } + + @TestMetadata("kt12983_forInSpecificArrayIndices.kt") + public void testKt12983_forInSpecificArrayIndices() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInIndices/kt12983_forInSpecificArrayIndices.kt"); + } + + @TestMetadata("kt12983_forInSpecificCollectionIndices.kt") + public void testKt12983_forInSpecificCollectionIndices() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInIndices/kt12983_forInSpecificCollectionIndices.kt"); + } + + @TestMetadata("kt13241_Array.kt") + public void testKt13241_Array() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInIndices/kt13241_Array.kt"); + } + + @TestMetadata("kt13241_CharSequence.kt") + public void testKt13241_CharSequence() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInIndices/kt13241_CharSequence.kt"); + } + + @TestMetadata("kt13241_Collection.kt") + public void testKt13241_Collection() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInIndices/kt13241_Collection.kt"); + } + + @TestMetadata("kt43159_ArrayUpperBound.kt") + public void testKt43159_ArrayUpperBound() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInIndices/kt43159_ArrayUpperBound.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/forInProgressionWithIndex") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ForInProgressionWithIndex extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInForInProgressionWithIndex() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/forInProgressionWithIndex"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/forInReversed") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ForInReversed extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInForInReversed() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/forInReversed"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("forInReversedArrayIndices.kt") + public void testForInReversedArrayIndices() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInReversed/forInReversedArrayIndices.kt"); + } + + @TestMetadata("forInReversedCharSequenceIndices.kt") + public void testForInReversedCharSequenceIndices() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInReversed/forInReversedCharSequenceIndices.kt"); + } + + @TestMetadata("forInReversedCollectionIndices.kt") + public void testForInReversedCollectionIndices() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInReversed/forInReversedCollectionIndices.kt"); + } + + @TestMetadata("forInReversedDownTo.kt") + public void testForInReversedDownTo() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInReversed/forInReversedDownTo.kt"); + } + + @TestMetadata("forInReversedEmptyRange.kt") + public void testForInReversedEmptyRange() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInReversed/forInReversedEmptyRange.kt"); + } + + @TestMetadata("forInReversedEmptyRangeLiteral.kt") + public void testForInReversedEmptyRangeLiteral() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInReversed/forInReversedEmptyRangeLiteral.kt"); + } + + @TestMetadata("forInReversedEmptyRangeLiteralWithNonConstBounds.kt") + public void testForInReversedEmptyRangeLiteralWithNonConstBounds() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInReversed/forInReversedEmptyRangeLiteralWithNonConstBounds.kt"); + } + + @TestMetadata("forInReversedRange.kt") + public void testForInReversedRange() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInReversed/forInReversedRange.kt"); + } + + @TestMetadata("forInReversedRangeLiteral.kt") + public void testForInReversedRangeLiteral() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInReversed/forInReversedRangeLiteral.kt"); + } + + @TestMetadata("forInReversedRangeLiteralWithNonConstBounds.kt") + public void testForInReversedRangeLiteralWithNonConstBounds() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInReversed/forInReversedRangeLiteralWithNonConstBounds.kt"); + } + + @TestMetadata("forInReversedReversedArrayIndices.kt") + public void testForInReversedReversedArrayIndices() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInReversed/forInReversedReversedArrayIndices.kt"); + } + + @TestMetadata("forInReversedReversedDownTo.kt") + public void testForInReversedReversedDownTo() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInReversed/forInReversedReversedDownTo.kt"); + } + + @TestMetadata("ForInReversedReversedRange.kt") + public void testForInReversedReversedRange() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInReversed/ForInReversedReversedRange.kt"); + } + + @TestMetadata("forInReversedReversedReversedRange.kt") + public void testForInReversedReversedReversedRange() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInReversed/forInReversedReversedReversedRange.kt"); + } + + @TestMetadata("forInReversedReversedUntil.kt") + public void testForInReversedReversedUntil() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInReversed/forInReversedReversedUntil.kt"); + } + + @TestMetadata("forInReversedReversedUntilWithNonConstBounds.kt") + public void testForInReversedReversedUntilWithNonConstBounds() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInReversed/forInReversedReversedUntilWithNonConstBounds.kt"); + } + + @TestMetadata("forInReversedUntil.kt") + public void testForInReversedUntil() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInReversed/forInReversedUntil.kt"); + } + + @TestMetadata("forInReversedUntilWithNonConstBounds.kt") + public void testForInReversedUntilWithNonConstBounds() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInReversed/forInReversedUntilWithNonConstBounds.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/forInUntil") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ForInUntil extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInForInUntil() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/forInUntil"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("forInUntilChar.kt") + public void testForInUntilChar() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInUntil/forInUntilChar.kt"); + } + + @TestMetadata("forInUntilCharMaxValue.kt") + public void testForInUntilCharMaxValue() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInUntil/forInUntilCharMaxValue.kt"); + } + + @TestMetadata("forInUntilCharMinValue.kt") + public void testForInUntilCharMinValue() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInUntil/forInUntilCharMinValue.kt"); + } + + @TestMetadata("forInUntilCharMinValueNonConst.kt") + public void testForInUntilCharMinValueNonConst() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInUntil/forInUntilCharMinValueNonConst.kt"); + } + + @TestMetadata("forInUntilInt.kt") + public void testForInUntilInt() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInUntil/forInUntilInt.kt"); + } + + @TestMetadata("forInUntilIntMaxValue.kt") + public void testForInUntilIntMaxValue() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInUntil/forInUntilIntMaxValue.kt"); + } + + @TestMetadata("forInUntilIntMinValue.kt") + public void testForInUntilIntMinValue() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInUntil/forInUntilIntMinValue.kt"); + } + + @TestMetadata("forInUntilIntMinValueNonConst.kt") + public void testForInUntilIntMinValueNonConst() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInUntil/forInUntilIntMinValueNonConst.kt"); + } + + @TestMetadata("forInUntilLesserInt.kt") + public void testForInUntilLesserInt() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInUntil/forInUntilLesserInt.kt"); + } + + @TestMetadata("forInUntilLong.kt") + public void testForInUntilLong() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInUntil/forInUntilLong.kt"); + } + + @TestMetadata("forInUntilLongMaxValue.kt") + public void testForInUntilLongMaxValue() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInUntil/forInUntilLongMaxValue.kt"); + } + + @TestMetadata("forInUntilLongMinValue.kt") + public void testForInUntilLongMinValue() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInUntil/forInUntilLongMinValue.kt"); + } + + @TestMetadata("forInUntilLongMinValueNonConst.kt") + public void testForInUntilLongMinValueNonConst() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInUntil/forInUntilLongMinValueNonConst.kt"); + } + + @TestMetadata("forIntInIntUntilSmartcastInt.kt") + public void testForIntInIntUntilSmartcastInt() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInUntil/forIntInIntUntilSmartcastInt.kt"); + } + + @TestMetadata("kt42533.kt") + public void testKt42533() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forInUntil/kt42533.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/forWithPossibleOverflow") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ForWithPossibleOverflow extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInForWithPossibleOverflow() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/forWithPossibleOverflow"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("forInDownToCharMinValue.kt") + public void testForInDownToCharMinValue() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInDownToCharMinValue.kt"); + } + + @TestMetadata("forInDownToCharMinValueReversed.kt") + public void testForInDownToCharMinValueReversed() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInDownToCharMinValueReversed.kt"); + } + + @TestMetadata("forInDownToIntMinValue.kt") + public void testForInDownToIntMinValue() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInDownToIntMinValue.kt"); + } + + @TestMetadata("forInDownToIntMinValueReversed.kt") + public void testForInDownToIntMinValueReversed() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInDownToIntMinValueReversed.kt"); + } + + @TestMetadata("forInDownToLongMinValue.kt") + public void testForInDownToLongMinValue() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInDownToLongMinValue.kt"); + } + + @TestMetadata("forInDownToLongMinValueReversed.kt") + public void testForInDownToLongMinValueReversed() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInDownToLongMinValueReversed.kt"); + } + + @TestMetadata("forInRangeToCharMaxValue.kt") + public void testForInRangeToCharMaxValue() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInRangeToCharMaxValue.kt"); + } + + @TestMetadata("forInRangeToCharMaxValueReversed.kt") + public void testForInRangeToCharMaxValueReversed() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInRangeToCharMaxValueReversed.kt"); + } + + @TestMetadata("forInRangeToIntMaxValue.kt") + public void testForInRangeToIntMaxValue() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInRangeToIntMaxValue.kt"); + } + + @TestMetadata("forInRangeToIntMaxValueReversed.kt") + public void testForInRangeToIntMaxValueReversed() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInRangeToIntMaxValueReversed.kt"); + } + + @TestMetadata("forInRangeToLongMaxValue.kt") + public void testForInRangeToLongMaxValue() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInRangeToLongMaxValue.kt"); + } + + @TestMetadata("forInRangeToLongMaxValueReversed.kt") + public void testForInRangeToLongMaxValueReversed() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInRangeToLongMaxValueReversed.kt"); + } + + @TestMetadata("forInUntilIntMinValueReversed.kt") + public void testForInUntilIntMinValueReversed() throws Exception { + runTest("compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInUntilIntMinValueReversed.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/javaInterop") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class JavaInterop extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInJavaInterop() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/javaInterop"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/ranges/javaInterop/withIndex") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class WithIndex extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInWithIndex() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/javaInterop/withIndex"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/literal") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Literal extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInLiteral() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/literal"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/nullableLoopParameter") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class NullableLoopParameter extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInNullableLoopParameter() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/nullableLoopParameter"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("progressionExpression.kt") + public void testProgressionExpression() throws Exception { + runTest("compiler/testData/codegen/box/ranges/nullableLoopParameter/progressionExpression.kt"); + } + + @TestMetadata("rangeExpression.kt") + public void testRangeExpression() throws Exception { + runTest("compiler/testData/codegen/box/ranges/nullableLoopParameter/rangeExpression.kt"); + } + + @TestMetadata("rangeLiteral.kt") + public void testRangeLiteral() throws Exception { + runTest("compiler/testData/codegen/box/ranges/nullableLoopParameter/rangeLiteral.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/stepped") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Stepped extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInStepped() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true, "unsigned"); + } + + @TestMetadata("compiler/testData/codegen/box/ranges/stepped/expression") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Expression extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInExpression() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/ranges/stepped/expression/downTo") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class DownTo extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInDownTo() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/downTo"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class NestedStep extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInNestedStep() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/downTo/nestedStep"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Reversed extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInReversed() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/downTo/reversed"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/stepped/expression/rangeTo") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class RangeTo extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInRangeTo() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/rangeTo"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class NestedStep extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInNestedStep() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/nestedStep"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Reversed extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInReversed() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/rangeTo/reversed"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/stepped/expression/until") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Until extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInUntil() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/until"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class NestedStep extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInNestedStep() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/until/nestedStep"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/stepped/expression/until/reversed") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Reversed extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInReversed() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/expression/until/reversed"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/stepped/literal") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Literal extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInLiteral() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/ranges/stepped/literal/downTo") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class DownTo extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInDownTo() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/downTo"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class NestedStep extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInNestedStep() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/downTo/nestedStep"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Reversed extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInReversed() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/downTo/reversed"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/stepped/literal/rangeTo") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class RangeTo extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInRangeTo() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/rangeTo"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class NestedStep extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInNestedStep() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/nestedStep"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Reversed extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInReversed() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/rangeTo/reversed"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/stepped/literal/until") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Until extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInUntil() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/until"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class NestedStep extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInNestedStep() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/until/nestedStep"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/stepped/literal/until/reversed") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Reversed extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInReversed() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/stepped/literal/until/reversed"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/unsigned") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Unsigned extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInUnsigned() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/unsigned"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("inMixedUnsignedRange.kt") + public void testInMixedUnsignedRange() throws Exception { + runTest("compiler/testData/codegen/box/ranges/unsigned/inMixedUnsignedRange.kt"); + } + + @TestMetadata("kt35004.kt") + public void testKt35004() throws Exception { + runTest("compiler/testData/codegen/box/ranges/unsigned/kt35004.kt"); + } + + @TestMetadata("kt36953_continue.kt") + public void testKt36953_continue() throws Exception { + runTest("compiler/testData/codegen/box/ranges/unsigned/kt36953_continue.kt"); + } + + @TestMetadata("outOfBoundsInMixedContains.kt") + public void testOutOfBoundsInMixedContains() throws Exception { + runTest("compiler/testData/codegen/box/ranges/unsigned/outOfBoundsInMixedContains.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/ranges/unsigned/expression") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Expression extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInExpression() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/unsigned/expression"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/unsigned/literal") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Literal extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInLiteral() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/unsigned/literal"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class NullableLoopParameter extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInNullableLoopParameter() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("progressionExpression.kt") + public void testProgressionExpression() throws Exception { + runTest("compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/progressionExpression.kt"); + } + + @TestMetadata("rangeExpression.kt") + public void testRangeExpression() throws Exception { + runTest("compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeExpression.kt"); + } + + @TestMetadata("rangeLiteral.kt") + public void testRangeLiteral() throws Exception { + runTest("compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeLiteral.kt"); + } + } + } + } + + @TestMetadata("compiler/testData/codegen/box/regressions") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Regressions extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInRegressions() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/regressions"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("arrayLengthNPE.kt") + public void testArrayLengthNPE() throws Exception { + runTest("compiler/testData/codegen/box/regressions/arrayLengthNPE.kt"); + } + + @TestMetadata("commonSupertypeContravariant.kt") + public void testCommonSupertypeContravariant() throws Exception { + runTest("compiler/testData/codegen/box/regressions/commonSupertypeContravariant.kt"); + } + + @TestMetadata("commonSupertypeContravariant2.kt") + public void testCommonSupertypeContravariant2() throws Exception { + runTest("compiler/testData/codegen/box/regressions/commonSupertypeContravariant2.kt"); + } + + @TestMetadata("dontCaptureTypesWithTypeVariables.kt") + public void testDontCaptureTypesWithTypeVariables() throws Exception { + runTest("compiler/testData/codegen/box/regressions/dontCaptureTypesWithTypeVariables.kt"); + } + + @TestMetadata("doubleMerge.kt") + public void testDoubleMerge() throws Exception { + runTest("compiler/testData/codegen/box/regressions/doubleMerge.kt"); + } + + @TestMetadata("floatMerge.kt") + public void testFloatMerge() throws Exception { + runTest("compiler/testData/codegen/box/regressions/floatMerge.kt"); + } + + @TestMetadata("functionLiteralAsLastExpressionInBlock.kt") + public void testFunctionLiteralAsLastExpressionInBlock() throws Exception { + runTest("compiler/testData/codegen/box/regressions/functionLiteralAsLastExpressionInBlock.kt"); + } + + @TestMetadata("hashCodeNPE.kt") + public void testHashCodeNPE() throws Exception { + runTest("compiler/testData/codegen/box/regressions/hashCodeNPE.kt"); + } + + @TestMetadata("internalTopLevelOtherPackage.kt") + public void testInternalTopLevelOtherPackage() throws Exception { + runTest("compiler/testData/codegen/box/regressions/internalTopLevelOtherPackage.kt"); + } + + @TestMetadata("intersectionOfEqualTypes.kt") + public void testIntersectionOfEqualTypes() throws Exception { + runTest("compiler/testData/codegen/box/regressions/intersectionOfEqualTypes.kt"); + } + + @TestMetadata("kt10143.kt") + public void testKt10143() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt10143.kt"); + } + + @TestMetadata("kt10934.kt") + public void testKt10934() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt10934.kt"); + } + + @TestMetadata("kt13381.kt") + public void testKt13381() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt13381.kt"); + } + + @TestMetadata("kt14447.kt") + public void testKt14447() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt14447.kt"); + } + + @TestMetadata("kt15196.kt") + public void testKt15196() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt15196.kt"); + } + + @TestMetadata("kt1528.kt") + public void testKt1528() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt1528.kt"); + } + + @TestMetadata("kt1779.kt") + public void testKt1779() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt1779.kt"); + } + + @TestMetadata("kt1845.kt") + public void testKt1845() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt1845.kt"); + } + + @TestMetadata("kt2060.kt") + public void testKt2060() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt2060.kt"); + } + + @TestMetadata("kt2210.kt") + public void testKt2210() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt2210.kt"); + } + + @TestMetadata("kt2246.kt") + public void testKt2246() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt2246.kt"); + } + + @TestMetadata("kt24913.kt") + public void testKt24913() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt24913.kt"); + } + + @TestMetadata("kt2509.kt") + public void testKt2509() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt2509.kt"); + } + + @TestMetadata("kt32949.kt") + public void testKt32949() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt32949.kt"); + } + + @TestMetadata("kt33638.kt") + public void testKt33638() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt33638.kt"); + } + + @TestMetadata("kt3421.kt") + public void testKt3421() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt3421.kt"); + } + + @TestMetadata("kt3587.kt") + public void testKt3587() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt3587.kt"); + } + + @TestMetadata("kt35914.kt") + public void testKt35914() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt35914.kt"); + } + + @TestMetadata("kt3850.kt") + public void testKt3850() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt3850.kt"); + } + + @TestMetadata("kt3903.kt") + public void testKt3903() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt3903.kt"); + } + + @TestMetadata("kt39088.kt") + public void testKt39088() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt39088.kt"); + } + + @TestMetadata("kt4142.kt") + public void testKt4142() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt4142.kt"); + } + + @TestMetadata("kt4281.kt") + public void testKt4281() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt4281.kt"); + } + + @TestMetadata("kt5395.kt") + public void testKt5395() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt5395.kt"); + } + + @TestMetadata("kt5786_privateWithDefault.kt") + public void testKt5786_privateWithDefault() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt5786_privateWithDefault.kt"); + } + + @TestMetadata("kt6434_2.kt") + public void testKt6434_2() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt6434_2.kt"); + } + + @TestMetadata("kt7401.kt") + public void testKt7401() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt7401.kt"); + } + + @TestMetadata("kt998.kt") + public void testKt998() throws Exception { + runTest("compiler/testData/codegen/box/regressions/kt998.kt"); + } + + @TestMetadata("lambdaAsLastExpressionInLambda.kt") + public void testLambdaAsLastExpressionInLambda() throws Exception { + runTest("compiler/testData/codegen/box/regressions/lambdaAsLastExpressionInLambda.kt"); + } + + @TestMetadata("lambdaPostponeConstruction.kt") + public void testLambdaPostponeConstruction() throws Exception { + runTest("compiler/testData/codegen/box/regressions/lambdaPostponeConstruction.kt"); + } + + @TestMetadata("lambdaWrongReturnType.kt") + public void testLambdaWrongReturnType() throws Exception { + runTest("compiler/testData/codegen/box/regressions/lambdaWrongReturnType.kt"); + } + + @TestMetadata("noAssertionsWhenNullableTypeParameterReplacedWithIntersectionType.kt") + public void testNoAssertionsWhenNullableTypeParameterReplacedWithIntersectionType() throws Exception { + runTest("compiler/testData/codegen/box/regressions/noAssertionsWhenNullableTypeParameterReplacedWithIntersectionType.kt"); + } + + @TestMetadata("noCapturingForTypesWithTypeVariables.kt") + public void testNoCapturingForTypesWithTypeVariables() throws Exception { + runTest("compiler/testData/codegen/box/regressions/noCapturingForTypesWithTypeVariables.kt"); + } + + @TestMetadata("noResolutionRecursion.kt") + public void testNoResolutionRecursion() throws Exception { + runTest("compiler/testData/codegen/box/regressions/noResolutionRecursion.kt"); + } + + @TestMetadata("nullabilityForCommonCapturedSupertypes.kt") + public void testNullabilityForCommonCapturedSupertypes() throws Exception { + runTest("compiler/testData/codegen/box/regressions/nullabilityForCommonCapturedSupertypes.kt"); + } + + @TestMetadata("nullableAfterExclExcl.kt") + public void testNullableAfterExclExcl() throws Exception { + runTest("compiler/testData/codegen/box/regressions/nullableAfterExclExcl.kt"); + } + + @TestMetadata("objectCaptureOuterConstructorProperty.kt") + public void testObjectCaptureOuterConstructorProperty() throws Exception { + runTest("compiler/testData/codegen/box/regressions/objectCaptureOuterConstructorProperty.kt"); + } + + @TestMetadata("supertypeDepth.kt") + public void testSupertypeDepth() throws Exception { + runTest("compiler/testData/codegen/box/regressions/supertypeDepth.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/reified") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Reified extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInReified() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("instanceof.kt") + public void testInstanceof() throws Exception { + runTest("compiler/testData/codegen/box/reified/instanceof.kt"); + } + + @TestMetadata("newArrayInt.kt") + public void testNewArrayInt() throws Exception { + runTest("compiler/testData/codegen/box/reified/newArrayInt.kt"); + } + + @TestMetadata("recursiveNewArray.kt") + public void testRecursiveNewArray() throws Exception { + runTest("compiler/testData/codegen/box/reified/recursiveNewArray.kt"); + } + + @TestMetadata("reifiedChain.kt") + public void testReifiedChain() throws Exception { + runTest("compiler/testData/codegen/box/reified/reifiedChain.kt"); + } + + @TestMetadata("reifiedIntersectionType.kt") + public void testReifiedIntersectionType() throws Exception { + runTest("compiler/testData/codegen/box/reified/reifiedIntersectionType.kt"); + } + + @TestMetadata("safecast.kt") + public void testSafecast() throws Exception { + runTest("compiler/testData/codegen/box/reified/safecast.kt"); + } + + @TestMetadata("sameIndexRecursive.kt") + public void testSameIndexRecursive() throws Exception { + runTest("compiler/testData/codegen/box/reified/sameIndexRecursive.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/reified/arraysReification") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ArraysReification extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInArraysReification() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/reified/arraysReification"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("jaggedArray.kt") + public void testJaggedArray() throws Exception { + runTest("compiler/testData/codegen/box/reified/arraysReification/jaggedArray.kt"); + } + + @TestMetadata("jaggedDeep.kt") + public void testJaggedDeep() throws Exception { + runTest("compiler/testData/codegen/box/reified/arraysReification/jaggedDeep.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/safeCall") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class SafeCall extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInSafeCall() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/safeCall"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("genericNull.kt") + public void testGenericNull() throws Exception { + runTest("compiler/testData/codegen/box/safeCall/genericNull.kt"); + } + + @TestMetadata("kt1572.kt") + public void testKt1572() throws Exception { + runTest("compiler/testData/codegen/box/safeCall/kt1572.kt"); + } + + @TestMetadata("kt245.kt") + public void testKt245() throws Exception { + runTest("compiler/testData/codegen/box/safeCall/kt245.kt"); + } + + @TestMetadata("kt247.kt") + public void testKt247() throws Exception { + runTest("compiler/testData/codegen/box/safeCall/kt247.kt"); + } + + @TestMetadata("kt3430.kt") + public void testKt3430() throws Exception { + runTest("compiler/testData/codegen/box/safeCall/kt3430.kt"); + } + + @TestMetadata("kt4733.kt") + public void testKt4733() throws Exception { + runTest("compiler/testData/codegen/box/safeCall/kt4733.kt"); + } + + @TestMetadata("primitive.kt") + public void testPrimitive() throws Exception { + runTest("compiler/testData/codegen/box/safeCall/primitive.kt"); + } + + @TestMetadata("primitiveEqSafeCall.kt") + public void testPrimitiveEqSafeCall() throws Exception { + runTest("compiler/testData/codegen/box/safeCall/primitiveEqSafeCall.kt"); + } + + @TestMetadata("primitiveNotEqSafeCall.kt") + public void testPrimitiveNotEqSafeCall() throws Exception { + runTest("compiler/testData/codegen/box/safeCall/primitiveNotEqSafeCall.kt"); + } + + @TestMetadata("safeCallEqPrimitive.kt") + public void testSafeCallEqPrimitive() throws Exception { + runTest("compiler/testData/codegen/box/safeCall/safeCallEqPrimitive.kt"); + } + + @TestMetadata("safeCallNotEqPrimitive.kt") + public void testSafeCallNotEqPrimitive() throws Exception { + runTest("compiler/testData/codegen/box/safeCall/safeCallNotEqPrimitive.kt"); + } + + @TestMetadata("safeCallOnLong.kt") + public void testSafeCallOnLong() throws Exception { + runTest("compiler/testData/codegen/box/safeCall/safeCallOnLong.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/sam") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Sam extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInSam() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("compiler/testData/codegen/box/sam/constructors") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Constructors extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInConstructors() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam/constructors"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/sam/equality") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Equality extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInEquality() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sam/equality"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/sealed") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Sealed extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInSealed() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sealed"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("objects.kt") + public void testObjects() throws Exception { + runTest("compiler/testData/codegen/box/sealed/objects.kt"); + } + + @TestMetadata("simple.kt") + public void testSimple() throws Exception { + runTest("compiler/testData/codegen/box/sealed/simple.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/secondaryConstructors") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class SecondaryConstructors extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + @TestMetadata("accessToCompanion.kt") + public void testAccessToCompanion() throws Exception { + runTest("compiler/testData/codegen/box/secondaryConstructors/accessToCompanion.kt"); + } + + @TestMetadata("accessToNestedObject.kt") + public void testAccessToNestedObject() throws Exception { + runTest("compiler/testData/codegen/box/secondaryConstructors/accessToNestedObject.kt"); + } + + public void testAllFilesPresentInSecondaryConstructors() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/secondaryConstructors"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("basicNoPrimaryManySinks.kt") + public void testBasicNoPrimaryManySinks() throws Exception { + runTest("compiler/testData/codegen/box/secondaryConstructors/basicNoPrimaryManySinks.kt"); + } + + @TestMetadata("basicNoPrimaryOneSink.kt") + public void testBasicNoPrimaryOneSink() throws Exception { + runTest("compiler/testData/codegen/box/secondaryConstructors/basicNoPrimaryOneSink.kt"); + } + + @TestMetadata("basicPrimary.kt") + public void testBasicPrimary() throws Exception { + runTest("compiler/testData/codegen/box/secondaryConstructors/basicPrimary.kt"); + } + + @TestMetadata("callFromLocalSubClass.kt") + public void testCallFromLocalSubClass() throws Exception { + runTest("compiler/testData/codegen/box/secondaryConstructors/callFromLocalSubClass.kt"); + } + + @TestMetadata("callFromPrimaryWithNamedArgs.kt") + public void testCallFromPrimaryWithNamedArgs() throws Exception { + runTest("compiler/testData/codegen/box/secondaryConstructors/callFromPrimaryWithNamedArgs.kt"); + } + + @TestMetadata("callFromPrimaryWithOptionalArgs.kt") + public void testCallFromPrimaryWithOptionalArgs() throws Exception { + runTest("compiler/testData/codegen/box/secondaryConstructors/callFromPrimaryWithOptionalArgs.kt"); + } + + @TestMetadata("callFromSubClass.kt") + public void testCallFromSubClass() throws Exception { + runTest("compiler/testData/codegen/box/secondaryConstructors/callFromSubClass.kt"); + } + + @TestMetadata("clashingDefaultConstructors.kt") + public void testClashingDefaultConstructors() throws Exception { + runTest("compiler/testData/codegen/box/secondaryConstructors/clashingDefaultConstructors.kt"); + } + + @TestMetadata("dataClasses.kt") + public void testDataClasses() throws Exception { + runTest("compiler/testData/codegen/box/secondaryConstructors/dataClasses.kt"); + } + + @TestMetadata("defaultArgs.kt") + public void testDefaultArgs() throws Exception { + runTest("compiler/testData/codegen/box/secondaryConstructors/defaultArgs.kt"); + } + + @TestMetadata("defaultParametersNotDuplicated.kt") + public void testDefaultParametersNotDuplicated() throws Exception { + runTest("compiler/testData/codegen/box/secondaryConstructors/defaultParametersNotDuplicated.kt"); + } + + @TestMetadata("delegateWithComplexExpression.kt") + public void testDelegateWithComplexExpression() throws Exception { + runTest("compiler/testData/codegen/box/secondaryConstructors/delegateWithComplexExpression.kt"); + } + + @TestMetadata("delegatedThisWithLambda.kt") + public void testDelegatedThisWithLambda() throws Exception { + runTest("compiler/testData/codegen/box/secondaryConstructors/delegatedThisWithLambda.kt"); + } + + @TestMetadata("delegationWithPrimary.kt") + public void testDelegationWithPrimary() throws Exception { + runTest("compiler/testData/codegen/box/secondaryConstructors/delegationWithPrimary.kt"); + } + + @TestMetadata("enums.kt") + public void testEnums() throws Exception { + runTest("compiler/testData/codegen/box/secondaryConstructors/enums.kt"); + } + + @TestMetadata("generics.kt") + public void testGenerics() throws Exception { + runTest("compiler/testData/codegen/box/secondaryConstructors/generics.kt"); + } + + @TestMetadata("inlineIntoTwoConstructors.kt") + public void testInlineIntoTwoConstructors() throws Exception { + runTest("compiler/testData/codegen/box/secondaryConstructors/inlineIntoTwoConstructors.kt"); + } + + @TestMetadata("innerClasses.kt") + public void testInnerClasses() throws Exception { + runTest("compiler/testData/codegen/box/secondaryConstructors/innerClasses.kt"); + } + + @TestMetadata("innerClassesInheritance.kt") + public void testInnerClassesInheritance() throws Exception { + runTest("compiler/testData/codegen/box/secondaryConstructors/innerClassesInheritance.kt"); + } + + @TestMetadata("localClasses.kt") + public void testLocalClasses() throws Exception { + runTest("compiler/testData/codegen/box/secondaryConstructors/localClasses.kt"); + } + + @TestMetadata("superCallPrimary.kt") + public void testSuperCallPrimary() throws Exception { + runTest("compiler/testData/codegen/box/secondaryConstructors/superCallPrimary.kt"); + } + + @TestMetadata("superCallSecondary.kt") + public void testSuperCallSecondary() throws Exception { + runTest("compiler/testData/codegen/box/secondaryConstructors/superCallSecondary.kt"); + } + + @TestMetadata("withoutPrimarySimple.kt") + public void testWithoutPrimarySimple() throws Exception { + runTest("compiler/testData/codegen/box/secondaryConstructors/withoutPrimarySimple.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/signatureAnnotations") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class SignatureAnnotations extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInSignatureAnnotations() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/signatureAnnotations"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/smap") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Smap extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInSmap() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/smap"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/smartCasts") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class SmartCasts extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInSmartCasts() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/smartCasts"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("falseSmartCast.kt") + public void testFalseSmartCast() throws Exception { + runTest("compiler/testData/codegen/box/smartCasts/falseSmartCast.kt"); + } + + @TestMetadata("genericIntersection.kt") + public void testGenericIntersection() throws Exception { + runTest("compiler/testData/codegen/box/smartCasts/genericIntersection.kt"); + } + + @TestMetadata("genericSet.kt") + public void testGenericSet() throws Exception { + runTest("compiler/testData/codegen/box/smartCasts/genericSet.kt"); + } + + @TestMetadata("implicitExtensionReceiver.kt") + public void testImplicitExtensionReceiver() throws Exception { + runTest("compiler/testData/codegen/box/smartCasts/implicitExtensionReceiver.kt"); + } + + @TestMetadata("implicitMemberReceiver.kt") + public void testImplicitMemberReceiver() throws Exception { + runTest("compiler/testData/codegen/box/smartCasts/implicitMemberReceiver.kt"); + } + + @TestMetadata("implicitReceiver.kt") + public void testImplicitReceiver() throws Exception { + runTest("compiler/testData/codegen/box/smartCasts/implicitReceiver.kt"); + } + + @TestMetadata("implicitReceiverInWhen.kt") + public void testImplicitReceiverInWhen() throws Exception { + runTest("compiler/testData/codegen/box/smartCasts/implicitReceiverInWhen.kt"); + } + + @TestMetadata("implicitToGrandSon.kt") + public void testImplicitToGrandSon() throws Exception { + runTest("compiler/testData/codegen/box/smartCasts/implicitToGrandSon.kt"); + } + + @TestMetadata("kt17725.kt") + public void testKt17725() throws Exception { + runTest("compiler/testData/codegen/box/smartCasts/kt17725.kt"); + } + + @TestMetadata("kt19100.kt") + public void testKt19100() throws Exception { + runTest("compiler/testData/codegen/box/smartCasts/kt19100.kt"); + } + + @TestMetadata("smartCastInsideIf.kt") + public void testSmartCastInsideIf() throws Exception { + runTest("compiler/testData/codegen/box/smartCasts/smartCastInsideIf.kt"); + } + + @TestMetadata("whenSmartCast.kt") + public void testWhenSmartCast() throws Exception { + runTest("compiler/testData/codegen/box/smartCasts/whenSmartCast.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/specialBuiltins") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class SpecialBuiltins extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInSpecialBuiltins() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/specialBuiltins"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("bridgeNotEmptyMap.kt") + public void testBridgeNotEmptyMap() throws Exception { + runTest("compiler/testData/codegen/box/specialBuiltins/bridgeNotEmptyMap.kt"); + } + + @TestMetadata("emptyList.kt") + public void testEmptyList() throws Exception { + runTest("compiler/testData/codegen/box/specialBuiltins/emptyList.kt"); + } + + @TestMetadata("emptyMap.kt") + public void testEmptyMap() throws Exception { + runTest("compiler/testData/codegen/box/specialBuiltins/emptyMap.kt"); + } + + @TestMetadata("emptyStringMap.kt") + public void testEmptyStringMap() throws Exception { + runTest("compiler/testData/codegen/box/specialBuiltins/emptyStringMap.kt"); + } + + @TestMetadata("exceptionCause.kt") + public void testExceptionCause() throws Exception { + runTest("compiler/testData/codegen/box/specialBuiltins/exceptionCause.kt"); + } + + @TestMetadata("irrelevantRemoveAtOverride.kt") + public void testIrrelevantRemoveAtOverride() throws Exception { + runTest("compiler/testData/codegen/box/specialBuiltins/irrelevantRemoveAtOverride.kt"); + } + + @TestMetadata("maps.kt") + public void testMaps() throws Exception { + runTest("compiler/testData/codegen/box/specialBuiltins/maps.kt"); + } + + @TestMetadata("noSpecialBridgeInSuperClass.kt") + public void testNoSpecialBridgeInSuperClass() throws Exception { + runTest("compiler/testData/codegen/box/specialBuiltins/noSpecialBridgeInSuperClass.kt"); + } + + @TestMetadata("notEmptyListAny.kt") + public void testNotEmptyListAny() throws Exception { + runTest("compiler/testData/codegen/box/specialBuiltins/notEmptyListAny.kt"); + } + + @TestMetadata("notEmptyMap.kt") + public void testNotEmptyMap() throws Exception { + runTest("compiler/testData/codegen/box/specialBuiltins/notEmptyMap.kt"); + } + + @TestMetadata("redundantStubForSize.kt") + public void testRedundantStubForSize() throws Exception { + runTest("compiler/testData/codegen/box/specialBuiltins/redundantStubForSize.kt"); + } + + @TestMetadata("removeAtTwoSpecialBridges.kt") + public void testRemoveAtTwoSpecialBridges() throws Exception { + runTest("compiler/testData/codegen/box/specialBuiltins/removeAtTwoSpecialBridges.kt"); + } + + @TestMetadata("throwableCause.kt") + public void testThrowableCause() throws Exception { + runTest("compiler/testData/codegen/box/specialBuiltins/throwableCause.kt"); + } + + @TestMetadata("valuesInsideEnum.kt") + public void testValuesInsideEnum() throws Exception { + runTest("compiler/testData/codegen/box/specialBuiltins/valuesInsideEnum.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/statics") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Statics extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInStatics() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/statics"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("anonymousInitializerIObject.kt") + public void testAnonymousInitializerIObject() throws Exception { + runTest("compiler/testData/codegen/box/statics/anonymousInitializerIObject.kt"); + } + + @TestMetadata("anonymousInitializerInClassObject.kt") + public void testAnonymousInitializerInClassObject() throws Exception { + runTest("compiler/testData/codegen/box/statics/anonymousInitializerInClassObject.kt"); + } + + @TestMetadata("incInClassObject.kt") + public void testIncInClassObject() throws Exception { + runTest("compiler/testData/codegen/box/statics/incInClassObject.kt"); + } + + @TestMetadata("incInObject.kt") + public void testIncInObject() throws Exception { + runTest("compiler/testData/codegen/box/statics/incInObject.kt"); + } + + @TestMetadata("inheritedPropertyInClassObject.kt") + public void testInheritedPropertyInClassObject() throws Exception { + runTest("compiler/testData/codegen/box/statics/inheritedPropertyInClassObject.kt"); + } + + @TestMetadata("inheritedPropertyInObject.kt") + public void testInheritedPropertyInObject() throws Exception { + runTest("compiler/testData/codegen/box/statics/inheritedPropertyInObject.kt"); + } + + @TestMetadata("kt8089.kt") + public void testKt8089() throws Exception { + runTest("compiler/testData/codegen/box/statics/kt8089.kt"); + } + + @TestMetadata("syntheticAccessor.kt") + public void testSyntheticAccessor() throws Exception { + runTest("compiler/testData/codegen/box/statics/syntheticAccessor.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/storeStackBeforeInline") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class StoreStackBeforeInline extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInStoreStackBeforeInline() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/storeStackBeforeInline"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("differentTypes.kt") + public void testDifferentTypes() throws Exception { + runTest("compiler/testData/codegen/box/storeStackBeforeInline/differentTypes.kt"); + } + + @TestMetadata("primitiveMerge.kt") + public void testPrimitiveMerge() throws Exception { + runTest("compiler/testData/codegen/box/storeStackBeforeInline/primitiveMerge.kt"); + } + + @TestMetadata("simple.kt") + public void testSimple() throws Exception { + runTest("compiler/testData/codegen/box/storeStackBeforeInline/simple.kt"); + } + + @TestMetadata("unreachableMarker.kt") + public void testUnreachableMarker() throws Exception { + runTest("compiler/testData/codegen/box/storeStackBeforeInline/unreachableMarker.kt"); + } + + @TestMetadata("withLambda.kt") + public void testWithLambda() throws Exception { + runTest("compiler/testData/codegen/box/storeStackBeforeInline/withLambda.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/strings") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Strings extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInStrings() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/strings"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("ea35743.kt") + public void testEa35743() throws Exception { + runTest("compiler/testData/codegen/box/strings/ea35743.kt"); + } + + @TestMetadata("forInString.kt") + public void testForInString() throws Exception { + runTest("compiler/testData/codegen/box/strings/forInString.kt"); + } + + @TestMetadata("interpolation.kt") + public void testInterpolation() throws Exception { + runTest("compiler/testData/codegen/box/strings/interpolation.kt"); + } + + @TestMetadata("kt3571.kt") + public void testKt3571() throws Exception { + runTest("compiler/testData/codegen/box/strings/kt3571.kt"); + } + + @TestMetadata("kt3652.kt") + public void testKt3652() throws Exception { + runTest("compiler/testData/codegen/box/strings/kt3652.kt"); + } + + @TestMetadata("kt5956.kt") + public void testKt5956() throws Exception { + runTest("compiler/testData/codegen/box/strings/kt5956.kt"); + } + + @TestMetadata("kt881.kt") + public void testKt881() throws Exception { + runTest("compiler/testData/codegen/box/strings/kt881.kt"); + } + + @TestMetadata("kt894.kt") + public void testKt894() throws Exception { + runTest("compiler/testData/codegen/box/strings/kt894.kt"); + } + + @TestMetadata("multilineStringsWithTemplates.kt") + public void testMultilineStringsWithTemplates() throws Exception { + runTest("compiler/testData/codegen/box/strings/multilineStringsWithTemplates.kt"); + } + + @TestMetadata("nestedConcat.kt") + public void testNestedConcat() throws Exception { + runTest("compiler/testData/codegen/box/strings/nestedConcat.kt"); + } + + @TestMetadata("rawStrings.kt") + public void testRawStrings() throws Exception { + runTest("compiler/testData/codegen/box/strings/rawStrings.kt"); + } + + @TestMetadata("rawStringsWithManyQuotes.kt") + public void testRawStringsWithManyQuotes() throws Exception { + runTest("compiler/testData/codegen/box/strings/rawStringsWithManyQuotes.kt"); + } + + @TestMetadata("simpleStringPlus.kt") + public void testSimpleStringPlus() throws Exception { + runTest("compiler/testData/codegen/box/strings/simpleStringPlus.kt"); + } + + @TestMetadata("singleConcatNullable.kt") + public void testSingleConcatNullable() throws Exception { + runTest("compiler/testData/codegen/box/strings/singleConcatNullable.kt"); + } + + @TestMetadata("stringPlusOverride.kt") + public void testStringPlusOverride() throws Exception { + runTest("compiler/testData/codegen/box/strings/stringPlusOverride.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/super") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Super extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInSuper() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/super"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("basicmethodSuperTrait.kt") + public void testBasicmethodSuperTrait() throws Exception { + runTest("compiler/testData/codegen/box/super/basicmethodSuperTrait.kt"); + } + + @TestMetadata("basicproperty.kt") + public void testBasicproperty() throws Exception { + runTest("compiler/testData/codegen/box/super/basicproperty.kt"); + } + + @TestMetadata("enclosedFun.kt") + public void testEnclosedFun() throws Exception { + runTest("compiler/testData/codegen/box/super/enclosedFun.kt"); + } + + @TestMetadata("enclosedVar.kt") + public void testEnclosedVar() throws Exception { + runTest("compiler/testData/codegen/box/super/enclosedVar.kt"); + } + + @TestMetadata("innerClassLabeledSuper.kt") + public void testInnerClassLabeledSuper() throws Exception { + runTest("compiler/testData/codegen/box/super/innerClassLabeledSuper.kt"); + } + + @TestMetadata("innerClassLabeledSuper2.kt") + public void testInnerClassLabeledSuper2() throws Exception { + runTest("compiler/testData/codegen/box/super/innerClassLabeledSuper2.kt"); + } + + @TestMetadata("innerClassLabeledSuperProperty.kt") + public void testInnerClassLabeledSuperProperty() throws Exception { + runTest("compiler/testData/codegen/box/super/innerClassLabeledSuperProperty.kt"); + } + + @TestMetadata("innerClassLabeledSuperProperty2.kt") + public void testInnerClassLabeledSuperProperty2() throws Exception { + runTest("compiler/testData/codegen/box/super/innerClassLabeledSuperProperty2.kt"); + } + + @TestMetadata("innerClassQualifiedFunctionCall.kt") + public void testInnerClassQualifiedFunctionCall() throws Exception { + runTest("compiler/testData/codegen/box/super/innerClassQualifiedFunctionCall.kt"); + } + + @TestMetadata("innerClassQualifiedPropertyAccess.kt") + public void testInnerClassQualifiedPropertyAccess() throws Exception { + runTest("compiler/testData/codegen/box/super/innerClassQualifiedPropertyAccess.kt"); + } + + @TestMetadata("interfaceHashCode.kt") + public void testInterfaceHashCode() throws Exception { + runTest("compiler/testData/codegen/box/super/interfaceHashCode.kt"); + } + + @TestMetadata("kt14243.kt") + public void testKt14243() throws Exception { + runTest("compiler/testData/codegen/box/super/kt14243.kt"); + } + + @TestMetadata("kt14243_2.kt") + public void testKt14243_2() throws Exception { + runTest("compiler/testData/codegen/box/super/kt14243_2.kt"); + } + + @TestMetadata("kt14243_class.kt") + public void testKt14243_class() throws Exception { + runTest("compiler/testData/codegen/box/super/kt14243_class.kt"); + } + + @TestMetadata("kt14243_prop.kt") + public void testKt14243_prop() throws Exception { + runTest("compiler/testData/codegen/box/super/kt14243_prop.kt"); + } + + @TestMetadata("kt3492ClassFun.kt") + public void testKt3492ClassFun() throws Exception { + runTest("compiler/testData/codegen/box/super/kt3492ClassFun.kt"); + } + + @TestMetadata("kt3492ClassProperty.kt") + public void testKt3492ClassProperty() throws Exception { + runTest("compiler/testData/codegen/box/super/kt3492ClassProperty.kt"); + } + + @TestMetadata("kt3492TraitFun.kt") + public void testKt3492TraitFun() throws Exception { + runTest("compiler/testData/codegen/box/super/kt3492TraitFun.kt"); + } + + @TestMetadata("kt3492TraitProperty.kt") + public void testKt3492TraitProperty() throws Exception { + runTest("compiler/testData/codegen/box/super/kt3492TraitProperty.kt"); + } + + @TestMetadata("kt4173.kt") + public void testKt4173() throws Exception { + runTest("compiler/testData/codegen/box/super/kt4173.kt"); + } + + @TestMetadata("kt4173_2.kt") + public void testKt4173_2() throws Exception { + runTest("compiler/testData/codegen/box/super/kt4173_2.kt"); + } + + @TestMetadata("kt4173_3.kt") + public void testKt4173_3() throws Exception { + runTest("compiler/testData/codegen/box/super/kt4173_3.kt"); + } + + @TestMetadata("kt4982.kt") + public void testKt4982() throws Exception { + runTest("compiler/testData/codegen/box/super/kt4982.kt"); + } + + @TestMetadata("multipleSuperTraits.kt") + public void testMultipleSuperTraits() throws Exception { + runTest("compiler/testData/codegen/box/super/multipleSuperTraits.kt"); + } + + @TestMetadata("superCallToNonGenericImplThroughGenericDefaultImpls.kt") + public void testSuperCallToNonGenericImplThroughGenericDefaultImpls() throws Exception { + runTest("compiler/testData/codegen/box/super/superCallToNonGenericImplThroughGenericDefaultImpls.kt"); + } + + @TestMetadata("traitproperty.kt") + public void testTraitproperty() throws Exception { + runTest("compiler/testData/codegen/box/super/traitproperty.kt"); + } + + @TestMetadata("unqualifiedSuper.kt") + public void testUnqualifiedSuper() throws Exception { + runTest("compiler/testData/codegen/box/super/unqualifiedSuper.kt"); + } + + @TestMetadata("unqualifiedSuperWithDeeperHierarchies.kt") + public void testUnqualifiedSuperWithDeeperHierarchies() throws Exception { + runTest("compiler/testData/codegen/box/super/unqualifiedSuperWithDeeperHierarchies.kt"); + } + + @TestMetadata("unqualifiedSuperWithMethodsOfAny.kt") + public void testUnqualifiedSuperWithMethodsOfAny() throws Exception { + runTest("compiler/testData/codegen/box/super/unqualifiedSuperWithMethodsOfAny.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/super/superConstructor") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class SuperConstructor extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInSuperConstructor() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/super/superConstructor"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("kt17464_arrayOf.kt") + public void testKt17464_arrayOf() throws Exception { + runTest("compiler/testData/codegen/box/super/superConstructor/kt17464_arrayOf.kt"); + } + + @TestMetadata("kt18356.kt") + public void testKt18356() throws Exception { + runTest("compiler/testData/codegen/box/super/superConstructor/kt18356.kt"); + } + + @TestMetadata("objectExtendsInner.kt") + public void testObjectExtendsInner() throws Exception { + runTest("compiler/testData/codegen/box/super/superConstructor/objectExtendsInner.kt"); + } + + @TestMetadata("objectExtendsLocalInner.kt") + public void testObjectExtendsLocalInner() throws Exception { + runTest("compiler/testData/codegen/box/super/superConstructor/objectExtendsLocalInner.kt"); + } + } + } + + @TestMetadata("compiler/testData/codegen/box/synchronized") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Synchronized extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInSynchronized() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/synchronized"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/syntheticAccessors") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class SyntheticAccessors extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + @TestMetadata("accessorForAbstractProtected.kt") + public void testAccessorForAbstractProtected() throws Exception { + runTest("compiler/testData/codegen/box/syntheticAccessors/accessorForAbstractProtected.kt"); + } + + @TestMetadata("accessorForGenericConstructor.kt") + public void testAccessorForGenericConstructor() throws Exception { + runTest("compiler/testData/codegen/box/syntheticAccessors/accessorForGenericConstructor.kt"); + } + + @TestMetadata("accessorForGenericMethod.kt") + public void testAccessorForGenericMethod() throws Exception { + runTest("compiler/testData/codegen/box/syntheticAccessors/accessorForGenericMethod.kt"); + } + + @TestMetadata("accessorForGenericMethodWithDefaults.kt") + public void testAccessorForGenericMethodWithDefaults() throws Exception { + runTest("compiler/testData/codegen/box/syntheticAccessors/accessorForGenericMethodWithDefaults.kt"); + } + + @TestMetadata("accessorForProtected.kt") + public void testAccessorForProtected() throws Exception { + runTest("compiler/testData/codegen/box/syntheticAccessors/accessorForProtected.kt"); + } + + @TestMetadata("accessorForProtectedInvokeVirtual.kt") + public void testAccessorForProtectedInvokeVirtual() throws Exception { + runTest("compiler/testData/codegen/box/syntheticAccessors/accessorForProtectedInvokeVirtual.kt"); + } + + public void testAllFilesPresentInSyntheticAccessors() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/syntheticAccessors"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("inline.kt") + public void testInline() throws Exception { + runTest("compiler/testData/codegen/box/syntheticAccessors/inline.kt"); + } + + @TestMetadata("inlineInOtherClass.kt") + public void testInlineInOtherClass() throws Exception { + runTest("compiler/testData/codegen/box/syntheticAccessors/inlineInOtherClass.kt"); + } + + @TestMetadata("kt10047.kt") + public void testKt10047() throws Exception { + runTest("compiler/testData/codegen/box/syntheticAccessors/kt10047.kt"); + } + + @TestMetadata("kt21258_indirect.kt") + public void testKt21258_indirect() throws Exception { + runTest("compiler/testData/codegen/box/syntheticAccessors/kt21258_indirect.kt"); + } + + @TestMetadata("kt21258_simple.kt") + public void testKt21258_simple() throws Exception { + runTest("compiler/testData/codegen/box/syntheticAccessors/kt21258_simple.kt"); + } + + @TestMetadata("kt9717.kt") + public void testKt9717() throws Exception { + runTest("compiler/testData/codegen/box/syntheticAccessors/kt9717.kt"); + } + + @TestMetadata("kt9717DifferentPackages.kt") + public void testKt9717DifferentPackages() throws Exception { + runTest("compiler/testData/codegen/box/syntheticAccessors/kt9717DifferentPackages.kt"); + } + + @TestMetadata("kt9958.kt") + public void testKt9958() throws Exception { + runTest("compiler/testData/codegen/box/syntheticAccessors/kt9958.kt"); + } + + @TestMetadata("kt9958Interface.kt") + public void testKt9958Interface() throws Exception { + runTest("compiler/testData/codegen/box/syntheticAccessors/kt9958Interface.kt"); + } + + @TestMetadata("protectedFromLambda.kt") + public void testProtectedFromLambda() throws Exception { + runTest("compiler/testData/codegen/box/syntheticAccessors/protectedFromLambda.kt"); + } + + @TestMetadata("superCallFromMultipleSubclasses.kt") + public void testSuperCallFromMultipleSubclasses() throws Exception { + runTest("compiler/testData/codegen/box/syntheticAccessors/superCallFromMultipleSubclasses.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/throws") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Throws extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInThrows() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/throws"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + } + + @TestMetadata("compiler/testData/codegen/box/topLevelPrivate") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class TopLevelPrivate extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInTopLevelPrivate() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/topLevelPrivate"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("privateInInlineNested.kt") + public void testPrivateInInlineNested() throws Exception { + runTest("compiler/testData/codegen/box/topLevelPrivate/privateInInlineNested.kt"); + } + + @TestMetadata("syntheticAccessor.kt") + public void testSyntheticAccessor() throws Exception { + runTest("compiler/testData/codegen/box/topLevelPrivate/syntheticAccessor.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/trailingComma") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class TrailingComma extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInTrailingComma() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/trailingComma"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("noDisambiguation.kt") + public void testNoDisambiguation() throws Exception { + runTest("compiler/testData/codegen/box/trailingComma/noDisambiguation.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/traits") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Traits extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInTraits() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/traits"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("diamondPropertyAccessors.kt") + public void testDiamondPropertyAccessors() throws Exception { + runTest("compiler/testData/codegen/box/traits/diamondPropertyAccessors.kt"); + } + + @TestMetadata("doubleDiamond.kt") + public void testDoubleDiamond() throws Exception { + runTest("compiler/testData/codegen/box/traits/doubleDiamond.kt"); + } + + @TestMetadata("genericMethod.kt") + public void testGenericMethod() throws Exception { + runTest("compiler/testData/codegen/box/traits/genericMethod.kt"); + } + + @TestMetadata("indirectlyInheritPropertyGetter.kt") + public void testIndirectlyInheritPropertyGetter() throws Exception { + runTest("compiler/testData/codegen/box/traits/indirectlyInheritPropertyGetter.kt"); + } + + @TestMetadata("inheritedFun.kt") + public void testInheritedFun() throws Exception { + runTest("compiler/testData/codegen/box/traits/inheritedFun.kt"); + } + + @TestMetadata("inheritedVar.kt") + public void testInheritedVar() throws Exception { + runTest("compiler/testData/codegen/box/traits/inheritedVar.kt"); + } + + @TestMetadata("interfaceWithNonAbstractFunIndirect.kt") + public void testInterfaceWithNonAbstractFunIndirect() throws Exception { + runTest("compiler/testData/codegen/box/traits/interfaceWithNonAbstractFunIndirect.kt"); + } + + @TestMetadata("interfaceWithNonAbstractFunIndirectGeneric.kt") + public void testInterfaceWithNonAbstractFunIndirectGeneric() throws Exception { + runTest("compiler/testData/codegen/box/traits/interfaceWithNonAbstractFunIndirectGeneric.kt"); + } + + @TestMetadata("kt1936.kt") + public void testKt1936() throws Exception { + runTest("compiler/testData/codegen/box/traits/kt1936.kt"); + } + + @TestMetadata("kt1936_1.kt") + public void testKt1936_1() throws Exception { + runTest("compiler/testData/codegen/box/traits/kt1936_1.kt"); + } + + @TestMetadata("kt2260.kt") + public void testKt2260() throws Exception { + runTest("compiler/testData/codegen/box/traits/kt2260.kt"); + } + + @TestMetadata("kt2541.kt") + public void testKt2541() throws Exception { + runTest("compiler/testData/codegen/box/traits/kt2541.kt"); + } + + @TestMetadata("kt3315.kt") + public void testKt3315() throws Exception { + runTest("compiler/testData/codegen/box/traits/kt3315.kt"); + } + + @TestMetadata("kt3500.kt") + public void testKt3500() throws Exception { + runTest("compiler/testData/codegen/box/traits/kt3500.kt"); + } + + @TestMetadata("kt3579.kt") + public void testKt3579() throws Exception { + runTest("compiler/testData/codegen/box/traits/kt3579.kt"); + } + + @TestMetadata("kt3579_2.kt") + public void testKt3579_2() throws Exception { + runTest("compiler/testData/codegen/box/traits/kt3579_2.kt"); + } + + @TestMetadata("kt36973.kt") + public void testKt36973() throws Exception { + runTest("compiler/testData/codegen/box/traits/kt36973.kt"); + } + + @TestMetadata("kt5393.kt") + public void testKt5393() throws Exception { + runTest("compiler/testData/codegen/box/traits/kt5393.kt"); + } + + @TestMetadata("kt5393_property.kt") + public void testKt5393_property() throws Exception { + runTest("compiler/testData/codegen/box/traits/kt5393_property.kt"); + } + + @TestMetadata("multiple.kt") + public void testMultiple() throws Exception { + runTest("compiler/testData/codegen/box/traits/multiple.kt"); + } + + @TestMetadata("privateInterfaceMethod.kt") + public void testPrivateInterfaceMethod() throws Exception { + runTest("compiler/testData/codegen/box/traits/privateInterfaceMethod.kt"); + } + + @TestMetadata("receiverOfIntersectionType.kt") + public void testReceiverOfIntersectionType() throws Exception { + runTest("compiler/testData/codegen/box/traits/receiverOfIntersectionType.kt"); + } + + @TestMetadata("syntheticAccessor.kt") + public void testSyntheticAccessor() throws Exception { + runTest("compiler/testData/codegen/box/traits/syntheticAccessor.kt"); + } + + @TestMetadata("traitImplDelegationWithCovariantOverride.kt") + public void testTraitImplDelegationWithCovariantOverride() throws Exception { + runTest("compiler/testData/codegen/box/traits/traitImplDelegationWithCovariantOverride.kt"); + } + + @TestMetadata("traitImplDiamond.kt") + public void testTraitImplDiamond() throws Exception { + runTest("compiler/testData/codegen/box/traits/traitImplDiamond.kt"); + } + + @TestMetadata("traitImplGenericDelegation.kt") + public void testTraitImplGenericDelegation() throws Exception { + runTest("compiler/testData/codegen/box/traits/traitImplGenericDelegation.kt"); + } + + @TestMetadata("traitWithPrivateExtension.kt") + public void testTraitWithPrivateExtension() throws Exception { + runTest("compiler/testData/codegen/box/traits/traitWithPrivateExtension.kt"); + } + + @TestMetadata("traitWithPrivateMember.kt") + public void testTraitWithPrivateMember() throws Exception { + runTest("compiler/testData/codegen/box/traits/traitWithPrivateMember.kt"); + } + + @TestMetadata("traitWithPrivateMemberAccessFromLambda.kt") + public void testTraitWithPrivateMemberAccessFromLambda() throws Exception { + runTest("compiler/testData/codegen/box/traits/traitWithPrivateMemberAccessFromLambda.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/typeInfo") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class TypeInfo extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInTypeInfo() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/typeInfo"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("ifOrWhenSpecialCall.kt") + public void testIfOrWhenSpecialCall() throws Exception { + runTest("compiler/testData/codegen/box/typeInfo/ifOrWhenSpecialCall.kt"); + } + + @TestMetadata("implicitSmartCastThis.kt") + public void testImplicitSmartCastThis() throws Exception { + runTest("compiler/testData/codegen/box/typeInfo/implicitSmartCastThis.kt"); + } + + @TestMetadata("inheritance.kt") + public void testInheritance() throws Exception { + runTest("compiler/testData/codegen/box/typeInfo/inheritance.kt"); + } + + @TestMetadata("kt2811.kt") + public void testKt2811() throws Exception { + runTest("compiler/testData/codegen/box/typeInfo/kt2811.kt"); + } + + @TestMetadata("primitiveTypeInfo.kt") + public void testPrimitiveTypeInfo() throws Exception { + runTest("compiler/testData/codegen/box/typeInfo/primitiveTypeInfo.kt"); + } + + @TestMetadata("smartCastThis.kt") + public void testSmartCastThis() throws Exception { + runTest("compiler/testData/codegen/box/typeInfo/smartCastThis.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/typeMapping") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class TypeMapping extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInTypeMapping() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/typeMapping"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("kt2831.kt") + public void testKt2831() throws Exception { + runTest("compiler/testData/codegen/box/typeMapping/kt2831.kt"); + } + + @TestMetadata("kt3286.kt") + public void testKt3286() throws Exception { + runTest("compiler/testData/codegen/box/typeMapping/kt3286.kt"); + } + + @TestMetadata("nothing.kt") + public void testNothing() throws Exception { + runTest("compiler/testData/codegen/box/typeMapping/nothing.kt"); + } + + @TestMetadata("nullNothing.kt") + public void testNullNothing() throws Exception { + runTest("compiler/testData/codegen/box/typeMapping/nullNothing.kt"); + } + + @TestMetadata("nullableNothing.kt") + public void testNullableNothing() throws Exception { + runTest("compiler/testData/codegen/box/typeMapping/nullableNothing.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/typealias") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Typealias extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInTypealias() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/typealias"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("enumEntryQualifier.kt") + public void testEnumEntryQualifier() throws Exception { + runTest("compiler/testData/codegen/box/typealias/enumEntryQualifier.kt"); + } + + @TestMetadata("genericTypeAliasConstructor.kt") + public void testGenericTypeAliasConstructor() throws Exception { + runTest("compiler/testData/codegen/box/typealias/genericTypeAliasConstructor.kt"); + } + + @TestMetadata("genericTypeAliasConstructor2.kt") + public void testGenericTypeAliasConstructor2() throws Exception { + runTest("compiler/testData/codegen/box/typealias/genericTypeAliasConstructor2.kt"); + } + + @TestMetadata("innerClassTypeAliasConstructor.kt") + public void testInnerClassTypeAliasConstructor() throws Exception { + runTest("compiler/testData/codegen/box/typealias/innerClassTypeAliasConstructor.kt"); + } + + @TestMetadata("innerClassTypeAliasConstructorInSupertypes.kt") + public void testInnerClassTypeAliasConstructorInSupertypes() throws Exception { + runTest("compiler/testData/codegen/box/typealias/innerClassTypeAliasConstructorInSupertypes.kt"); + } + + @TestMetadata("kt15109.kt") + public void testKt15109() throws Exception { + runTest("compiler/testData/codegen/box/typealias/kt15109.kt"); + } + + @TestMetadata("objectLiteralConstructor.kt") + public void testObjectLiteralConstructor() throws Exception { + runTest("compiler/testData/codegen/box/typealias/objectLiteralConstructor.kt"); + } + + @TestMetadata("privateInKlib.kt") + public void testPrivateInKlib() throws Exception { + runTest("compiler/testData/codegen/box/typealias/privateInKlib.kt"); + } + + @TestMetadata("simple.kt") + public void testSimple() throws Exception { + runTest("compiler/testData/codegen/box/typealias/simple.kt"); + } + + @TestMetadata("typeAliasCompanion.kt") + public void testTypeAliasCompanion() throws Exception { + runTest("compiler/testData/codegen/box/typealias/typeAliasCompanion.kt"); + } + + @TestMetadata("typeAliasConstructor.kt") + public void testTypeAliasConstructor() throws Exception { + runTest("compiler/testData/codegen/box/typealias/typeAliasConstructor.kt"); + } + + @TestMetadata("typeAliasConstructorAccessor.kt") + public void testTypeAliasConstructorAccessor() throws Exception { + runTest("compiler/testData/codegen/box/typealias/typeAliasConstructorAccessor.kt"); + } + + @TestMetadata("typeAliasConstructorForArray.kt") + public void testTypeAliasConstructorForArray() throws Exception { + runTest("compiler/testData/codegen/box/typealias/typeAliasConstructorForArray.kt"); + } + + @TestMetadata("typeAliasConstructorInSuperCall.kt") + public void testTypeAliasConstructorInSuperCall() throws Exception { + runTest("compiler/testData/codegen/box/typealias/typeAliasConstructorInSuperCall.kt"); + } + + @TestMetadata("typeAliasInAnonymousObjectType.kt") + public void testTypeAliasInAnonymousObjectType() throws Exception { + runTest("compiler/testData/codegen/box/typealias/typeAliasInAnonymousObjectType.kt"); + } + + @TestMetadata("typeAliasObject.kt") + public void testTypeAliasObject() throws Exception { + runTest("compiler/testData/codegen/box/typealias/typeAliasObject.kt"); + } + + @TestMetadata("typeAliasObjectCallable.kt") + public void testTypeAliasObjectCallable() throws Exception { + runTest("compiler/testData/codegen/box/typealias/typeAliasObjectCallable.kt"); + } + + @TestMetadata("typeAliasSecondaryConstructor.kt") + public void testTypeAliasSecondaryConstructor() throws Exception { + runTest("compiler/testData/codegen/box/typealias/typeAliasSecondaryConstructor.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/unaryOp") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class UnaryOp extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInUnaryOp() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/unaryOp"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("call.kt") + public void testCall() throws Exception { + runTest("compiler/testData/codegen/box/unaryOp/call.kt"); + } + + @TestMetadata("callNullable.kt") + public void testCallNullable() throws Exception { + runTest("compiler/testData/codegen/box/unaryOp/callNullable.kt"); + } + + @TestMetadata("callWithCommonType.kt") + public void testCallWithCommonType() throws Exception { + runTest("compiler/testData/codegen/box/unaryOp/callWithCommonType.kt"); + } + + @TestMetadata("intrinsic.kt") + public void testIntrinsic() throws Exception { + runTest("compiler/testData/codegen/box/unaryOp/intrinsic.kt"); + } + + @TestMetadata("intrinsicNullable.kt") + public void testIntrinsicNullable() throws Exception { + runTest("compiler/testData/codegen/box/unaryOp/intrinsicNullable.kt"); + } + + @TestMetadata("longOverflow.kt") + public void testLongOverflow() throws Exception { + runTest("compiler/testData/codegen/box/unaryOp/longOverflow.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/unit") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Unit extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInUnit() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/unit"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("ifElse.kt") + public void testIfElse() throws Exception { + runTest("compiler/testData/codegen/box/unit/ifElse.kt"); + } + + @TestMetadata("nullableUnitInWhen1.kt") + public void testNullableUnitInWhen1() throws Exception { + runTest("compiler/testData/codegen/box/unit/nullableUnitInWhen1.kt"); + } + + @TestMetadata("nullableUnitInWhen2.kt") + public void testNullableUnitInWhen2() throws Exception { + runTest("compiler/testData/codegen/box/unit/nullableUnitInWhen2.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/unsignedTypes") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class UnsignedTypes extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInUnsignedTypes() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/unsignedTypes"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("boxConstValOfUnsignedType.kt") + public void testBoxConstValOfUnsignedType() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/boxConstValOfUnsignedType.kt"); + } + + @TestMetadata("boxedUnsignedEqualsZero.kt") + public void testBoxedUnsignedEqualsZero() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/boxedUnsignedEqualsZero.kt"); + } + + @TestMetadata("checkBasicUnsignedLiterals.kt") + public void testCheckBasicUnsignedLiterals() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/checkBasicUnsignedLiterals.kt"); + } + + @TestMetadata("equalsImplForInlineClassWrappingNullableInlineClass.kt") + public void testEqualsImplForInlineClassWrappingNullableInlineClass() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/equalsImplForInlineClassWrappingNullableInlineClass.kt"); + } + + @TestMetadata("forInUnsignedRangeWithCoercion.kt") + public void testForInUnsignedRangeWithCoercion() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/forInUnsignedRangeWithCoercion.kt"); + } + + @TestMetadata("inUnsignedRange.kt") + public void testInUnsignedRange() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/inUnsignedRange.kt"); + } + + @TestMetadata("inUnsignedRangeLiteral.kt") + public void testInUnsignedRangeLiteral() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/inUnsignedRangeLiteral.kt"); + } + + @TestMetadata("inUnsignedUntil.kt") + public void testInUnsignedUntil() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/inUnsignedUntil.kt"); + } + + @TestMetadata("iterateOverListOfBoxedUnsignedValues.kt") + public void testIterateOverListOfBoxedUnsignedValues() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/iterateOverListOfBoxedUnsignedValues.kt"); + } + + @TestMetadata("literalEqualsNullableUnsigned.kt") + public void testLiteralEqualsNullableUnsigned() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/literalEqualsNullableUnsigned.kt"); + } + + @TestMetadata("nullableUnsignedEqualsLiteral.kt") + public void testNullableUnsignedEqualsLiteral() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/nullableUnsignedEqualsLiteral.kt"); + } + + @TestMetadata("unsignedIntCompare.kt") + public void testUnsignedIntCompare() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntCompare.kt"); + } + + @TestMetadata("unsignedIntDivide.kt") + public void testUnsignedIntDivide() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntDivide.kt"); + } + + @TestMetadata("unsignedIntRemainder.kt") + public void testUnsignedIntRemainder() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntRemainder.kt"); + } + + @TestMetadata("unsignedIntToString.kt") + public void testUnsignedIntToString() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/unsignedIntToString.kt"); + } + + @TestMetadata("unsignedLiteralsForMaxLongValue.kt") + public void testUnsignedLiteralsForMaxLongValue() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsForMaxLongValue.kt"); + } + + @TestMetadata("unsignedLiteralsWithSignedOverflow.kt") + public void testUnsignedLiteralsWithSignedOverflow() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsWithSignedOverflow.kt"); + } + + @TestMetadata("unsignedLongCompare.kt") + public void testUnsignedLongCompare() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongCompare.kt"); + } + + @TestMetadata("unsignedLongDivide.kt") + public void testUnsignedLongDivide() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide.kt"); + } + + @TestMetadata("unsignedLongRemainder.kt") + public void testUnsignedLongRemainder() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder.kt"); + } + + @TestMetadata("unsignedRangeIterator.kt") + public void testUnsignedRangeIterator() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/unsignedRangeIterator.kt"); + } + + @TestMetadata("unsignedToSignedConversion.kt") + public void testUnsignedToSignedConversion() throws Exception { + runTest("compiler/testData/codegen/box/unsignedTypes/unsignedToSignedConversion.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/vararg") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Vararg extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInVararg() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/vararg"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("evaluationOrder.kt") + public void testEvaluationOrder() throws Exception { + runTest("compiler/testData/codegen/box/vararg/evaluationOrder.kt"); + } + + @TestMetadata("kt1978.kt") + public void testKt1978() throws Exception { + runTest("compiler/testData/codegen/box/vararg/kt1978.kt"); + } + + @TestMetadata("kt796_797.kt") + public void testKt796_797() throws Exception { + runTest("compiler/testData/codegen/box/vararg/kt796_797.kt"); + } + + @TestMetadata("referenceToContainsFromVarargParameter.kt") + public void testReferenceToContainsFromVarargParameter() throws Exception { + runTest("compiler/testData/codegen/box/vararg/referenceToContainsFromVarargParameter.kt"); + } + + @TestMetadata("singleAssignmentToVarargsInFunction.kt") + public void testSingleAssignmentToVarargsInFunction() throws Exception { + runTest("compiler/testData/codegen/box/vararg/singleAssignmentToVarargsInFunction.kt"); + } + + @TestMetadata("varargsAndFunctionLiterals.kt") + public void testVarargsAndFunctionLiterals() throws Exception { + runTest("compiler/testData/codegen/box/vararg/varargsAndFunctionLiterals.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/when") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class When extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInWhen() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/when"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("callProperty.kt") + public void testCallProperty() throws Exception { + runTest("compiler/testData/codegen/box/when/callProperty.kt"); + } + + @TestMetadata("edgeCases.kt") + public void testEdgeCases() throws Exception { + runTest("compiler/testData/codegen/box/when/edgeCases.kt"); + } + + @TestMetadata("emptyWhen.kt") + public void testEmptyWhen() throws Exception { + runTest("compiler/testData/codegen/box/when/emptyWhen.kt"); + } + + @TestMetadata("exhaustiveBoolean.kt") + public void testExhaustiveBoolean() throws Exception { + runTest("compiler/testData/codegen/box/when/exhaustiveBoolean.kt"); + } + + @TestMetadata("exhaustiveBreakContinue.kt") + public void testExhaustiveBreakContinue() throws Exception { + runTest("compiler/testData/codegen/box/when/exhaustiveBreakContinue.kt"); + } + + @TestMetadata("exhaustiveWhenInitialization.kt") + public void testExhaustiveWhenInitialization() throws Exception { + runTest("compiler/testData/codegen/box/when/exhaustiveWhenInitialization.kt"); + } + + @TestMetadata("exhaustiveWhenReturn.kt") + public void testExhaustiveWhenReturn() throws Exception { + runTest("compiler/testData/codegen/box/when/exhaustiveWhenReturn.kt"); + } + + @TestMetadata("implicitExhaustiveAndReturn.kt") + public void testImplicitExhaustiveAndReturn() throws Exception { + runTest("compiler/testData/codegen/box/when/implicitExhaustiveAndReturn.kt"); + } + + @TestMetadata("kt2457.kt") + public void testKt2457() throws Exception { + runTest("compiler/testData/codegen/box/when/kt2457.kt"); + } + + @TestMetadata("kt2466.kt") + public void testKt2466() throws Exception { + runTest("compiler/testData/codegen/box/when/kt2466.kt"); + } + + @TestMetadata("kt5307.kt") + public void testKt5307() throws Exception { + runTest("compiler/testData/codegen/box/when/kt5307.kt"); + } + + @TestMetadata("longInRange.kt") + public void testLongInRange() throws Exception { + runTest("compiler/testData/codegen/box/when/longInRange.kt"); + } + + @TestMetadata("matchNotNullAgainstNullable.kt") + public void testMatchNotNullAgainstNullable() throws Exception { + runTest("compiler/testData/codegen/box/when/matchNotNullAgainstNullable.kt"); + } + + @TestMetadata("multipleEntries.kt") + public void testMultipleEntries() throws Exception { + runTest("compiler/testData/codegen/box/when/multipleEntries.kt"); + } + + @TestMetadata("noElseCoerceToUnit.kt") + public void testNoElseCoerceToUnit() throws Exception { + runTest("compiler/testData/codegen/box/when/noElseCoerceToUnit.kt"); + } + + @TestMetadata("noElseExhaustive.kt") + public void testNoElseExhaustive() throws Exception { + runTest("compiler/testData/codegen/box/when/noElseExhaustive.kt"); + } + + @TestMetadata("noElseExhaustiveStatement.kt") + public void testNoElseExhaustiveStatement() throws Exception { + runTest("compiler/testData/codegen/box/when/noElseExhaustiveStatement.kt"); + } + + @TestMetadata("noElseInStatement.kt") + public void testNoElseInStatement() throws Exception { + runTest("compiler/testData/codegen/box/when/noElseInStatement.kt"); + } + + @TestMetadata("noElseNoMatch.kt") + public void testNoElseNoMatch() throws Exception { + runTest("compiler/testData/codegen/box/when/noElseNoMatch.kt"); + } + + @TestMetadata("nullableWhen.kt") + public void testNullableWhen() throws Exception { + runTest("compiler/testData/codegen/box/when/nullableWhen.kt"); + } + + @TestMetadata("sealedWhenInitialization.kt") + public void testSealedWhenInitialization() throws Exception { + runTest("compiler/testData/codegen/box/when/sealedWhenInitialization.kt"); + } + + @TestMetadata("switchBreakNoLabel.kt") + public void testSwitchBreakNoLabel() throws Exception { + runTest("compiler/testData/codegen/box/when/switchBreakNoLabel.kt"); + } + + @TestMetadata("switchOptimizationDuplicates.kt") + public void testSwitchOptimizationDuplicates() throws Exception { + runTest("compiler/testData/codegen/box/when/switchOptimizationDuplicates.kt"); + } + + @TestMetadata("switchOptimizationSingleStatementCase.kt") + public void testSwitchOptimizationSingleStatementCase() throws Exception { + runTest("compiler/testData/codegen/box/when/switchOptimizationSingleStatementCase.kt"); + } + + @TestMetadata("typeDisjunction.kt") + public void testTypeDisjunction() throws Exception { + runTest("compiler/testData/codegen/box/when/typeDisjunction.kt"); + } + + @TestMetadata("whenSafeCallSubjectEvaluatedOnce.kt") + public void testWhenSafeCallSubjectEvaluatedOnce() throws Exception { + runTest("compiler/testData/codegen/box/when/whenSafeCallSubjectEvaluatedOnce.kt"); + } + + @TestMetadata("compiler/testData/codegen/box/when/enumOptimization") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class EnumOptimization extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInEnumOptimization() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/when/enumOptimization"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("bigEnum.kt") + public void testBigEnum() throws Exception { + runTest("compiler/testData/codegen/box/when/enumOptimization/bigEnum.kt"); + } + + @TestMetadata("differentEnumClasses.kt") + public void testDifferentEnumClasses() throws Exception { + runTest("compiler/testData/codegen/box/when/enumOptimization/differentEnumClasses.kt"); + } + + @TestMetadata("differentEnumClasses2.kt") + public void testDifferentEnumClasses2() throws Exception { + runTest("compiler/testData/codegen/box/when/enumOptimization/differentEnumClasses2.kt"); + } + + @TestMetadata("duplicatingItems.kt") + public void testDuplicatingItems() throws Exception { + runTest("compiler/testData/codegen/box/when/enumOptimization/duplicatingItems.kt"); + } + + @TestMetadata("enumInsideClassObject.kt") + public void testEnumInsideClassObject() throws Exception { + runTest("compiler/testData/codegen/box/when/enumOptimization/enumInsideClassObject.kt"); + } + + @TestMetadata("expression.kt") + public void testExpression() throws Exception { + runTest("compiler/testData/codegen/box/when/enumOptimization/expression.kt"); + } + + @TestMetadata("functionLiteralInTopLevel.kt") + public void testFunctionLiteralInTopLevel() throws Exception { + runTest("compiler/testData/codegen/box/when/enumOptimization/functionLiteralInTopLevel.kt"); + } + + @TestMetadata("kt14597.kt") + public void testKt14597() throws Exception { + runTest("compiler/testData/codegen/box/when/enumOptimization/kt14597.kt"); + } + + @TestMetadata("kt14597_full.kt") + public void testKt14597_full() throws Exception { + runTest("compiler/testData/codegen/box/when/enumOptimization/kt14597_full.kt"); + } + + @TestMetadata("kt14802.kt") + public void testKt14802() throws Exception { + runTest("compiler/testData/codegen/box/when/enumOptimization/kt14802.kt"); + } + + @TestMetadata("kt15806.kt") + public void testKt15806() throws Exception { + runTest("compiler/testData/codegen/box/when/enumOptimization/kt15806.kt"); + } + + @TestMetadata("manyWhensWithinClass.kt") + public void testManyWhensWithinClass() throws Exception { + runTest("compiler/testData/codegen/box/when/enumOptimization/manyWhensWithinClass.kt"); + } + + @TestMetadata("nonConstantEnum.kt") + public void testNonConstantEnum() throws Exception { + runTest("compiler/testData/codegen/box/when/enumOptimization/nonConstantEnum.kt"); + } + + @TestMetadata("nullIsTheFirstEntry.kt") + public void testNullIsTheFirstEntry() throws Exception { + runTest("compiler/testData/codegen/box/when/enumOptimization/nullIsTheFirstEntry.kt"); + } + + @TestMetadata("nullability.kt") + public void testNullability() throws Exception { + runTest("compiler/testData/codegen/box/when/enumOptimization/nullability.kt"); + } + + @TestMetadata("nullableEnum.kt") + public void testNullableEnum() throws Exception { + runTest("compiler/testData/codegen/box/when/enumOptimization/nullableEnum.kt"); + } + + @TestMetadata("subjectAny.kt") + public void testSubjectAny() throws Exception { + runTest("compiler/testData/codegen/box/when/enumOptimization/subjectAny.kt"); + } + + @TestMetadata("withoutElse.kt") + public void testWithoutElse() throws Exception { + runTest("compiler/testData/codegen/box/when/enumOptimization/withoutElse.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/when/stringOptimization") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class StringOptimization extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInStringOptimization() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/when/stringOptimization"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("duplicatingItems.kt") + public void testDuplicatingItems() throws Exception { + runTest("compiler/testData/codegen/box/when/stringOptimization/duplicatingItems.kt"); + } + + @TestMetadata("duplicatingItemsSameHashCode.kt") + public void testDuplicatingItemsSameHashCode() throws Exception { + runTest("compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode.kt"); + } + + @TestMetadata("duplicatingItemsSameHashCode2.kt") + public void testDuplicatingItemsSameHashCode2() throws Exception { + runTest("compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode2.kt"); + } + + @TestMetadata("duplicatingItemsSameHashCode3.kt") + public void testDuplicatingItemsSameHashCode3() throws Exception { + runTest("compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode3.kt"); + } + + @TestMetadata("expression.kt") + public void testExpression() throws Exception { + runTest("compiler/testData/codegen/box/when/stringOptimization/expression.kt"); + } + + @TestMetadata("nullability.kt") + public void testNullability() throws Exception { + runTest("compiler/testData/codegen/box/when/stringOptimization/nullability.kt"); + } + + @TestMetadata("sameHashCode.kt") + public void testSameHashCode() throws Exception { + runTest("compiler/testData/codegen/box/when/stringOptimization/sameHashCode.kt"); + } + + @TestMetadata("statement.kt") + public void testStatement() throws Exception { + runTest("compiler/testData/codegen/box/when/stringOptimization/statement.kt"); + } + } + + @TestMetadata("compiler/testData/codegen/box/when/whenSubjectVariable") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class WhenSubjectVariable extends AbstractIrCodegenBoxWasmTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest0(this::doTest, TargetBackend.WASM, testDataFilePath); + } + + public void testAllFilesPresentInWhenSubjectVariable() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/when/whenSubjectVariable"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true); + } + + @TestMetadata("captureSubjectVariable.kt") + public void testCaptureSubjectVariable() throws Exception { + runTest("compiler/testData/codegen/box/when/whenSubjectVariable/captureSubjectVariable.kt"); + } + + @TestMetadata("equalityWithSubjectVariable.kt") + public void testEqualityWithSubjectVariable() throws Exception { + runTest("compiler/testData/codegen/box/when/whenSubjectVariable/equalityWithSubjectVariable.kt"); + } + + @TestMetadata("ieee754Equality.kt") + public void testIeee754Equality() throws Exception { + runTest("compiler/testData/codegen/box/when/whenSubjectVariable/ieee754Equality.kt"); + } + + @TestMetadata("ieee754EqualityWithSmartCast.kt") + public void testIeee754EqualityWithSmartCast() throws Exception { + runTest("compiler/testData/codegen/box/when/whenSubjectVariable/ieee754EqualityWithSmartCast.kt"); + } + + @TestMetadata("isCheckOnSubjectVariable.kt") + public void testIsCheckOnSubjectVariable() throws Exception { + runTest("compiler/testData/codegen/box/when/whenSubjectVariable/isCheckOnSubjectVariable.kt"); + } + + @TestMetadata("kt27161.kt") + public void testKt27161() throws Exception { + runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt27161.kt"); + } + + @TestMetadata("kt27161_int.kt") + public void testKt27161_int() throws Exception { + runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt27161_int.kt"); + } + + @TestMetadata("kt27161_nested.kt") + public void testKt27161_nested() throws Exception { + runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt27161_nested.kt"); + } + + @TestMetadata("kt27161_nested2.kt") + public void testKt27161_nested2() throws Exception { + runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt27161_nested2.kt"); + } + + @TestMetadata("kt27161_string.kt") + public void testKt27161_string() throws Exception { + runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt27161_string.kt"); + } + + @TestMetadata("rangeCheckOnSubjectVariable.kt") + public void testRangeCheckOnSubjectVariable() throws Exception { + runTest("compiler/testData/codegen/box/when/whenSubjectVariable/rangeCheckOnSubjectVariable.kt"); + } + + @TestMetadata("subjectExpressionIsEvaluatedOnce.kt") + public void testSubjectExpressionIsEvaluatedOnce() throws Exception { + runTest("compiler/testData/codegen/box/when/whenSubjectVariable/subjectExpressionIsEvaluatedOnce.kt"); + } + + @TestMetadata("whenByEnum.kt") + public void testWhenByEnum() throws Exception { + runTest("compiler/testData/codegen/box/when/whenSubjectVariable/whenByEnum.kt"); + } + + @TestMetadata("whenByNullableEnum.kt") + public void testWhenByNullableEnum() throws Exception { + runTest("compiler/testData/codegen/box/when/whenSubjectVariable/whenByNullableEnum.kt"); + } + + @TestMetadata("whenByString.kt") + public void testWhenByString() throws Exception { + runTest("compiler/testData/codegen/box/when/whenSubjectVariable/whenByString.kt"); + } + } + } +}