diff --git a/compiler/testData/codegen/box/arrays/arraysOfInlineClass/accessArrayOfUnsigned.kt b/compiler/testData/codegen/box/arrays/arraysOfInlineClass/accessArrayOfUnsigned.kt index f2bf0cd0a99..7bfdf161011 100644 --- a/compiler/testData/codegen/box/arrays/arraysOfInlineClass/accessArrayOfUnsigned.kt +++ b/compiler/testData/codegen/box/arrays/arraysOfInlineClass/accessArrayOfUnsigned.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/arrays/arraysOfInlineClass/arrayOfInlineClassOfArrayOfInlineClass.kt b/compiler/testData/codegen/box/arrays/arraysOfInlineClass/arrayOfInlineClassOfArrayOfInlineClass.kt index 94358f7bb89..ccd6c6fff87 100644 --- a/compiler/testData/codegen/box/arrays/arraysOfInlineClass/arrayOfInlineClassOfArrayOfInlineClass.kt +++ b/compiler/testData/codegen/box/arrays/arraysOfInlineClass/arrayOfInlineClassOfArrayOfInlineClass.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // !LANGUAGE: +InlineClasses // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/arrays/collectionAssignGetMultiIndex.kt b/compiler/testData/codegen/box/arrays/collectionAssignGetMultiIndex.kt index 974b55f66a5..4a7d83c589e 100644 --- a/compiler/testData/codegen/box/arrays/collectionAssignGetMultiIndex.kt +++ b/compiler/testData/codegen/box/arrays/collectionAssignGetMultiIndex.kt @@ -1,3 +1,4 @@ +// 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) { this[index1 + index2] = elem diff --git a/compiler/testData/codegen/box/arrays/collectionGetMultiIndex.kt b/compiler/testData/codegen/box/arrays/collectionGetMultiIndex.kt index 295f860f84a..4cc8a004134 100644 --- a/compiler/testData/codegen/box/arrays/collectionGetMultiIndex.kt +++ b/compiler/testData/codegen/box/arrays/collectionGetMultiIndex.kt @@ -1,3 +1,4 @@ +// 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) { this[index1 + index2] = elem diff --git a/compiler/testData/codegen/box/arrays/hashMap.kt b/compiler/testData/codegen/box/arrays/hashMap.kt index 9c04d4911d6..38316baee5e 100644 --- a/compiler/testData/codegen/box/arrays/hashMap.kt +++ b/compiler/testData/codegen/box/arrays/hashMap.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME operator fun HashMap.set(index: String, elem: Int?) { this.put(index, elem) } diff --git a/compiler/testData/codegen/box/arrays/inProjectionOfList.kt b/compiler/testData/codegen/box/arrays/inProjectionOfList.kt index 3a22c9124c9..559ca509e8f 100644 --- a/compiler/testData/codegen/box/arrays/inProjectionOfList.kt +++ b/compiler/testData/codegen/box/arrays/inProjectionOfList.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/arrays/indices.kt b/compiler/testData/codegen/box/arrays/indices.kt index 65976591a77..92dbbc7969e 100644 --- a/compiler/testData/codegen/box/arrays/indices.kt +++ b/compiler/testData/codegen/box/arrays/indices.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/arrays/indicesChar.kt b/compiler/testData/codegen/box/arrays/indicesChar.kt index 5d3470e389d..89959e1f0c9 100644 --- a/compiler/testData/codegen/box/arrays/indicesChar.kt +++ b/compiler/testData/codegen/box/arrays/indicesChar.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/arrays/kt33.kt b/compiler/testData/codegen/box/arrays/kt33.kt index 25941e0f5cd..aa4a3e2c92b 100644 --- a/compiler/testData/codegen/box/arrays/kt33.kt +++ b/compiler/testData/codegen/box/arrays/kt33.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box () : String { val s = ArrayList() s.add("foo") diff --git a/compiler/testData/codegen/box/arrays/kt7009.kt b/compiler/testData/codegen/box/arrays/kt7009.kt index 91cf7e4fa5b..29e7675339f 100644 --- a/compiler/testData/codegen/box/arrays/kt7009.kt +++ b/compiler/testData/codegen/box/arrays/kt7009.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box() : String { diff --git a/compiler/testData/codegen/box/arrays/kt950.kt b/compiler/testData/codegen/box/arrays/kt950.kt index f9d26d44d43..ca832fd2ad9 100644 --- a/compiler/testData/codegen/box/arrays/kt950.kt +++ b/compiler/testData/codegen/box/arrays/kt950.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME operator fun MutableMap.set(k : K, v : V) = put(k, v) fun box() : String { diff --git a/compiler/testData/codegen/box/arrays/primitiveArrays.kt b/compiler/testData/codegen/box/arrays/primitiveArrays.kt index 86e2b17cb5a..806b11ee1d0 100644 --- a/compiler/testData/codegen/box/arrays/primitiveArrays.kt +++ b/compiler/testData/codegen/box/arrays/primitiveArrays.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/binaryOp/bitwiseOp.kt b/compiler/testData/codegen/box/binaryOp/bitwiseOp.kt index 75a771d5d7e..455ce8d3fba 100644 --- a/compiler/testData/codegen/box/binaryOp/bitwiseOp.kt +++ b/compiler/testData/codegen/box/binaryOp/bitwiseOp.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.experimental.* diff --git a/compiler/testData/codegen/box/binaryOp/bitwiseOpAny.kt b/compiler/testData/codegen/box/binaryOp/bitwiseOpAny.kt index d9913d379a1..56a4f44ba63 100644 --- a/compiler/testData/codegen/box/binaryOp/bitwiseOpAny.kt +++ b/compiler/testData/codegen/box/binaryOp/bitwiseOpAny.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.experimental.* diff --git a/compiler/testData/codegen/box/binaryOp/bitwiseOpNullable.kt b/compiler/testData/codegen/box/binaryOp/bitwiseOpNullable.kt index 16e8a0fe855..fd846d00899 100644 --- a/compiler/testData/codegen/box/binaryOp/bitwiseOpNullable.kt +++ b/compiler/testData/codegen/box/binaryOp/bitwiseOpNullable.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.experimental.* diff --git a/compiler/testData/codegen/box/boxingOptimization/fold.kt b/compiler/testData/codegen/box/boxingOptimization/fold.kt index 7bb1608458b..370b77d7a3b 100644 --- a/compiler/testData/codegen/box/boxingOptimization/fold.kt +++ b/compiler/testData/codegen/box/boxingOptimization/fold.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/boxingOptimization/foldRange.kt b/compiler/testData/codegen/box/boxingOptimization/foldRange.kt index 1127090af9e..464963393d5 100644 --- a/compiler/testData/codegen/box/boxingOptimization/foldRange.kt +++ b/compiler/testData/codegen/box/boxingOptimization/foldRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/boxingOptimization/kt19767_2.kt b/compiler/testData/codegen/box/boxingOptimization/kt19767_2.kt index 8f0913523f9..ba880641fb5 100644 --- a/compiler/testData/codegen/box/boxingOptimization/kt19767_2.kt +++ b/compiler/testData/codegen/box/boxingOptimization/kt19767_2.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME //WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/boxingOptimization/kt6842.kt b/compiler/testData/codegen/box/boxingOptimization/kt6842.kt index e3162a626a3..9f52810a009 100644 --- a/compiler/testData/codegen/box/boxingOptimization/kt6842.kt +++ b/compiler/testData/codegen/box/boxingOptimization/kt6842.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/boxingOptimization/maxMinBy.kt b/compiler/testData/codegen/box/boxingOptimization/maxMinBy.kt index 00adbc52f4c..0d10c6e6ae5 100644 --- a/compiler/testData/codegen/box/boxingOptimization/maxMinBy.kt +++ b/compiler/testData/codegen/box/boxingOptimization/maxMinBy.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/boxingOptimization/progressions.kt b/compiler/testData/codegen/box/boxingOptimization/progressions.kt index 6892c12e89d..5ea2b777575 100644 --- a/compiler/testData/codegen/box/boxingOptimization/progressions.kt +++ b/compiler/testData/codegen/box/boxingOptimization/progressions.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/boxingOptimization/taintedValues.kt b/compiler/testData/codegen/box/boxingOptimization/taintedValues.kt index 83ce3905b87..8be9aab8720 100644 --- a/compiler/testData/codegen/box/boxingOptimization/taintedValues.kt +++ b/compiler/testData/codegen/box/boxingOptimization/taintedValues.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // Just make sure there's no VerifyError diff --git a/compiler/testData/codegen/box/boxingOptimization/taintedValuesBox.kt b/compiler/testData/codegen/box/boxingOptimization/taintedValuesBox.kt index 5ea75e4adf6..950e65354cc 100644 --- a/compiler/testData/codegen/box/boxingOptimization/taintedValuesBox.kt +++ b/compiler/testData/codegen/box/boxingOptimization/taintedValuesBox.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME inline fun put( diff --git a/compiler/testData/codegen/box/bridges/complexTraitImpl.kt b/compiler/testData/codegen/box/bridges/complexTraitImpl.kt index ff5edc8750b..b17347ff040 100644 --- a/compiler/testData/codegen/box/bridges/complexTraitImpl.kt +++ b/compiler/testData/codegen/box/bridges/complexTraitImpl.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME abstract class A { diff --git a/compiler/testData/codegen/box/bridges/delegationComplexWithList.kt b/compiler/testData/codegen/box/bridges/delegationComplexWithList.kt index caf8be2c5dd..6da85b26e4d 100644 --- a/compiler/testData/codegen/box/bridges/delegationComplexWithList.kt +++ b/compiler/testData/codegen/box/bridges/delegationComplexWithList.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME open class Content() { diff --git a/compiler/testData/codegen/box/bridges/kt2498.kt b/compiler/testData/codegen/box/bridges/kt2498.kt index 63811a52bf8..b19065ca64c 100644 --- a/compiler/testData/codegen/box/bridges/kt2498.kt +++ b/compiler/testData/codegen/box/bridges/kt2498.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: NATIVE open class BaseStringList: ArrayList() { diff --git a/compiler/testData/codegen/box/bridges/noBridgeOnMutableCollectionInheritance.kt b/compiler/testData/codegen/box/bridges/noBridgeOnMutableCollectionInheritance.kt index 59e364fe37f..daa5cd81b4c 100644 --- a/compiler/testData/codegen/box/bridges/noBridgeOnMutableCollectionInheritance.kt +++ b/compiler/testData/codegen/box/bridges/noBridgeOnMutableCollectionInheritance.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME interface A { diff --git a/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/abstractSet.kt b/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/abstractSet.kt index 01e1c3c3b33..93fdb7f68c3 100644 --- a/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/abstractSet.kt +++ b/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/abstractSet.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: NATIVE class A : HashSet() diff --git a/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/arrayList.kt b/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/arrayList.kt index 6d07d0b285a..640f907a82c 100644 --- a/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/arrayList.kt +++ b/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/arrayList.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // KT-6042 java.lang.UnsupportedOperationException with ArrayList // IGNORE_BACKEND: NATIVE class A : ArrayList() diff --git a/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/hashMap.kt b/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/hashMap.kt index 821e6fddc98..455c00e03fe 100644 --- a/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/hashMap.kt +++ b/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/hashMap.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: NATIVE // IGNORE_BACKEND: JVM_IR class A : HashMap() diff --git a/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/hashSet.kt b/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/hashSet.kt index 01e1c3c3b33..93fdb7f68c3 100644 --- a/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/hashSet.kt +++ b/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/hashSet.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: NATIVE class A : HashSet() diff --git a/compiler/testData/codegen/box/callableReference/bound/coercionToUnit.kt b/compiler/testData/codegen/box/callableReference/bound/coercionToUnit.kt index 58883cc9de4..d05bbce7f2a 100644 --- a/compiler/testData/codegen/box/callableReference/bound/coercionToUnit.kt +++ b/compiler/testData/codegen/box/callableReference/bound/coercionToUnit.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // !LANGUAGE: +NewInference // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/callableReference/bound/kt15446.kt b/compiler/testData/codegen/box/callableReference/bound/kt15446.kt index 8270b90eb95..2630e17739a 100644 --- a/compiler/testData/codegen/box/callableReference/bound/kt15446.kt +++ b/compiler/testData/codegen/box/callableReference/bound/kt15446.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME //WITH_RUNTIME fun box(): String { val a = intArrayOf(1, 2) diff --git a/compiler/testData/codegen/box/callableReference/function/genericWithDependentType.kt b/compiler/testData/codegen/box/callableReference/function/genericWithDependentType.kt index 79959ec1436..50ce78afc24 100644 --- a/compiler/testData/codegen/box/callableReference/function/genericWithDependentType.kt +++ b/compiler/testData/codegen/box/callableReference/function/genericWithDependentType.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME class Wrapper(val value: T) diff --git a/compiler/testData/codegen/box/callableReference/function/kt21787.kt b/compiler/testData/codegen/box/callableReference/function/kt21787.kt index df995819f8f..5f8e82ca648 100644 --- a/compiler/testData/codegen/box/callableReference/function/kt21787.kt +++ b/compiler/testData/codegen/box/callableReference/function/kt21787.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME class Container { var id: Int? = null diff --git a/compiler/testData/codegen/box/callableReference/function/sortListOfStrings.kt b/compiler/testData/codegen/box/callableReference/function/sortListOfStrings.kt index f37b6b89a98..4020f240869 100644 --- a/compiler/testData/codegen/box/callableReference/function/sortListOfStrings.kt +++ b/compiler/testData/codegen/box/callableReference/function/sortListOfStrings.kt @@ -1,5 +1,6 @@ // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME +// KJS_WITH_FULL_RUNTIME fun sort(list: MutableList, comparator: (String, String) -> Int) { list.sortWith(Comparator(comparator)) diff --git a/compiler/testData/codegen/box/callableReference/property/listOfStringsMapLength.kt b/compiler/testData/codegen/box/callableReference/property/listOfStringsMapLength.kt index f1045e87699..1ccd80406ac 100644 --- a/compiler/testData/codegen/box/callableReference/property/listOfStringsMapLength.kt +++ b/compiler/testData/codegen/box/callableReference/property/listOfStringsMapLength.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/casts/mutableCollections/asWithMutable.kt b/compiler/testData/codegen/box/casts/mutableCollections/asWithMutable.kt index fc38540ef01..19f332acc1c 100644 --- a/compiler/testData/codegen/box/casts/mutableCollections/asWithMutable.kt +++ b/compiler/testData/codegen/box/casts/mutableCollections/asWithMutable.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/casts/mutableCollections/isWithMutable.kt b/compiler/testData/codegen/box/casts/mutableCollections/isWithMutable.kt index 91c880e800d..f5695af1698 100644 --- a/compiler/testData/codegen/box/casts/mutableCollections/isWithMutable.kt +++ b/compiler/testData/codegen/box/casts/mutableCollections/isWithMutable.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/casts/mutableCollections/reifiedAsWithMutable.kt b/compiler/testData/codegen/box/casts/mutableCollections/reifiedAsWithMutable.kt index 34f8987b825..4d80e50e2ba 100644 --- a/compiler/testData/codegen/box/casts/mutableCollections/reifiedAsWithMutable.kt +++ b/compiler/testData/codegen/box/casts/mutableCollections/reifiedAsWithMutable.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/casts/mutableCollections/reifiedIsWithMutable.kt b/compiler/testData/codegen/box/casts/mutableCollections/reifiedIsWithMutable.kt index a552f1cc54f..64cb227c6b4 100644 --- a/compiler/testData/codegen/box/casts/mutableCollections/reifiedIsWithMutable.kt +++ b/compiler/testData/codegen/box/casts/mutableCollections/reifiedIsWithMutable.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/casts/mutableCollections/reifiedSafeAsWithMutable.kt b/compiler/testData/codegen/box/casts/mutableCollections/reifiedSafeAsWithMutable.kt index 0551e381556..1ab994558ef 100644 --- a/compiler/testData/codegen/box/casts/mutableCollections/reifiedSafeAsWithMutable.kt +++ b/compiler/testData/codegen/box/casts/mutableCollections/reifiedSafeAsWithMutable.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/casts/mutableCollections/safeAsWithMutable.kt b/compiler/testData/codegen/box/casts/mutableCollections/safeAsWithMutable.kt index cf73d582aed..f172972c867 100644 --- a/compiler/testData/codegen/box/casts/mutableCollections/safeAsWithMutable.kt +++ b/compiler/testData/codegen/box/casts/mutableCollections/safeAsWithMutable.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/checkcastOptimization/kt19246.kt b/compiler/testData/codegen/box/checkcastOptimization/kt19246.kt index 7fce122da6a..4abd9e66a5d 100644 --- a/compiler/testData/codegen/box/checkcastOptimization/kt19246.kt +++ b/compiler/testData/codegen/box/checkcastOptimization/kt19246.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME enum class ResultType constructor(val reason: String) { diff --git a/compiler/testData/codegen/box/classes/comanionObjectFieldVsClassField.kt b/compiler/testData/codegen/box/classes/comanionObjectFieldVsClassField.kt index 12667820fd5..b5249099f80 100644 --- a/compiler/testData/codegen/box/classes/comanionObjectFieldVsClassField.kt +++ b/compiler/testData/codegen/box/classes/comanionObjectFieldVsClassField.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME class Host { diff --git a/compiler/testData/codegen/box/classes/inheritSetAndHashSet.kt b/compiler/testData/codegen/box/classes/inheritSetAndHashSet.kt index b5799632fdf..fe221964d56 100644 --- a/compiler/testData/codegen/box/classes/inheritSetAndHashSet.kt +++ b/compiler/testData/codegen/box/classes/inheritSetAndHashSet.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: NATIVE interface A : Set diff --git a/compiler/testData/codegen/box/classes/initializerBlockDImpl.kt b/compiler/testData/codegen/box/classes/initializerBlockDImpl.kt index 087f4ab0c54..60f1d9f24c1 100644 --- a/compiler/testData/codegen/box/classes/initializerBlockDImpl.kt +++ b/compiler/testData/codegen/box/classes/initializerBlockDImpl.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME class World() { public val items: ArrayList = ArrayList() diff --git a/compiler/testData/codegen/box/classes/innerClass.kt b/compiler/testData/codegen/box/classes/innerClass.kt index 8f43233aa95..ef36d624b1c 100644 --- a/compiler/testData/codegen/box/classes/innerClass.kt +++ b/compiler/testData/codegen/box/classes/innerClass.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME class Outer(val foo: StringBuilder) { inner class Inner() { fun len() : Int { diff --git a/compiler/testData/codegen/box/classes/kt1538.kt b/compiler/testData/codegen/box/classes/kt1538.kt index e412b9885e3..5ed32558d76 100644 --- a/compiler/testData/codegen/box/classes/kt1538.kt +++ b/compiler/testData/codegen/box/classes/kt1538.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME data class Pair(val first: First, val second: Second) fun parseCatalogs(hashMap: Any?) { diff --git a/compiler/testData/codegen/box/classes/kt1980.kt b/compiler/testData/codegen/box/classes/kt1980.kt index 74414304f25..e237e4c8b9b 100644 --- a/compiler/testData/codegen/box/classes/kt1980.kt +++ b/compiler/testData/codegen/box/classes/kt1980.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME public inline fun Int.times(body : () -> Unit) { var count = this; while (count > 0) { diff --git a/compiler/testData/codegen/box/classes/kt2391.kt b/compiler/testData/codegen/box/classes/kt2391.kt index 2176c01b98e..f3826f81a2f 100644 --- a/compiler/testData/codegen/box/classes/kt2391.kt +++ b/compiler/testData/codegen/box/classes/kt2391.kt @@ -1,3 +1,4 @@ +// 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 fe584cce56a..c72d216109e 100644 --- a/compiler/testData/codegen/box/classes/kt2417.kt +++ b/compiler/testData/codegen/box/classes/kt2417.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box() : String{ val set = HashSet() set.add("foo") diff --git a/compiler/testData/codegen/box/classes/kt343.kt b/compiler/testData/codegen/box/classes/kt343.kt index adae992ae21..9bf3a3f0957 100644 --- a/compiler/testData/codegen/box/classes/kt343.kt +++ b/compiler/testData/codegen/box/classes/kt343.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun launch(f : () -> Unit) { f() } diff --git a/compiler/testData/codegen/box/classes/kt8011.kt b/compiler/testData/codegen/box/classes/kt8011.kt index e4ab453aa33..d9fa7470852 100644 --- a/compiler/testData/codegen/box/classes/kt8011.kt +++ b/compiler/testData/codegen/box/classes/kt8011.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun testFun1(str: String): String { diff --git a/compiler/testData/codegen/box/classes/overloadBinaryOperator.kt b/compiler/testData/codegen/box/classes/overloadBinaryOperator.kt index 2333984acfa..91ec4e1c307 100644 --- a/compiler/testData/codegen/box/classes/overloadBinaryOperator.kt +++ b/compiler/testData/codegen/box/classes/overloadBinaryOperator.kt @@ -1,3 +1,4 @@ +// 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 04fa8c842ca..7ed86497c80 100644 --- a/compiler/testData/codegen/box/classes/overloadPlusAssign.kt +++ b/compiler/testData/codegen/box/classes/overloadPlusAssign.kt @@ -1,3 +1,4 @@ +// 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 005c69ce4f9..6d0747891b8 100644 --- a/compiler/testData/codegen/box/classes/overloadPlusAssignReturn.kt +++ b/compiler/testData/codegen/box/classes/overloadPlusAssignReturn.kt @@ -1,3 +1,4 @@ +// 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 005c69ce4f9..6d0747891b8 100644 --- a/compiler/testData/codegen/box/classes/overloadPlusToPlusAssign.kt +++ b/compiler/testData/codegen/box/classes/overloadPlusToPlusAssign.kt @@ -1,3 +1,4 @@ +// 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 5813e80f4c2..f1751827e0c 100644 --- a/compiler/testData/codegen/box/classes/overloadUnaryOperator.kt +++ b/compiler/testData/codegen/box/classes/overloadUnaryOperator.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME class ArrayWrapper() { val contents = ArrayList() diff --git a/compiler/testData/codegen/box/closures/anonymousObjectAsLastExpressionInLambda.kt b/compiler/testData/codegen/box/closures/anonymousObjectAsLastExpressionInLambda.kt index e66015ff4fa..a6a6e700614 100644 --- a/compiler/testData/codegen/box/closures/anonymousObjectAsLastExpressionInLambda.kt +++ b/compiler/testData/codegen/box/closures/anonymousObjectAsLastExpressionInLambda.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // !LANGUAGE: +NewInference // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/closures/capturedVarsOptimization/withCoroutines.kt b/compiler/testData/codegen/box/closures/capturedVarsOptimization/withCoroutines.kt index 86949e41e56..178f5c462dd 100644 --- a/compiler/testData/codegen/box/closures/capturedVarsOptimization/withCoroutines.kt +++ b/compiler/testData/codegen/box/closures/capturedVarsOptimization/withCoroutines.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/closures/closureInsideClosure/propertyAndFunctionNameClash.kt b/compiler/testData/codegen/box/closures/closureInsideClosure/propertyAndFunctionNameClash.kt index 94562f8c7f1..9287967d5ea 100644 --- a/compiler/testData/codegen/box/closures/closureInsideClosure/propertyAndFunctionNameClash.kt +++ b/compiler/testData/codegen/box/closures/closureInsideClosure/propertyAndFunctionNameClash.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME package d fun box(): String { diff --git a/compiler/testData/codegen/box/collections/inSetWithSmartCast.kt b/compiler/testData/codegen/box/collections/inSetWithSmartCast.kt index ee4987608d6..e5a490931a5 100644 --- a/compiler/testData/codegen/box/collections/inSetWithSmartCast.kt +++ b/compiler/testData/codegen/box/collections/inSetWithSmartCast.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun contains(set: Set, x: Int): Boolean = when { diff --git a/compiler/testData/codegen/box/controlStructures/continueInExpr.kt b/compiler/testData/codegen/box/controlStructures/continueInExpr.kt index 328f8efafec..58fa98c913d 100644 --- a/compiler/testData/codegen/box/controlStructures/continueInExpr.kt +++ b/compiler/testData/codegen/box/controlStructures/continueInExpr.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun concatNonNulls(strings: List): String { diff --git a/compiler/testData/codegen/box/controlStructures/continueInFor.kt b/compiler/testData/codegen/box/controlStructures/continueInFor.kt index 7d5bb6a3dc4..7ca3279026b 100644 --- a/compiler/testData/codegen/box/controlStructures/continueInFor.kt +++ b/compiler/testData/codegen/box/controlStructures/continueInFor.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun for_int_range(): Int { var c = 0 for (i in 1..10) { diff --git a/compiler/testData/codegen/box/controlStructures/continueInForCondition.kt b/compiler/testData/codegen/box/controlStructures/continueInForCondition.kt index 3ebace16102..412d41a7c4f 100644 --- a/compiler/testData/codegen/box/controlStructures/continueInForCondition.kt +++ b/compiler/testData/codegen/box/controlStructures/continueInForCondition.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun foo(): List? = listOf("abcde") diff --git a/compiler/testData/codegen/box/controlStructures/continueToLabelInFor.kt b/compiler/testData/codegen/box/controlStructures/continueToLabelInFor.kt index fe644d6e64b..0942c5725e0 100644 --- a/compiler/testData/codegen/box/controlStructures/continueToLabelInFor.kt +++ b/compiler/testData/codegen/box/controlStructures/continueToLabelInFor.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun for_int_range(): Int { var c = 0 loop@ for (i in 1..10) { diff --git a/compiler/testData/codegen/box/controlStructures/forArrayList.kt b/compiler/testData/codegen/box/controlStructures/forArrayList.kt index cce12773de3..7986a79f79e 100644 --- a/compiler/testData/codegen/box/controlStructures/forArrayList.kt +++ b/compiler/testData/codegen/box/controlStructures/forArrayList.kt @@ -1,3 +1,4 @@ +// 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 04bd627762e..66c1f86b77a 100644 --- a/compiler/testData/codegen/box/controlStructures/forArrayListMultiDecl.kt +++ b/compiler/testData/codegen/box/controlStructures/forArrayListMultiDecl.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val alist = arrayListOf(1 to 2, 2 to 3, 3 to 4) diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayOfObjectArrayWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayOfObjectArrayWithIndex.kt index af7852b8309..201c8693017 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayOfObjectArrayWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayOfObjectArrayWithIndex.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayOfPrimArrayWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayOfPrimArrayWithIndex.kt index 4110567b89a..c47698a44c5 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayOfPrimArrayWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayOfPrimArrayWithIndex.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexContinuesAsUnmodified.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexContinuesAsUnmodified.kt index c0acf8265a9..fba4bb5c509 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexContinuesAsUnmodified.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrayWithIndexContinuesAsUnmodified.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // See https://youtrack.jetbrains.com/issue/KT-22424 // IGNORE_BACKEND: JS // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrrayWithIndexNoElementVar.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrrayWithIndexNoElementVar.kt index 3e1960de238..27ebd2d5101 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrrayWithIndexNoElementVar.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrrayWithIndexNoElementVar.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val arr = arrayOf("a", "b", "c", "d") diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrrayWithIndexNoIndexVar.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrrayWithIndexNoIndexVar.kt index a62b7a28345..004a37109c3 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrrayWithIndexNoIndexVar.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrrayWithIndexNoIndexVar.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val arr = arrayOf("a", "b", "c", "d") diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrrayWithIndexWithExplicitlyTypedIndexVariable.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrrayWithIndexWithExplicitlyTypedIndexVariable.kt index 5ba7716f540..7335bf456e0 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrrayWithIndexWithExplicitlyTypedIndexVariable.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInArrrayWithIndexWithExplicitlyTypedIndexVariable.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val arr = arrayOf("a", "b", "c", "d") diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInByteArrayWithIndexWithSmartCast.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInByteArrayWithIndexWithSmartCast.kt index 61523d25894..9bd16e039fa 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInByteArrayWithIndexWithSmartCast.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInByteArrayWithIndexWithSmartCast.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val arr = byteArrayOf(10, 20, 30, 40) diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInByteArrrayWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInByteArrrayWithIndex.kt index 7060eafb6d9..87d6b9dcb76 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInByteArrrayWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInByteArrrayWithIndex.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val arr = byteArrayOf(10, 20, 30, 40) diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInEmptyArrrayWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInEmptyArrrayWithIndex.kt index b95ed235fe0..61e44061ca8 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInEmptyArrrayWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInEmptyArrrayWithIndex.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val arr = intArrayOf() diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayOfIntsWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayOfIntsWithIndex.kt index c03df2ec3c4..a4d8e55b3bd 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayOfIntsWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayOfIntsWithIndex.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val arr = arrayOf(10, 20, 30, 40) diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayOfIntsWithIndexWithSmartCast.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayOfIntsWithIndexWithSmartCast.kt index b9467837e7c..5ed671d0e57 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayOfIntsWithIndexWithSmartCast.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayOfIntsWithIndexWithSmartCast.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val arr = arrayOf(10, 20, 30, 40) diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayWithIndex.kt index b813712969d..ffaf44d3ab2 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInGenericArrayWithIndex.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val arr = arrayOf(10, 20, 30, 40) diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInIntArrayWithIndexWithSmartCast.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInIntArrayWithIndexWithSmartCast.kt index aebff5d02de..aebc5a2a99c 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInIntArrayWithIndexWithSmartCast.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInIntArrayWithIndexWithSmartCast.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val arr = intArrayOf(10, 20, 30, 40) diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInIntArrrayWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInIntArrrayWithIndex.kt index 09df87d740b..cf0effa84ee 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInIntArrrayWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInIntArrrayWithIndex.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val arr = intArrayOf(10, 20, 30, 40) diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInObjectArrrayWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInObjectArrrayWithIndex.kt index 87b7f2c8cfe..e72e16840a3 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInObjectArrrayWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInObjectArrrayWithIndex.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val arr = arrayOf("a", "b", "c", "d") diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInShortArrayWithIndexWithSmartCast.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInShortArrayWithIndexWithSmartCast.kt index 3f1fa272344..8e10ffcd0b6 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInShortArrayWithIndexWithSmartCast.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInShortArrayWithIndexWithSmartCast.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val arr = shortArrayOf(10, 20, 30, 40) diff --git a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInShortArrrayWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInShortArrrayWithIndex.kt index 49055dc55a3..19995aa89cf 100644 --- a/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInShortArrrayWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInArrayWithIndex/forInShortArrrayWithIndex.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val arr = shortArrayOf(10, 20, 30, 40) diff --git a/compiler/testData/codegen/box/controlStructures/forInCharSequence.kt b/compiler/testData/codegen/box/controlStructures/forInCharSequence.kt index f4df7137f60..b812e816bd5 100644 --- a/compiler/testData/codegen/box/controlStructures/forInCharSequence.kt +++ b/compiler/testData/codegen/box/controlStructures/forInCharSequence.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/controlStructures/forInCharSequenceMut.kt b/compiler/testData/codegen/box/controlStructures/forInCharSequenceMut.kt index 6f2b3414c02..d608ec059f6 100644 --- a/compiler/testData/codegen/box/controlStructures/forInCharSequenceMut.kt +++ b/compiler/testData/codegen/box/controlStructures/forInCharSequenceMut.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceWithIndex.kt index 1435bb37248..bd00dc12b86 100644 --- a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInCharSequenceWithIndex.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val cs: CharSequence = "abcd" diff --git a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInEmptyStringWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInEmptyStringWithIndex.kt index 490e0e6b01f..3b6094bfb1d 100644 --- a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInEmptyStringWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInEmptyStringWithIndex.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndex.kt index bcc212852ff..833686f56b9 100644 --- a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndex.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexNoElementVar.kt b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexNoElementVar.kt index 00fcb0608a0..bba925f536a 100644 --- a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexNoElementVar.kt +++ b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexNoElementVar.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val xs = "abcd" diff --git a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexNoIndexVar.kt b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexNoIndexVar.kt index 3c6acafa997..2eaeb1faf32 100644 --- a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexNoIndexVar.kt +++ b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexNoIndexVar.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val xs = "abcd" diff --git a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexWithExplicitlyTypedIndexVariable.kt b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexWithExplicitlyTypedIndexVariable.kt index fd72df19e45..f2111a4e9b1 100644 --- a/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexWithExplicitlyTypedIndexVariable.kt +++ b/compiler/testData/codegen/box/controlStructures/forInCharSequenceWithIndex/forInStringWithIndexWithExplicitlyTypedIndexVariable.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val xs = "abcd" diff --git a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInEmptyListWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInEmptyListWithIndex.kt index 153bb11f7eb..326076d5975 100644 --- a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInEmptyListWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInEmptyListWithIndex.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val xs = listOf() diff --git a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndex.kt index fd529f7561e..d5be1ee42fe 100644 --- a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndex.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val xs = listOf("a", "b", "c", "d") diff --git a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexNoElementVar.kt b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexNoElementVar.kt index a442bce6cf0..3f54e053b7a 100644 --- a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexNoElementVar.kt +++ b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexNoElementVar.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val xs = listOf("a", "b", "c", "d") diff --git a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexNoIndexVar.kt b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexNoIndexVar.kt index e38b740c350..915e255554f 100644 --- a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexNoIndexVar.kt +++ b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexNoIndexVar.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val xs = listOf("a", "b", "c", "d") diff --git a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexWithExplicitlyTypedIndexVariable.kt b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexWithExplicitlyTypedIndexVariable.kt index 6ecc9408208..b3b7218f584 100644 --- a/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexWithExplicitlyTypedIndexVariable.kt +++ b/compiler/testData/codegen/box/controlStructures/forInIterableWithIndex/forInListWithIndexWithExplicitlyTypedIndexVariable.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val xs = listOf("a", "b", "c", "d") diff --git a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInEmptySequenceWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInEmptySequenceWithIndex.kt index 7f6c239f1e0..16647498f74 100644 --- a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInEmptySequenceWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInEmptySequenceWithIndex.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val xs = listOf().asSequence() diff --git a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndex.kt b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndex.kt index 88796c7f316..9931d613cf7 100644 --- a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndex.kt +++ b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndex.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val xs = listOf("a", "b", "c", "d").asSequence() diff --git a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexNoElementVar.kt b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexNoElementVar.kt index a71fdae9033..6d1885e2e62 100644 --- a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexNoElementVar.kt +++ b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexNoElementVar.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val xs = listOf("a", "b", "c", "d").asSequence() diff --git a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexNoIndexVar.kt b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexNoIndexVar.kt index 6496606222f..b1a9925be6e 100644 --- a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexNoIndexVar.kt +++ b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexNoIndexVar.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val xs = listOf("a", "b", "c", "d").asSequence() diff --git a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexWithExplicitlyTypedIndexVariable.kt b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexWithExplicitlyTypedIndexVariable.kt index 67196f6fadd..af41524043c 100644 --- a/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexWithExplicitlyTypedIndexVariable.kt +++ b/compiler/testData/codegen/box/controlStructures/forInSequenceWithIndex/forInSequenceWithIndexWithExplicitlyTypedIndexVariable.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val xs = listOf("a", "b", "c", "d").asSequence() diff --git a/compiler/testData/codegen/box/controlStructures/forNullableCharInString.kt b/compiler/testData/codegen/box/controlStructures/forNullableCharInString.kt index fc15e3b1bb0..fd43765c6cc 100644 --- a/compiler/testData/codegen/box/controlStructures/forNullableCharInString.kt +++ b/compiler/testData/codegen/box/controlStructures/forNullableCharInString.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/controlStructures/kt910.kt b/compiler/testData/codegen/box/controlStructures/kt910.kt index a9226bbdba2..ae207a80129 100644 --- a/compiler/testData/codegen/box/controlStructures/kt910.kt +++ b/compiler/testData/codegen/box/controlStructures/kt910.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun foo() : Int = try { 2 diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryCatchAfterWhileTrue.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryCatchAfterWhileTrue.kt index 4db8ad73a72..885b67601f8 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryCatchAfterWhileTrue.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryCatchAfterWhileTrue.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String { val a = arrayListOf() diff --git a/compiler/testData/codegen/box/coroutines/asyncIteratorToList_1_3.kt b/compiler/testData/codegen/box/coroutines/asyncIteratorToList_1_3.kt index c8d06a5f72c..3f0e3310dd1 100644 --- a/compiler/testData/codegen/box/coroutines/asyncIteratorToList_1_3.kt +++ b/compiler/testData/codegen/box/coroutines/asyncIteratorToList_1_3.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/await.kt b/compiler/testData/codegen/box/coroutines/await.kt index bd911ade1ad..5b400287cc3 100644 --- a/compiler/testData/codegen/box/coroutines/await.kt +++ b/compiler/testData/codegen/box/coroutines/await.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/controlFlow/breakFinally.kt b/compiler/testData/codegen/box/coroutines/controlFlow/breakFinally.kt index c4f2aa62734..199984990e8 100644 --- a/compiler/testData/codegen/box/coroutines/controlFlow/breakFinally.kt +++ b/compiler/testData/codegen/box/coroutines/controlFlow/breakFinally.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JS // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/coroutines/controlFlow/breakStatement.kt b/compiler/testData/codegen/box/coroutines/controlFlow/breakStatement.kt index 0e2c8f0c2f3..cc3d905866e 100644 --- a/compiler/testData/codegen/box/coroutines/controlFlow/breakStatement.kt +++ b/compiler/testData/codegen/box/coroutines/controlFlow/breakStatement.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/controlFlow/forContinue.kt b/compiler/testData/codegen/box/coroutines/controlFlow/forContinue.kt index 7b8b6065d3c..b089328c20e 100644 --- a/compiler/testData/codegen/box/coroutines/controlFlow/forContinue.kt +++ b/compiler/testData/codegen/box/coroutines/controlFlow/forContinue.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/controlFlow/forStatement.kt b/compiler/testData/codegen/box/coroutines/controlFlow/forStatement.kt index 578ccfd944c..29e30992793 100644 --- a/compiler/testData/codegen/box/coroutines/controlFlow/forStatement.kt +++ b/compiler/testData/codegen/box/coroutines/controlFlow/forStatement.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/controlFlow/forWithStep.kt b/compiler/testData/codegen/box/coroutines/controlFlow/forWithStep.kt index 175aef23563..bfb537db413 100644 --- a/compiler/testData/codegen/box/coroutines/controlFlow/forWithStep.kt +++ b/compiler/testData/codegen/box/coroutines/controlFlow/forWithStep.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/controlFlow/ifStatement.kt b/compiler/testData/codegen/box/coroutines/controlFlow/ifStatement.kt index 0a1d8e8066e..109da6ee5af 100644 --- a/compiler/testData/codegen/box/coroutines/controlFlow/ifStatement.kt +++ b/compiler/testData/codegen/box/coroutines/controlFlow/ifStatement.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/controlFlow/kt22694_1_3.kt b/compiler/testData/codegen/box/coroutines/controlFlow/kt22694_1_3.kt index 7445fd9c959..e7fa1d35b43 100644 --- a/compiler/testData/codegen/box/coroutines/controlFlow/kt22694_1_3.kt +++ b/compiler/testData/codegen/box/coroutines/controlFlow/kt22694_1_3.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/controlFlow/switchLikeWhen.kt b/compiler/testData/codegen/box/coroutines/controlFlow/switchLikeWhen.kt index 992881b1633..19cf7557b56 100644 --- a/compiler/testData/codegen/box/coroutines/controlFlow/switchLikeWhen.kt +++ b/compiler/testData/codegen/box/coroutines/controlFlow/switchLikeWhen.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/breakWithNonEmptyStack.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/breakWithNonEmptyStack.kt index bf37005e38e..b902dd23fb8 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/breakWithNonEmptyStack.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/breakWithNonEmptyStack.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/delegate.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/delegate.kt index 75e73c63f8b..e0e912b95d6 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/delegate.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/delegate.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/controlFlowIf.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/controlFlowIf.kt index 3323e72d14c..5f877bbe67d 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/controlFlowIf.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/controlFlowIf.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/controlFlowWhen.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/controlFlowWhen.kt index d827e3e64db..4339cf6f7f5 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/controlFlowWhen.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/controlFlowWhen.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/extention.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/extention.kt index 3d4b15eeddf..ced0d275316 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/extention.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/extention.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/realStringEscape.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/realStringEscape.kt index 8a48c18620d..befb9175e31 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/realStringEscape.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/realStringEscape.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/realStringRepeat.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/realStringRepeat.kt index 247f2de16b7..a87b06f427f 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/realStringRepeat.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/realStringRepeat.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/generate.kt b/compiler/testData/codegen/box/coroutines/generate.kt index e8698782066..c7c8d789dda 100644 --- a/compiler/testData/codegen/box/coroutines/generate.kt +++ b/compiler/testData/codegen/box/coroutines/generate.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/handleException.kt b/compiler/testData/codegen/box/coroutines/handleException.kt index 0b34eec444a..b58971424bb 100644 --- a/compiler/testData/codegen/box/coroutines/handleException.kt +++ b/compiler/testData/codegen/box/coroutines/handleException.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/inlinedTryCatchFinally.kt b/compiler/testData/codegen/box/coroutines/inlinedTryCatchFinally.kt index 487d20a4d56..451674648f9 100644 --- a/compiler/testData/codegen/box/coroutines/inlinedTryCatchFinally.kt +++ b/compiler/testData/codegen/box/coroutines/inlinedTryCatchFinally.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/kt25912.kt b/compiler/testData/codegen/box/coroutines/kt25912.kt index 90d0ec8fa27..9d12e4de2ed 100644 --- a/compiler/testData/codegen/box/coroutines/kt25912.kt +++ b/compiler/testData/codegen/box/coroutines/kt25912.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // WITH_COROUTINES // COMMON_COROUTINES_TEST diff --git a/compiler/testData/codegen/box/coroutines/nestedTryCatch.kt b/compiler/testData/codegen/box/coroutines/nestedTryCatch.kt index ebca2f67da4..b38f4c44deb 100644 --- a/compiler/testData/codegen/box/coroutines/nestedTryCatch.kt +++ b/compiler/testData/codegen/box/coroutines/nestedTryCatch.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/redundantLocalsElimination/ktor_receivedMessage.kt b/compiler/testData/codegen/box/coroutines/redundantLocalsElimination/ktor_receivedMessage.kt index 8514c0aa791..b72b85d4aa0 100644 --- a/compiler/testData/codegen/box/coroutines/redundantLocalsElimination/ktor_receivedMessage.kt +++ b/compiler/testData/codegen/box/coroutines/redundantLocalsElimination/ktor_receivedMessage.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/handleException.kt b/compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/handleException.kt index 067d7ba31c4..ff88da4c279 100644 --- a/compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/handleException.kt +++ b/compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/handleException.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/ifExpressionInsideCoroutine_1_3.kt b/compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/ifExpressionInsideCoroutine_1_3.kt index 56afb3718ed..d6ed8616b64 100644 --- a/compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/ifExpressionInsideCoroutine_1_3.kt +++ b/compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/ifExpressionInsideCoroutine_1_3.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/inlineTwoReceivers.kt b/compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/inlineTwoReceivers.kt index 71a5b75b0f3..57b6b7ad53d 100644 --- a/compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/inlineTwoReceivers.kt +++ b/compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/inlineTwoReceivers.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/noinlineTwoReceivers.kt b/compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/noinlineTwoReceivers.kt index 34599cbfbaa..4f3ca7e35c1 100644 --- a/compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/noinlineTwoReceivers.kt +++ b/compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/noinlineTwoReceivers.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/tailCallOptimizations/tryCatch.kt b/compiler/testData/codegen/box/coroutines/tailCallOptimizations/tryCatch.kt index 5ab7debdf21..02d6b98a9a1 100644 --- a/compiler/testData/codegen/box/coroutines/tailCallOptimizations/tryCatch.kt +++ b/compiler/testData/codegen/box/coroutines/tailCallOptimizations/tryCatch.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/tryCatchFinallyWithHandleResult.kt b/compiler/testData/codegen/box/coroutines/tryCatchFinallyWithHandleResult.kt index 4c82b93b553..bbf8623ea56 100644 --- a/compiler/testData/codegen/box/coroutines/tryCatchFinallyWithHandleResult.kt +++ b/compiler/testData/codegen/box/coroutines/tryCatchFinallyWithHandleResult.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/tryCatchWithHandleResult.kt b/compiler/testData/codegen/box/coroutines/tryCatchWithHandleResult.kt index ca936776f08..7358f50e2e2 100644 --- a/compiler/testData/codegen/box/coroutines/tryCatchWithHandleResult.kt +++ b/compiler/testData/codegen/box/coroutines/tryCatchWithHandleResult.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/tryFinallyWithHandleResult.kt b/compiler/testData/codegen/box/coroutines/tryFinallyWithHandleResult.kt index 58e81869243..546e1ba06bb 100644 --- a/compiler/testData/codegen/box/coroutines/tryFinallyWithHandleResult.kt +++ b/compiler/testData/codegen/box/coroutines/tryFinallyWithHandleResult.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/varSpilling/kt19475.kt b/compiler/testData/codegen/box/coroutines/varSpilling/kt19475.kt index c7c5d0d87c4..64b84a40b0a 100644 --- a/compiler/testData/codegen/box/coroutines/varSpilling/kt19475.kt +++ b/compiler/testData/codegen/box/coroutines/varSpilling/kt19475.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/delegatedProperty/delegateWithPrivateSet.kt b/compiler/testData/codegen/box/delegatedProperty/delegateWithPrivateSet.kt index e407889f8d1..a3b5ed41643 100644 --- a/compiler/testData/codegen/box/delegatedProperty/delegateWithPrivateSet.kt +++ b/compiler/testData/codegen/box/delegatedProperty/delegateWithPrivateSet.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // See KT-10107: 'Variable must be initialized' for delegate with private set diff --git a/compiler/testData/codegen/box/delegatedProperty/kt9712.kt b/compiler/testData/codegen/box/delegatedProperty/kt9712.kt index 58303ebb9b1..5dc11f8177c 100644 --- a/compiler/testData/codegen/box/delegatedProperty/kt9712.kt +++ b/compiler/testData/codegen/box/delegatedProperty/kt9712.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/delegatedProperty/local/kt13557.kt b/compiler/testData/codegen/box/delegatedProperty/local/kt13557.kt index 6802eb9bda4..37614cccdd4 100644 --- a/compiler/testData/codegen/box/delegatedProperty/local/kt13557.kt +++ b/compiler/testData/codegen/box/delegatedProperty/local/kt13557.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR //WITH_REFLECT diff --git a/compiler/testData/codegen/box/delegatedProperty/local/kt19690.kt b/compiler/testData/codegen/box/delegatedProperty/local/kt19690.kt index b2920f69d19..db9efa9b6cd 100644 --- a/compiler/testData/codegen/box/delegatedProperty/local/kt19690.kt +++ b/compiler/testData/codegen/box/delegatedProperty/local/kt19690.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR //WITH_REFLECT diff --git a/compiler/testData/codegen/box/delegatedProperty/protectedVarWithPrivateSet.kt b/compiler/testData/codegen/box/delegatedProperty/protectedVarWithPrivateSet.kt index 16a17ca562a..cf05c30a40e 100644 --- a/compiler/testData/codegen/box/delegatedProperty/protectedVarWithPrivateSet.kt +++ b/compiler/testData/codegen/box/delegatedProperty/protectedVarWithPrivateSet.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/delegatedProperty/provideDelegate/evaluationOrderVar.kt b/compiler/testData/codegen/box/delegatedProperty/provideDelegate/evaluationOrderVar.kt index 872234beafb..ce8330fa43f 100644 --- a/compiler/testData/codegen/box/delegatedProperty/provideDelegate/evaluationOrderVar.kt +++ b/compiler/testData/codegen/box/delegatedProperty/provideDelegate/evaluationOrderVar.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/destructuringDeclInLambdaParam/stdlibUsages.kt b/compiler/testData/codegen/box/destructuringDeclInLambdaParam/stdlibUsages.kt index fe527e1237d..9d6367910f3 100644 --- a/compiler/testData/codegen/box/destructuringDeclInLambdaParam/stdlibUsages.kt +++ b/compiler/testData/codegen/box/destructuringDeclInLambdaParam/stdlibUsages.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/destructuringDeclInLambdaParam/withIndexed.kt b/compiler/testData/codegen/box/destructuringDeclInLambdaParam/withIndexed.kt index 13280feb86e..364debd2004 100644 --- a/compiler/testData/codegen/box/destructuringDeclInLambdaParam/withIndexed.kt +++ b/compiler/testData/codegen/box/destructuringDeclInLambdaParam/withIndexed.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME data class Station( val id: String?, diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realStringEscape.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realStringEscape.kt index effd859f18a..958549b3308 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realStringEscape.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realStringEscape.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // DONT_RUN_GENERATED_CODE: JS fun escapeChar(c : Char) : String? = when (c) { diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realStringRepeat.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realStringRepeat.kt index 3f39ccc222e..9b58c22110c 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realStringRepeat.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realStringRepeat.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // DONT_RUN_GENERATED_CODE: JS tailrec fun String.repeat(num : Int, acc : StringBuilder = StringBuilder()) : String = diff --git a/compiler/testData/codegen/box/enum/sortEnumEntries.kt b/compiler/testData/codegen/box/enum/sortEnumEntries.kt index 8b894a1ffe2..e50f3b52f89 100644 --- a/compiler/testData/codegen/box/enum/sortEnumEntries.kt +++ b/compiler/testData/codegen/box/enum/sortEnumEntries.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import Game.* diff --git a/compiler/testData/codegen/box/evaluate/kt9443.kt b/compiler/testData/codegen/box/evaluate/kt9443.kt index 9a8946a9e79..7428e8b04df 100644 --- a/compiler/testData/codegen/box/evaluate/kt9443.kt +++ b/compiler/testData/codegen/box/evaluate/kt9443.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME abstract class BaseClass { diff --git a/compiler/testData/codegen/box/extensionFunctions/kt1953.kt b/compiler/testData/codegen/box/extensionFunctions/kt1953.kt index c7f72f666f5..4db9260f942 100644 --- a/compiler/testData/codegen/box/extensionFunctions/kt1953.kt +++ b/compiler/testData/codegen/box/extensionFunctions/kt1953.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box(): String { val sb = StringBuilder() operator fun String.unaryPlus() { diff --git a/compiler/testData/codegen/box/extensionFunctions/kt1953_class.kt b/compiler/testData/codegen/box/extensionFunctions/kt1953_class.kt index e2feab63b56..7d394cff6da 100644 --- a/compiler/testData/codegen/box/extensionFunctions/kt1953_class.kt +++ b/compiler/testData/codegen/box/extensionFunctions/kt1953_class.kt @@ -1,3 +1,4 @@ +// 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 f81998986f4..abb3684d429 100644 --- a/compiler/testData/codegen/box/extensionFunctions/kt475.kt +++ b/compiler/testData/codegen/box/extensionFunctions/kt475.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box() : String { val array = ArrayList() diff --git a/compiler/testData/codegen/box/extensionFunctions/kt865.kt b/compiler/testData/codegen/box/extensionFunctions/kt865.kt index b461ec16a08..dd741dcef83 100644 --- a/compiler/testData/codegen/box/extensionFunctions/kt865.kt +++ b/compiler/testData/codegen/box/extensionFunctions/kt865.kt @@ -1,3 +1,4 @@ +// 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 101e52661bf..b8274e66693 100644 --- a/compiler/testData/codegen/box/extensionFunctions/simple.kt +++ b/compiler/testData/codegen/box/extensionFunctions/simple.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun StringBuilder.first() = this.get(0) fun foo() = StringBuilder("foo").first() diff --git a/compiler/testData/codegen/box/increment/mutableListElement.kt b/compiler/testData/codegen/box/increment/mutableListElement.kt index b861d31e15d..4a719eaaef5 100644 --- a/compiler/testData/codegen/box/increment/mutableListElement.kt +++ b/compiler/testData/codegen/box/increment/mutableListElement.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/inlineClasses/UIntArraySortExample.kt b/compiler/testData/codegen/box/inlineClasses/UIntArraySortExample.kt index 2d88e747b2b..3d304c45163 100644 --- a/compiler/testData/codegen/box/inlineClasses/UIntArraySortExample.kt +++ b/compiler/testData/codegen/box/inlineClasses/UIntArraySortExample.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // !LANGUAGE: +InlineClasses // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/kt27513.kt b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/kt27513.kt index 0c9196b6b80..7e57ada416e 100644 --- a/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/kt27513.kt +++ b/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/kt27513.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // !LANGUAGE: +InlineClasses // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/inlineClasses/equalityForBoxesOfNullableValuesOfInlineClass.kt b/compiler/testData/codegen/box/inlineClasses/equalityForBoxesOfNullableValuesOfInlineClass.kt index 1dec4ccb010..32b6993ffc4 100644 --- a/compiler/testData/codegen/box/inlineClasses/equalityForBoxesOfNullableValuesOfInlineClass.kt +++ b/compiler/testData/codegen/box/inlineClasses/equalityForBoxesOfNullableValuesOfInlineClass.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // !LANGUAGE: +InlineClasses // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/inlineClasses/iterateOverListOfInlineClassValues.kt b/compiler/testData/codegen/box/inlineClasses/iterateOverListOfInlineClassValues.kt index cd363f30994..c3401a7bf3e 100644 --- a/compiler/testData/codegen/box/inlineClasses/iterateOverListOfInlineClassValues.kt +++ b/compiler/testData/codegen/box/inlineClasses/iterateOverListOfInlineClassValues.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // !LANGUAGE: +InlineClasses // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/inlineClasses/kt26103.kt b/compiler/testData/codegen/box/inlineClasses/kt26103.kt index e4f532cd6db..3db69564a22 100644 --- a/compiler/testData/codegen/box/inlineClasses/kt26103.kt +++ b/compiler/testData/codegen/box/inlineClasses/kt26103.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // !LANGUAGE: +InlineClasses // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/inlineClasses/kt26103_covariantUnderlyingType.kt b/compiler/testData/codegen/box/inlineClasses/kt26103_covariantUnderlyingType.kt index 8e9f8d50a96..e1b9a45a854 100644 --- a/compiler/testData/codegen/box/inlineClasses/kt26103_covariantUnderlyingType.kt +++ b/compiler/testData/codegen/box/inlineClasses/kt26103_covariantUnderlyingType.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // !LANGUAGE: +InlineClasses // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/inlineClasses/kt27096.kt b/compiler/testData/codegen/box/inlineClasses/kt27096.kt index a5bc4b904b7..57a1dbcd5c6 100644 --- a/compiler/testData/codegen/box/inlineClasses/kt27096.kt +++ b/compiler/testData/codegen/box/inlineClasses/kt27096.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // !LANGUAGE: +InlineClasses // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/kt27132.kt b/compiler/testData/codegen/box/inlineClasses/kt27132.kt index d41f580cae0..25ce509b71e 100644 --- a/compiler/testData/codegen/box/inlineClasses/kt27132.kt +++ b/compiler/testData/codegen/box/inlineClasses/kt27132.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // !LANGUAGE: +InlineClasses // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/inlineClasses/kt28585.kt b/compiler/testData/codegen/box/inlineClasses/kt28585.kt index ae31de7972a..a266357746f 100644 --- a/compiler/testData/codegen/box/inlineClasses/kt28585.kt +++ b/compiler/testData/codegen/box/inlineClasses/kt28585.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // !LANGUAGE: +InlineClasses // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/inlineClasses/unboxValueFromPlatformType.kt b/compiler/testData/codegen/box/inlineClasses/unboxValueFromPlatformType.kt index 1c388d4b29c..dc25e92ef71 100644 --- a/compiler/testData/codegen/box/inlineClasses/unboxValueFromPlatformType.kt +++ b/compiler/testData/codegen/box/inlineClasses/unboxValueFromPlatformType.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR, NATIVE diff --git a/compiler/testData/codegen/box/inlineClasses/unboxValueOfAnyBeforeMethodInvocation.kt b/compiler/testData/codegen/box/inlineClasses/unboxValueOfAnyBeforeMethodInvocation.kt index 9a1c00de1ec..be8ceb36ae9 100644 --- a/compiler/testData/codegen/box/inlineClasses/unboxValueOfAnyBeforeMethodInvocation.kt +++ b/compiler/testData/codegen/box/inlineClasses/unboxValueOfAnyBeforeMethodInvocation.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/intrinsics/kt10131.kt b/compiler/testData/codegen/box/intrinsics/kt10131.kt index b388bc4fb62..754b5450e76 100644 --- a/compiler/testData/codegen/box/intrinsics/kt10131.kt +++ b/compiler/testData/codegen/box/intrinsics/kt10131.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String = diff --git a/compiler/testData/codegen/box/intrinsics/kt10131a.kt b/compiler/testData/codegen/box/intrinsics/kt10131a.kt index db05fd54b18..92d2ea4ba02 100644 --- a/compiler/testData/codegen/box/intrinsics/kt10131a.kt +++ b/compiler/testData/codegen/box/intrinsics/kt10131a.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String = diff --git a/compiler/testData/codegen/box/intrinsics/rangeFromCollection.kt b/compiler/testData/codegen/box/intrinsics/rangeFromCollection.kt index 93d22ce72d0..f6550bbbd0c 100644 --- a/compiler/testData/codegen/box/intrinsics/rangeFromCollection.kt +++ b/compiler/testData/codegen/box/intrinsics/rangeFromCollection.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box(): String { val list = ArrayList() list.add(1..3) diff --git a/compiler/testData/codegen/box/intrinsics/stringFromCollection.kt b/compiler/testData/codegen/box/intrinsics/stringFromCollection.kt index bd15b7bf3f3..a889f52b9c7 100644 --- a/compiler/testData/codegen/box/intrinsics/stringFromCollection.kt +++ b/compiler/testData/codegen/box/intrinsics/stringFromCollection.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box(): String { val list = ArrayList() list.add("0") diff --git a/compiler/testData/codegen/box/javaInterop/notNullAssertions/mapPut.kt b/compiler/testData/codegen/box/javaInterop/notNullAssertions/mapPut.kt index c39287e7d2b..a9331b0a576 100644 --- a/compiler/testData/codegen/box/javaInterop/notNullAssertions/mapPut.kt +++ b/compiler/testData/codegen/box/javaInterop/notNullAssertions/mapPut.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun foo(k: K, v: V) { val map = HashMap() diff --git a/compiler/testData/codegen/box/jdk/arrayList.kt b/compiler/testData/codegen/box/jdk/arrayList.kt index 54a5b35886e..d0ceaccac7f 100644 --- a/compiler/testData/codegen/box/jdk/arrayList.kt +++ b/compiler/testData/codegen/box/jdk/arrayList.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box(): String { val a = ArrayList() diff --git a/compiler/testData/codegen/box/jdk/hashMap.kt b/compiler/testData/codegen/box/jdk/hashMap.kt index 3574e445e4c..6bdb266364b 100644 --- a/compiler/testData/codegen/box/jdk/hashMap.kt +++ b/compiler/testData/codegen/box/jdk/hashMap.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box(): String { val map: MutableMap = HashMap() diff --git a/compiler/testData/codegen/box/jdk/iteratingOverHashMap.kt b/compiler/testData/codegen/box/jdk/iteratingOverHashMap.kt index c7d4b0752f7..e1b5ec7f4d1 100644 --- a/compiler/testData/codegen/box/jdk/iteratingOverHashMap.kt +++ b/compiler/testData/codegen/box/jdk/iteratingOverHashMap.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR fun box() : String { diff --git a/compiler/testData/codegen/box/jdk/kt1397.kt b/compiler/testData/codegen/box/jdk/kt1397.kt index a18209a99c3..33116232260 100644 --- a/compiler/testData/codegen/box/jdk/kt1397.kt +++ b/compiler/testData/codegen/box/jdk/kt1397.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: NATIVE class IntArrayList(): ArrayList() { diff --git a/compiler/testData/codegen/box/multiDecl/component.kt b/compiler/testData/codegen/box/multiDecl/component.kt index efd446f8df6..b021d1a2e2c 100644 --- a/compiler/testData/codegen/box/multiDecl/component.kt +++ b/compiler/testData/codegen/box/multiDecl/component.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME class S(val a: String, val b: String) { diff --git a/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclFor.kt b/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclFor.kt index d3fce253d5a..e96af75d108 100644 --- a/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclFor.kt +++ b/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclFor.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME class C(val i: Int) { operator fun component1() = i + 1 operator fun component2() = i + 2 diff --git a/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForComponentExtensions.kt b/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForComponentExtensions.kt index fb470307de3..0105f400e8f 100644 --- a/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForComponentExtensions.kt +++ b/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForComponentExtensions.kt @@ -1,3 +1,4 @@ +// 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 344e2051fc9..b471446f2a5 100644 --- a/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForComponentMemberExtensions.kt +++ b/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForComponentMemberExtensions.kt @@ -1,3 +1,4 @@ +// 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 2b223cd505e..c80a394568c 100644 --- a/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt +++ b/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt @@ -1,3 +1,4 @@ +// 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 a744e0370ee..b1776f685f3 100644 --- a/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForValCaptured.kt +++ b/compiler/testData/codegen/box/multiDecl/forIterator/MultiDeclForValCaptured.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME class C(val i: Int) { operator fun component1() = i + 1 operator fun component2() = i + 2 diff --git a/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentExtensions.kt b/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentExtensions.kt index e9facb62192..872d2a9545b 100644 --- a/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentExtensions.kt +++ b/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentExtensions.kt @@ -1,3 +1,4 @@ +// 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 7afc1023d61..814344fba6e 100644 --- a/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentExtensionsValCaptured.kt +++ b/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentExtensionsValCaptured.kt @@ -1,3 +1,4 @@ +// 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 499b2e18356..3c8e9e671e8 100644 --- a/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentMemberExtensions.kt +++ b/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentMemberExtensions.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME class M { operator fun Long.component1() = this + 1 operator fun Long.component2() = this + 2 diff --git a/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt b/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt index b20eb9d7453..dc8fc860e69 100644 --- a/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt +++ b/compiler/testData/codegen/box/multiDecl/forIterator/longIterator/MultiDeclForComponentMemberExtensionsInExtensionFunction.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME class M { operator fun Long.component1() = this + 1 operator fun Long.component2() = this + 2 diff --git a/compiler/testData/codegen/box/multiDecl/kt9828_hashMap.kt b/compiler/testData/codegen/box/multiDecl/kt9828_hashMap.kt index 8793aef1b14..e2b24dbde61 100644 --- a/compiler/testData/codegen/box/multiDecl/kt9828_hashMap.kt +++ b/compiler/testData/codegen/box/multiDecl/kt9828_hashMap.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/nonLocalReturns/kt9644let.kt b/compiler/testData/codegen/box/nonLocalReturns/kt9644let.kt index e39397aeb63..0ffbe9bd75d 100644 --- a/compiler/testData/codegen/box/nonLocalReturns/kt9644let.kt +++ b/compiler/testData/codegen/box/nonLocalReturns/kt9644let.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/objects/localFunctionInObjectInitializer_kt4516.kt b/compiler/testData/codegen/box/objects/localFunctionInObjectInitializer_kt4516.kt index c59e782da64..b86b48aee52 100644 --- a/compiler/testData/codegen/box/objects/localFunctionInObjectInitializer_kt4516.kt +++ b/compiler/testData/codegen/box/objects/localFunctionInObjectInitializer_kt4516.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME object O { val mmmap = HashMap(); diff --git a/compiler/testData/codegen/box/objects/objectVsClassInitialization_kt5291.kt b/compiler/testData/codegen/box/objects/objectVsClassInitialization_kt5291.kt index 88ec3c5bb6e..82a84f5745a 100644 --- a/compiler/testData/codegen/box/objects/objectVsClassInitialization_kt5291.kt +++ b/compiler/testData/codegen/box/objects/objectVsClassInitialization_kt5291.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME public inline fun T.with(f: T.() -> Unit): T { this.f() return this diff --git a/compiler/testData/codegen/box/operatorConventions/plusExplicit.kt b/compiler/testData/codegen/box/operatorConventions/plusExplicit.kt index 3e38b44d62b..edb30cc31c7 100644 --- a/compiler/testData/codegen/box/operatorConventions/plusExplicit.kt +++ b/compiler/testData/codegen/box/operatorConventions/plusExplicit.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/optimizations/kt20844.kt b/compiler/testData/codegen/box/optimizations/kt20844.kt index 6c359e3c88b..3f5b613e05a 100644 --- a/compiler/testData/codegen/box/optimizations/kt20844.kt +++ b/compiler/testData/codegen/box/optimizations/kt20844.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME //WITH_RUNTIME fun foo(x: String, ys: List) = diff --git a/compiler/testData/codegen/box/package/referenceWithTheSameNameAsPackage.kt b/compiler/testData/codegen/box/package/referenceWithTheSameNameAsPackage.kt index 99387957c24..9ac3ac1385f 100644 --- a/compiler/testData/codegen/box/package/referenceWithTheSameNameAsPackage.kt +++ b/compiler/testData/codegen/box/package/referenceWithTheSameNameAsPackage.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // !LANGUAGE: +NewInference // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/platformTypes/primitives/assign.kt b/compiler/testData/codegen/box/platformTypes/primitives/assign.kt index 97730470dfc..ef09ad12eb1 100644 --- a/compiler/testData/codegen/box/platformTypes/primitives/assign.kt +++ b/compiler/testData/codegen/box/platformTypes/primitives/assign.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box(): String { val l = ArrayList() l.add(1) diff --git a/compiler/testData/codegen/box/platformTypes/primitives/compareTo.kt b/compiler/testData/codegen/box/platformTypes/primitives/compareTo.kt index 288a8111d76..78262cb3146 100644 --- a/compiler/testData/codegen/box/platformTypes/primitives/compareTo.kt +++ b/compiler/testData/codegen/box/platformTypes/primitives/compareTo.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box(): String { val l = ArrayList() l.add(1) diff --git a/compiler/testData/codegen/box/platformTypes/primitives/dec.kt b/compiler/testData/codegen/box/platformTypes/primitives/dec.kt index 04574676e01..a533970cf43 100644 --- a/compiler/testData/codegen/box/platformTypes/primitives/dec.kt +++ b/compiler/testData/codegen/box/platformTypes/primitives/dec.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box(): String { val l = ArrayList() l.add(1) diff --git a/compiler/testData/codegen/box/platformTypes/primitives/div.kt b/compiler/testData/codegen/box/platformTypes/primitives/div.kt index 1d19aa08bde..4944dab921c 100644 --- a/compiler/testData/codegen/box/platformTypes/primitives/div.kt +++ b/compiler/testData/codegen/box/platformTypes/primitives/div.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box(): String { val l = ArrayList() l.add(2) diff --git a/compiler/testData/codegen/box/platformTypes/primitives/equals.kt b/compiler/testData/codegen/box/platformTypes/primitives/equals.kt index f11e683d8cf..4a70a0e006d 100644 --- a/compiler/testData/codegen/box/platformTypes/primitives/equals.kt +++ b/compiler/testData/codegen/box/platformTypes/primitives/equals.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box(): String { val l = ArrayList() l.add(1) diff --git a/compiler/testData/codegen/box/platformTypes/primitives/hashCode.kt b/compiler/testData/codegen/box/platformTypes/primitives/hashCode.kt index 884ce0f7752..a0f3ed169cb 100644 --- a/compiler/testData/codegen/box/platformTypes/primitives/hashCode.kt +++ b/compiler/testData/codegen/box/platformTypes/primitives/hashCode.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box(): String { val l = ArrayList() l.add(1) diff --git a/compiler/testData/codegen/box/platformTypes/primitives/inc.kt b/compiler/testData/codegen/box/platformTypes/primitives/inc.kt index 25de0090050..d57a93944e9 100644 --- a/compiler/testData/codegen/box/platformTypes/primitives/inc.kt +++ b/compiler/testData/codegen/box/platformTypes/primitives/inc.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box(): String { val l = ArrayList() l.add(1) diff --git a/compiler/testData/codegen/box/platformTypes/primitives/minus.kt b/compiler/testData/codegen/box/platformTypes/primitives/minus.kt index cf14e881a9a..bd6fabdf999 100644 --- a/compiler/testData/codegen/box/platformTypes/primitives/minus.kt +++ b/compiler/testData/codegen/box/platformTypes/primitives/minus.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box(): String { val l = ArrayList() l.add(1) diff --git a/compiler/testData/codegen/box/platformTypes/primitives/mod.kt b/compiler/testData/codegen/box/platformTypes/primitives/mod.kt index f72a03f668d..3a4f75e2378 100644 --- a/compiler/testData/codegen/box/platformTypes/primitives/mod.kt +++ b/compiler/testData/codegen/box/platformTypes/primitives/mod.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box(): String { val l = ArrayList() l.add(2) diff --git a/compiler/testData/codegen/box/platformTypes/primitives/not.kt b/compiler/testData/codegen/box/platformTypes/primitives/not.kt index 0c280a8febc..d274e58e416 100644 --- a/compiler/testData/codegen/box/platformTypes/primitives/not.kt +++ b/compiler/testData/codegen/box/platformTypes/primitives/not.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box(): String { val l = ArrayList() l.add(true) diff --git a/compiler/testData/codegen/box/platformTypes/primitives/notEquals.kt b/compiler/testData/codegen/box/platformTypes/primitives/notEquals.kt index 0f57a857b28..1ef723c005e 100644 --- a/compiler/testData/codegen/box/platformTypes/primitives/notEquals.kt +++ b/compiler/testData/codegen/box/platformTypes/primitives/notEquals.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box(): String { val l = ArrayList() l.add(1) diff --git a/compiler/testData/codegen/box/platformTypes/primitives/plus.kt b/compiler/testData/codegen/box/platformTypes/primitives/plus.kt index 97b8744ab0d..a346703f3f8 100644 --- a/compiler/testData/codegen/box/platformTypes/primitives/plus.kt +++ b/compiler/testData/codegen/box/platformTypes/primitives/plus.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box(): String { val l = ArrayList() l.add(1) diff --git a/compiler/testData/codegen/box/platformTypes/primitives/plusAssign.kt b/compiler/testData/codegen/box/platformTypes/primitives/plusAssign.kt index cc3512f76a0..80884149fc9 100644 --- a/compiler/testData/codegen/box/platformTypes/primitives/plusAssign.kt +++ b/compiler/testData/codegen/box/platformTypes/primitives/plusAssign.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box(): String { val l = ArrayList() l.add(1) diff --git a/compiler/testData/codegen/box/platformTypes/primitives/rangeTo.kt b/compiler/testData/codegen/box/platformTypes/primitives/rangeTo.kt index ceb1961f5df..865e6d5de32 100644 --- a/compiler/testData/codegen/box/platformTypes/primitives/rangeTo.kt +++ b/compiler/testData/codegen/box/platformTypes/primitives/rangeTo.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box(): String { val l = ArrayList() l.add(2) diff --git a/compiler/testData/codegen/box/platformTypes/primitives/times.kt b/compiler/testData/codegen/box/platformTypes/primitives/times.kt index 939bc056018..91d6bd4220f 100644 --- a/compiler/testData/codegen/box/platformTypes/primitives/times.kt +++ b/compiler/testData/codegen/box/platformTypes/primitives/times.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box(): String { val l = ArrayList() l.add(1) diff --git a/compiler/testData/codegen/box/platformTypes/primitives/toShort.kt b/compiler/testData/codegen/box/platformTypes/primitives/toShort.kt index 429eaf77336..319627270d1 100644 --- a/compiler/testData/codegen/box/platformTypes/primitives/toShort.kt +++ b/compiler/testData/codegen/box/platformTypes/primitives/toShort.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box(): String { val l = ArrayList() l.add(1) diff --git a/compiler/testData/codegen/box/platformTypes/primitives/toString.kt b/compiler/testData/codegen/box/platformTypes/primitives/toString.kt index 3ad15f84649..cbda7d28c5f 100644 --- a/compiler/testData/codegen/box/platformTypes/primitives/toString.kt +++ b/compiler/testData/codegen/box/platformTypes/primitives/toString.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box(): String { val l = ArrayList() l.add(1) diff --git a/compiler/testData/codegen/box/platformTypes/primitives/unaryMinus.kt b/compiler/testData/codegen/box/platformTypes/primitives/unaryMinus.kt index 30ed37ccf3b..fe36a4dd17e 100644 --- a/compiler/testData/codegen/box/platformTypes/primitives/unaryMinus.kt +++ b/compiler/testData/codegen/box/platformTypes/primitives/unaryMinus.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box(): String { val l = ArrayList() l.add(1) diff --git a/compiler/testData/codegen/box/platformTypes/primitives/unaryPlus.kt b/compiler/testData/codegen/box/platformTypes/primitives/unaryPlus.kt index c987878a3a1..02a53edb862 100644 --- a/compiler/testData/codegen/box/platformTypes/primitives/unaryPlus.kt +++ b/compiler/testData/codegen/box/platformTypes/primitives/unaryPlus.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box(): String { val l = ArrayList() l.add(1) diff --git a/compiler/testData/codegen/box/primitiveTypes/kt13023.kt b/compiler/testData/codegen/box/primitiveTypes/kt13023.kt index 602654d9563..2ad4310bc91 100644 --- a/compiler/testData/codegen/box/primitiveTypes/kt13023.kt +++ b/compiler/testData/codegen/box/primitiveTypes/kt13023.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/primitiveTypes/kt16732.kt b/compiler/testData/codegen/box/primitiveTypes/kt16732.kt index 8b58c6f402b..bddf49bec0d 100644 --- a/compiler/testData/codegen/box/primitiveTypes/kt16732.kt +++ b/compiler/testData/codegen/box/primitiveTypes/kt16732.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME //WITH_RUNTIME fun valueFromDB(value: Any): Any { diff --git a/compiler/testData/codegen/box/properties/kt1398.kt b/compiler/testData/codegen/box/properties/kt1398.kt index 35d9900c8f2..85e4416c689 100644 --- a/compiler/testData/codegen/box/properties/kt1398.kt +++ b/compiler/testData/codegen/box/properties/kt1398.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME open class Base(val bar: String) diff --git a/compiler/testData/codegen/box/properties/lateinit/local/kt23260.kt b/compiler/testData/codegen/box/properties/lateinit/local/kt23260.kt index 422a501ba6d..c5e7fcee0da 100644 --- a/compiler/testData/codegen/box/properties/lateinit/local/kt23260.kt +++ b/compiler/testData/codegen/box/properties/lateinit/local/kt23260.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForComparableRange.kt b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForComparableRange.kt index 6201cf0b728..f7338fc62cd 100644 --- a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForComparableRange.kt +++ b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForComparableRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME var order = StringBuilder() diff --git a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForDownTo.kt b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForDownTo.kt index 433614b74aa..6fdc30dcdb7 100644 --- a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForDownTo.kt +++ b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForDownTo.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME var order = StringBuilder() diff --git a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForRangeLiteral.kt b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForRangeLiteral.kt index 1128de60a56..e3dc751bc49 100644 --- a/compiler/testData/codegen/box/ranges/contains/evaluationOrderForRangeLiteral.kt +++ b/compiler/testData/codegen/box/ranges/contains/evaluationOrderForRangeLiteral.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME var order = StringBuilder() diff --git a/compiler/testData/codegen/box/ranges/contains/generated/arrayIndices.kt b/compiler/testData/codegen/box/ranges/contains/generated/arrayIndices.kt index 73f9e466828..9bfdbcf833f 100644 --- a/compiler/testData/codegen/box/ranges/contains/generated/arrayIndices.kt +++ b/compiler/testData/codegen/box/ranges/contains/generated/arrayIndices.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // Auto-generated by GenerateInRangeExpressionTestData. Do not edit! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/contains/generated/charDownTo.kt b/compiler/testData/codegen/box/ranges/contains/generated/charDownTo.kt index a2256df17ba..031343a1659 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 @@ +// KJS_WITH_FULL_RUNTIME // Auto-generated by GenerateInRangeExpressionTestData. Do not edit! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/contains/generated/charSequenceIndices.kt b/compiler/testData/codegen/box/ranges/contains/generated/charSequenceIndices.kt index 7f6d4ac8921..3199d40930e 100644 --- a/compiler/testData/codegen/box/ranges/contains/generated/charSequenceIndices.kt +++ b/compiler/testData/codegen/box/ranges/contains/generated/charSequenceIndices.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // Auto-generated by GenerateInRangeExpressionTestData. Do not edit! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/contains/generated/collectionIndices.kt b/compiler/testData/codegen/box/ranges/contains/generated/collectionIndices.kt index 952f5e7b4e9..8da68230056 100644 --- a/compiler/testData/codegen/box/ranges/contains/generated/collectionIndices.kt +++ b/compiler/testData/codegen/box/ranges/contains/generated/collectionIndices.kt @@ -1,3 +1,4 @@ +// 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 5bda3e06c2f..5aab0a26ce3 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 @@ +// 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 46a94bf7c1f..2c0561beab1 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 @@ +// KJS_WITH_FULL_RUNTIME // Auto-generated by GenerateInRangeExpressionTestData. Do not edit! // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/ranges/contains/inArray.kt b/compiler/testData/codegen/box/ranges/contains/inArray.kt index 496d9095a00..f6e8a5fffcd 100644 --- a/compiler/testData/codegen/box/ranges/contains/inArray.kt +++ b/compiler/testData/codegen/box/ranges/contains/inArray.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String = when { diff --git a/compiler/testData/codegen/box/ranges/contains/inCharSequence.kt b/compiler/testData/codegen/box/ranges/contains/inCharSequence.kt index 56b17a69f6f..2ea22d9bc65 100644 --- a/compiler/testData/codegen/box/ranges/contains/inCharSequence.kt +++ b/compiler/testData/codegen/box/ranges/contains/inCharSequence.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val charSeq: String = "123" diff --git a/compiler/testData/codegen/box/ranges/contains/inCustomObjectRange.kt b/compiler/testData/codegen/box/ranges/contains/inCustomObjectRange.kt index c52fda80d82..49dfff95372 100644 --- a/compiler/testData/codegen/box/ranges/contains/inCustomObjectRange.kt +++ b/compiler/testData/codegen/box/ranges/contains/inCustomObjectRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME class A(val z: Int) : Comparable { diff --git a/compiler/testData/codegen/box/ranges/contains/inIterable.kt b/compiler/testData/codegen/box/ranges/contains/inIterable.kt index 8a418e12d1a..ed11dd2a59b 100644 --- a/compiler/testData/codegen/box/ranges/contains/inIterable.kt +++ b/compiler/testData/codegen/box/ranges/contains/inIterable.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val iterable: Iterable = listOf(1, 2, 3) diff --git a/compiler/testData/codegen/box/ranges/contains/inPrimitiveProgression.kt b/compiler/testData/codegen/box/ranges/contains/inPrimitiveProgression.kt index 96f588d5b97..b3328aba6d9 100644 --- a/compiler/testData/codegen/box/ranges/contains/inPrimitiveProgression.kt +++ b/compiler/testData/codegen/box/ranges/contains/inPrimitiveProgression.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val progression = 1 .. 3 step 2 diff --git a/compiler/testData/codegen/box/ranges/contains/inRangeLiteralComposition.kt b/compiler/testData/codegen/box/ranges/contains/inRangeLiteralComposition.kt index 2e086ceafcd..31200589259 100644 --- a/compiler/testData/codegen/box/ranges/contains/inRangeLiteralComposition.kt +++ b/compiler/testData/codegen/box/ranges/contains/inRangeLiteralComposition.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val i1 = 1 diff --git a/compiler/testData/codegen/box/ranges/contains/kt20106.kt b/compiler/testData/codegen/box/ranges/contains/kt20106.kt index 2b2097f1e04..52d5764705a 100644 --- a/compiler/testData/codegen/box/ranges/contains/kt20106.kt +++ b/compiler/testData/codegen/box/ranges/contains/kt20106.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/ranges/expression/emptyDownto.kt b/compiler/testData/codegen/box/ranges/expression/emptyDownto.kt index d1175ddc353..c1ce86cfdc5 100644 --- a/compiler/testData/codegen/box/ranges/expression/emptyDownto.kt +++ b/compiler/testData/codegen/box/ranges/expression/emptyDownto.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/emptyRange.kt b/compiler/testData/codegen/box/ranges/expression/emptyRange.kt index ac4c66a7678..12d0bd0bf61 100644 --- a/compiler/testData/codegen/box/ranges/expression/emptyRange.kt +++ b/compiler/testData/codegen/box/ranges/expression/emptyRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/inexactSteppedDownTo.kt b/compiler/testData/codegen/box/ranges/expression/inexactSteppedDownTo.kt index 527fc5e4e71..9d3718458bc 100644 --- a/compiler/testData/codegen/box/ranges/expression/inexactSteppedDownTo.kt +++ b/compiler/testData/codegen/box/ranges/expression/inexactSteppedDownTo.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/inexactSteppedRange.kt b/compiler/testData/codegen/box/ranges/expression/inexactSteppedRange.kt index 2612a2bfb49..46519530a7a 100644 --- a/compiler/testData/codegen/box/ranges/expression/inexactSteppedRange.kt +++ b/compiler/testData/codegen/box/ranges/expression/inexactSteppedRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/maxValueMinusTwoToMaxValue.kt b/compiler/testData/codegen/box/ranges/expression/maxValueMinusTwoToMaxValue.kt index d2917ec234b..cd850de6d77 100644 --- a/compiler/testData/codegen/box/ranges/expression/maxValueMinusTwoToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/expression/maxValueMinusTwoToMaxValue.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/maxValueToMaxValue.kt b/compiler/testData/codegen/box/ranges/expression/maxValueToMaxValue.kt index d29d8ac9985..b68665b6b6b 100644 --- a/compiler/testData/codegen/box/ranges/expression/maxValueToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/expression/maxValueToMaxValue.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/maxValueToMinValue.kt b/compiler/testData/codegen/box/ranges/expression/maxValueToMinValue.kt index cd02cc7801d..5393fbf6568 100644 --- a/compiler/testData/codegen/box/ranges/expression/maxValueToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/expression/maxValueToMinValue.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/oneElementDownTo.kt b/compiler/testData/codegen/box/ranges/expression/oneElementDownTo.kt index 324534b2c83..9cf1ac55c61 100644 --- a/compiler/testData/codegen/box/ranges/expression/oneElementDownTo.kt +++ b/compiler/testData/codegen/box/ranges/expression/oneElementDownTo.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/oneElementRange.kt b/compiler/testData/codegen/box/ranges/expression/oneElementRange.kt index 5364fa72fbc..bed1848035a 100644 --- a/compiler/testData/codegen/box/ranges/expression/oneElementRange.kt +++ b/compiler/testData/codegen/box/ranges/expression/oneElementRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/openRange.kt b/compiler/testData/codegen/box/ranges/expression/openRange.kt index 3f963163fb4..828ccba1065 100644 --- a/compiler/testData/codegen/box/ranges/expression/openRange.kt +++ b/compiler/testData/codegen/box/ranges/expression/openRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/overflowZeroDownToMaxValue.kt b/compiler/testData/codegen/box/ranges/expression/overflowZeroDownToMaxValue.kt index 077147dee1a..f089b68d775 100644 --- a/compiler/testData/codegen/box/ranges/expression/overflowZeroDownToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/expression/overflowZeroDownToMaxValue.kt @@ -1,3 +1,4 @@ +// 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 bff4ac7142a..fd905e2d7fa 100644 --- a/compiler/testData/codegen/box/ranges/expression/overflowZeroToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/expression/overflowZeroToMinValue.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/progressionDownToMinValue.kt b/compiler/testData/codegen/box/ranges/expression/progressionDownToMinValue.kt index 031b500c538..901dc6376e1 100644 --- a/compiler/testData/codegen/box/ranges/expression/progressionDownToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/expression/progressionDownToMinValue.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/progressionMaxValueMinusTwoToMaxValue.kt b/compiler/testData/codegen/box/ranges/expression/progressionMaxValueMinusTwoToMaxValue.kt index a047d798697..c1c176efc61 100644 --- a/compiler/testData/codegen/box/ranges/expression/progressionMaxValueMinusTwoToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/expression/progressionMaxValueMinusTwoToMaxValue.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/progressionMaxValueToMaxValue.kt b/compiler/testData/codegen/box/ranges/expression/progressionMaxValueToMaxValue.kt index 500dd236cc5..441222a3a09 100644 --- a/compiler/testData/codegen/box/ranges/expression/progressionMaxValueToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/expression/progressionMaxValueToMaxValue.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/progressionMaxValueToMinValue.kt b/compiler/testData/codegen/box/ranges/expression/progressionMaxValueToMinValue.kt index 8612a911eb9..ff6e62aa81a 100644 --- a/compiler/testData/codegen/box/ranges/expression/progressionMaxValueToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/expression/progressionMaxValueToMinValue.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/progressionMinValueToMinValue.kt b/compiler/testData/codegen/box/ranges/expression/progressionMinValueToMinValue.kt index 9fdef2140ef..752e374a29c 100644 --- a/compiler/testData/codegen/box/ranges/expression/progressionMinValueToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/expression/progressionMinValueToMinValue.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/reversedBackSequence.kt b/compiler/testData/codegen/box/ranges/expression/reversedBackSequence.kt index 6f578b97db4..cc0abcfc4d6 100644 --- a/compiler/testData/codegen/box/ranges/expression/reversedBackSequence.kt +++ b/compiler/testData/codegen/box/ranges/expression/reversedBackSequence.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/reversedEmptyBackSequence.kt b/compiler/testData/codegen/box/ranges/expression/reversedEmptyBackSequence.kt index 275f0a9465f..1a68db39aca 100644 --- a/compiler/testData/codegen/box/ranges/expression/reversedEmptyBackSequence.kt +++ b/compiler/testData/codegen/box/ranges/expression/reversedEmptyBackSequence.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/reversedEmptyRange.kt b/compiler/testData/codegen/box/ranges/expression/reversedEmptyRange.kt index d000a9409a2..6505ec68b03 100644 --- a/compiler/testData/codegen/box/ranges/expression/reversedEmptyRange.kt +++ b/compiler/testData/codegen/box/ranges/expression/reversedEmptyRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/reversedInexactSteppedDownTo.kt b/compiler/testData/codegen/box/ranges/expression/reversedInexactSteppedDownTo.kt index 71fae483a10..dd36184e690 100644 --- a/compiler/testData/codegen/box/ranges/expression/reversedInexactSteppedDownTo.kt +++ b/compiler/testData/codegen/box/ranges/expression/reversedInexactSteppedDownTo.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/reversedRange.kt b/compiler/testData/codegen/box/ranges/expression/reversedRange.kt index 79a46c6e52b..e9519b40b04 100644 --- a/compiler/testData/codegen/box/ranges/expression/reversedRange.kt +++ b/compiler/testData/codegen/box/ranges/expression/reversedRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/reversedSimpleSteppedRange.kt b/compiler/testData/codegen/box/ranges/expression/reversedSimpleSteppedRange.kt index 274ed6c9ad2..efca6bc854b 100644 --- a/compiler/testData/codegen/box/ranges/expression/reversedSimpleSteppedRange.kt +++ b/compiler/testData/codegen/box/ranges/expression/reversedSimpleSteppedRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/simpleDownTo.kt b/compiler/testData/codegen/box/ranges/expression/simpleDownTo.kt index 36a8bd70166..c81bd5b6e56 100644 --- a/compiler/testData/codegen/box/ranges/expression/simpleDownTo.kt +++ b/compiler/testData/codegen/box/ranges/expression/simpleDownTo.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/simpleRange.kt b/compiler/testData/codegen/box/ranges/expression/simpleRange.kt index 99198bef906..47bdeec3ad2 100644 --- a/compiler/testData/codegen/box/ranges/expression/simpleRange.kt +++ b/compiler/testData/codegen/box/ranges/expression/simpleRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/simpleRangeWithNonConstantEnds.kt b/compiler/testData/codegen/box/ranges/expression/simpleRangeWithNonConstantEnds.kt index 347489bab2e..e01201303c5 100644 --- a/compiler/testData/codegen/box/ranges/expression/simpleRangeWithNonConstantEnds.kt +++ b/compiler/testData/codegen/box/ranges/expression/simpleRangeWithNonConstantEnds.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/simpleSteppedDownTo.kt b/compiler/testData/codegen/box/ranges/expression/simpleSteppedDownTo.kt index c18026145fa..d3fe24d9fe6 100644 --- a/compiler/testData/codegen/box/ranges/expression/simpleSteppedDownTo.kt +++ b/compiler/testData/codegen/box/ranges/expression/simpleSteppedDownTo.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/expression/simpleSteppedRange.kt b/compiler/testData/codegen/box/ranges/expression/simpleSteppedRange.kt index a35ff2a83a2..9f5132eee93 100644 --- a/compiler/testData/codegen/box/ranges/expression/simpleSteppedRange.kt +++ b/compiler/testData/codegen/box/ranges/expression/simpleSteppedRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/forInIndices/forInCharSequenceIndices.kt b/compiler/testData/codegen/box/ranges/forInIndices/forInCharSequenceIndices.kt index 1600771fa32..8c2daa422ae 100644 --- a/compiler/testData/codegen/box/ranges/forInIndices/forInCharSequenceIndices.kt +++ b/compiler/testData/codegen/box/ranges/forInIndices/forInCharSequenceIndices.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun test(s: CharSequence): Int { diff --git a/compiler/testData/codegen/box/ranges/forInIndices/forInCollectionImplicitReceiverIndices.kt b/compiler/testData/codegen/box/ranges/forInIndices/forInCollectionImplicitReceiverIndices.kt index ec23e8a7493..0abd3451891 100644 --- a/compiler/testData/codegen/box/ranges/forInIndices/forInCollectionImplicitReceiverIndices.kt +++ b/compiler/testData/codegen/box/ranges/forInIndices/forInCollectionImplicitReceiverIndices.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/ranges/forInIndices/forInCollectionIndices.kt b/compiler/testData/codegen/box/ranges/forInIndices/forInCollectionIndices.kt index f4b018a1ee8..5ec23db0eea 100644 --- a/compiler/testData/codegen/box/ranges/forInIndices/forInCollectionIndices.kt +++ b/compiler/testData/codegen/box/ranges/forInIndices/forInCollectionIndices.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/ranges/forInIndices/forInNonOptimizedIndices.kt b/compiler/testData/codegen/box/ranges/forInIndices/forInNonOptimizedIndices.kt index b46b4812732..8068b8b4c6e 100644 --- a/compiler/testData/codegen/box/ranges/forInIndices/forInNonOptimizedIndices.kt +++ b/compiler/testData/codegen/box/ranges/forInIndices/forInNonOptimizedIndices.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/ranges/forInIndices/forInObjectArrayIndices.kt b/compiler/testData/codegen/box/ranges/forInIndices/forInObjectArrayIndices.kt index db45263759f..67c2e3d2657 100644 --- a/compiler/testData/codegen/box/ranges/forInIndices/forInObjectArrayIndices.kt +++ b/compiler/testData/codegen/box/ranges/forInIndices/forInObjectArrayIndices.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/ranges/forInIndices/forInPrimitiveArrayIndices.kt b/compiler/testData/codegen/box/ranges/forInIndices/forInPrimitiveArrayIndices.kt index e1e5fb603d7..227e1d7f9e9 100644 --- a/compiler/testData/codegen/box/ranges/forInIndices/forInPrimitiveArrayIndices.kt +++ b/compiler/testData/codegen/box/ranges/forInIndices/forInPrimitiveArrayIndices.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/ranges/forInIndices/forNullableIntInArrayIndices.kt b/compiler/testData/codegen/box/ranges/forInIndices/forNullableIntInArrayIndices.kt index 2fb6c207bda..072bfe30db0 100644 --- a/compiler/testData/codegen/box/ranges/forInIndices/forNullableIntInArrayIndices.kt +++ b/compiler/testData/codegen/box/ranges/forInIndices/forNullableIntInArrayIndices.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/ranges/forInIndices/forNullableIntInCollectionIndices.kt b/compiler/testData/codegen/box/ranges/forInIndices/forNullableIntInCollectionIndices.kt index 295f66bf5c9..662426c8e0c 100644 --- a/compiler/testData/codegen/box/ranges/forInIndices/forNullableIntInCollectionIndices.kt +++ b/compiler/testData/codegen/box/ranges/forInIndices/forNullableIntInCollectionIndices.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/ranges/forInIndices/indexOfLast.kt b/compiler/testData/codegen/box/ranges/forInIndices/indexOfLast.kt index 4d776ba833e..912dde44ea6 100644 --- a/compiler/testData/codegen/box/ranges/forInIndices/indexOfLast.kt +++ b/compiler/testData/codegen/box/ranges/forInIndices/indexOfLast.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/ranges/forInIndices/kt12983_forInGenericArrayIndices.kt b/compiler/testData/codegen/box/ranges/forInIndices/kt12983_forInGenericArrayIndices.kt index a702ad58de0..529bf15f7ec 100644 --- a/compiler/testData/codegen/box/ranges/forInIndices/kt12983_forInGenericArrayIndices.kt +++ b/compiler/testData/codegen/box/ranges/forInIndices/kt12983_forInGenericArrayIndices.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME abstract class BaseGeneric(val t: T) { diff --git a/compiler/testData/codegen/box/ranges/forInIndices/kt12983_forInGenericCollectionIndices.kt b/compiler/testData/codegen/box/ranges/forInIndices/kt12983_forInGenericCollectionIndices.kt index 6a66952d7d5..fe2c9dc5619 100644 --- a/compiler/testData/codegen/box/ranges/forInIndices/kt12983_forInGenericCollectionIndices.kt +++ b/compiler/testData/codegen/box/ranges/forInIndices/kt12983_forInGenericCollectionIndices.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME abstract class BaseGeneric(val t: T) { diff --git a/compiler/testData/codegen/box/ranges/forInIndices/kt12983_forInSpecificArrayIndices.kt b/compiler/testData/codegen/box/ranges/forInIndices/kt12983_forInSpecificArrayIndices.kt index 1ff6d06f18a..ba82ac17cf9 100644 --- a/compiler/testData/codegen/box/ranges/forInIndices/kt12983_forInSpecificArrayIndices.kt +++ b/compiler/testData/codegen/box/ranges/forInIndices/kt12983_forInSpecificArrayIndices.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME abstract class BaseGeneric(val t: T) { diff --git a/compiler/testData/codegen/box/ranges/forInIndices/kt12983_forInSpecificCollectionIndices.kt b/compiler/testData/codegen/box/ranges/forInIndices/kt12983_forInSpecificCollectionIndices.kt index adeb7decaed..7ab750fdc64 100644 --- a/compiler/testData/codegen/box/ranges/forInIndices/kt12983_forInSpecificCollectionIndices.kt +++ b/compiler/testData/codegen/box/ranges/forInIndices/kt12983_forInSpecificCollectionIndices.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME abstract class BaseGeneric(val t: T) { diff --git a/compiler/testData/codegen/box/ranges/forInIndices/kt13241_Array.kt b/compiler/testData/codegen/box/ranges/forInIndices/kt13241_Array.kt index 47b299b9a5c..2d8a46e8175 100644 --- a/compiler/testData/codegen/box/ranges/forInIndices/kt13241_Array.kt +++ b/compiler/testData/codegen/box/ranges/forInIndices/kt13241_Array.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/ranges/forInIndices/kt13241_CharSequence.kt b/compiler/testData/codegen/box/ranges/forInIndices/kt13241_CharSequence.kt index a0d45d7698e..9c2913aa99a 100644 --- a/compiler/testData/codegen/box/ranges/forInIndices/kt13241_CharSequence.kt +++ b/compiler/testData/codegen/box/ranges/forInIndices/kt13241_CharSequence.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/ranges/forInIndices/kt13241_Collection.kt b/compiler/testData/codegen/box/ranges/forInIndices/kt13241_Collection.kt index 9bd4610d351..4eaf3afe12a 100644 --- a/compiler/testData/codegen/box/ranges/forInIndices/kt13241_Collection.kt +++ b/compiler/testData/codegen/box/ranges/forInIndices/kt13241_Collection.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/ranges/forInReversed/evaluationOrder/forInReversedDownToEvaluationOrder.kt b/compiler/testData/codegen/box/ranges/forInReversed/evaluationOrder/forInReversedDownToEvaluationOrder.kt index c85ebc7b78e..010af21f1d5 100644 --- a/compiler/testData/codegen/box/ranges/forInReversed/evaluationOrder/forInReversedDownToEvaluationOrder.kt +++ b/compiler/testData/codegen/box/ranges/forInReversed/evaluationOrder/forInReversedDownToEvaluationOrder.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/forInReversed/evaluationOrder/forInReversedRangeLiteralEvaluationOrder.kt b/compiler/testData/codegen/box/ranges/forInReversed/evaluationOrder/forInReversedRangeLiteralEvaluationOrder.kt index 59f09a0c7bd..1b816de9394 100644 --- a/compiler/testData/codegen/box/ranges/forInReversed/evaluationOrder/forInReversedRangeLiteralEvaluationOrder.kt +++ b/compiler/testData/codegen/box/ranges/forInReversed/evaluationOrder/forInReversedRangeLiteralEvaluationOrder.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/forInReversed/evaluationOrder/forInReversedUntilEvaluationOrder.kt b/compiler/testData/codegen/box/ranges/forInReversed/evaluationOrder/forInReversedUntilEvaluationOrder.kt index db6c269f554..0dac73ca202 100644 --- a/compiler/testData/codegen/box/ranges/forInReversed/evaluationOrder/forInReversedUntilEvaluationOrder.kt +++ b/compiler/testData/codegen/box/ranges/forInReversed/evaluationOrder/forInReversedUntilEvaluationOrder.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedArrayIndices.kt b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedArrayIndices.kt index b36db60681f..7aea7662698 100644 --- a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedArrayIndices.kt +++ b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedArrayIndices.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedCharSequenceIndices.kt b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedCharSequenceIndices.kt index 826bb3ffb5d..529d5733a8c 100644 --- a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedCharSequenceIndices.kt +++ b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedCharSequenceIndices.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedCollectionIndices.kt b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedCollectionIndices.kt index f29f5a657be..b249c294630 100644 --- a/compiler/testData/codegen/box/ranges/forInReversed/forInReversedCollectionIndices.kt +++ b/compiler/testData/codegen/box/ranges/forInReversed/forInReversedCollectionIndices.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ranges/forInStringVarUpdatedInLoopBody.kt b/compiler/testData/codegen/box/ranges/forInStringVarUpdatedInLoopBody.kt index c616a47e41f..fc27317bf31 100644 --- a/compiler/testData/codegen/box/ranges/forInStringVarUpdatedInLoopBody.kt +++ b/compiler/testData/codegen/box/ranges/forInStringVarUpdatedInLoopBody.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/ranges/forIntRange.kt b/compiler/testData/codegen/box/ranges/forIntRange.kt index 1dd52f48533..451b1425479 100644 --- a/compiler/testData/codegen/box/ranges/forIntRange.kt +++ b/compiler/testData/codegen/box/ranges/forIntRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box() : String { diff --git a/compiler/testData/codegen/box/ranges/literal/emptyDownto.kt b/compiler/testData/codegen/box/ranges/literal/emptyDownto.kt index 66f002bac45..a94e017d373 100644 --- a/compiler/testData/codegen/box/ranges/literal/emptyDownto.kt +++ b/compiler/testData/codegen/box/ranges/literal/emptyDownto.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/emptyRange.kt b/compiler/testData/codegen/box/ranges/literal/emptyRange.kt index fcc2c2202f4..e10c5f54c63 100644 --- a/compiler/testData/codegen/box/ranges/literal/emptyRange.kt +++ b/compiler/testData/codegen/box/ranges/literal/emptyRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/inexactSteppedDownTo.kt b/compiler/testData/codegen/box/ranges/literal/inexactSteppedDownTo.kt index e0e9162f0db..73b70323b50 100644 --- a/compiler/testData/codegen/box/ranges/literal/inexactSteppedDownTo.kt +++ b/compiler/testData/codegen/box/ranges/literal/inexactSteppedDownTo.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/inexactSteppedRange.kt b/compiler/testData/codegen/box/ranges/literal/inexactSteppedRange.kt index e2a08761baf..7c623897d9d 100644 --- a/compiler/testData/codegen/box/ranges/literal/inexactSteppedRange.kt +++ b/compiler/testData/codegen/box/ranges/literal/inexactSteppedRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/maxValueMinusTwoToMaxValue.kt b/compiler/testData/codegen/box/ranges/literal/maxValueMinusTwoToMaxValue.kt index 4099957bec1..d78c53c1aa8 100644 --- a/compiler/testData/codegen/box/ranges/literal/maxValueMinusTwoToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/literal/maxValueMinusTwoToMaxValue.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/maxValueToMaxValue.kt b/compiler/testData/codegen/box/ranges/literal/maxValueToMaxValue.kt index 79bc05f1ed0..f42fc45ff1d 100644 --- a/compiler/testData/codegen/box/ranges/literal/maxValueToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/literal/maxValueToMaxValue.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/maxValueToMinValue.kt b/compiler/testData/codegen/box/ranges/literal/maxValueToMinValue.kt index c11bf9d6025..5414427bc51 100644 --- a/compiler/testData/codegen/box/ranges/literal/maxValueToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/literal/maxValueToMinValue.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/oneElementDownTo.kt b/compiler/testData/codegen/box/ranges/literal/oneElementDownTo.kt index 13bc2decfcf..ecc7c10169f 100644 --- a/compiler/testData/codegen/box/ranges/literal/oneElementDownTo.kt +++ b/compiler/testData/codegen/box/ranges/literal/oneElementDownTo.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/oneElementRange.kt b/compiler/testData/codegen/box/ranges/literal/oneElementRange.kt index 7e0b1fb1417..1c0e1f99ea0 100644 --- a/compiler/testData/codegen/box/ranges/literal/oneElementRange.kt +++ b/compiler/testData/codegen/box/ranges/literal/oneElementRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/openRange.kt b/compiler/testData/codegen/box/ranges/literal/openRange.kt index 4992ef4ae07..a80317aacb1 100644 --- a/compiler/testData/codegen/box/ranges/literal/openRange.kt +++ b/compiler/testData/codegen/box/ranges/literal/openRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/overflowZeroDownToMaxValue.kt b/compiler/testData/codegen/box/ranges/literal/overflowZeroDownToMaxValue.kt index 6def8d9d8c7..a72407cfc85 100644 --- a/compiler/testData/codegen/box/ranges/literal/overflowZeroDownToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/literal/overflowZeroDownToMaxValue.kt @@ -1,3 +1,4 @@ +// 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 cb0e8e0a1a9..c017cef331c 100644 --- a/compiler/testData/codegen/box/ranges/literal/overflowZeroToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/literal/overflowZeroToMinValue.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/progressionDownToMinValue.kt b/compiler/testData/codegen/box/ranges/literal/progressionDownToMinValue.kt index 0a4d83e90ed..c59f421d8dd 100644 --- a/compiler/testData/codegen/box/ranges/literal/progressionDownToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/literal/progressionDownToMinValue.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/progressionMaxValueMinusTwoToMaxValue.kt b/compiler/testData/codegen/box/ranges/literal/progressionMaxValueMinusTwoToMaxValue.kt index ed1d58fbba1..c52968a986a 100644 --- a/compiler/testData/codegen/box/ranges/literal/progressionMaxValueMinusTwoToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/literal/progressionMaxValueMinusTwoToMaxValue.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/progressionMaxValueToMaxValue.kt b/compiler/testData/codegen/box/ranges/literal/progressionMaxValueToMaxValue.kt index 6269d4a9a8c..c76bd1e76c1 100644 --- a/compiler/testData/codegen/box/ranges/literal/progressionMaxValueToMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/literal/progressionMaxValueToMaxValue.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/progressionMaxValueToMinValue.kt b/compiler/testData/codegen/box/ranges/literal/progressionMaxValueToMinValue.kt index 895897a0e76..db1e548127b 100644 --- a/compiler/testData/codegen/box/ranges/literal/progressionMaxValueToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/literal/progressionMaxValueToMinValue.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/progressionMinValueToMinValue.kt b/compiler/testData/codegen/box/ranges/literal/progressionMinValueToMinValue.kt index 9159deff373..de3efce17a5 100644 --- a/compiler/testData/codegen/box/ranges/literal/progressionMinValueToMinValue.kt +++ b/compiler/testData/codegen/box/ranges/literal/progressionMinValueToMinValue.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/reversedBackSequence.kt b/compiler/testData/codegen/box/ranges/literal/reversedBackSequence.kt index 713937883c3..7da0a9fd8bd 100644 --- a/compiler/testData/codegen/box/ranges/literal/reversedBackSequence.kt +++ b/compiler/testData/codegen/box/ranges/literal/reversedBackSequence.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/reversedEmptyBackSequence.kt b/compiler/testData/codegen/box/ranges/literal/reversedEmptyBackSequence.kt index c0ec9b72800..3459d749841 100644 --- a/compiler/testData/codegen/box/ranges/literal/reversedEmptyBackSequence.kt +++ b/compiler/testData/codegen/box/ranges/literal/reversedEmptyBackSequence.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/reversedEmptyRange.kt b/compiler/testData/codegen/box/ranges/literal/reversedEmptyRange.kt index 534eed0bf51..5fa73e1ae7b 100644 --- a/compiler/testData/codegen/box/ranges/literal/reversedEmptyRange.kt +++ b/compiler/testData/codegen/box/ranges/literal/reversedEmptyRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/reversedInexactSteppedDownTo.kt b/compiler/testData/codegen/box/ranges/literal/reversedInexactSteppedDownTo.kt index 2b286141a6c..40cff354648 100644 --- a/compiler/testData/codegen/box/ranges/literal/reversedInexactSteppedDownTo.kt +++ b/compiler/testData/codegen/box/ranges/literal/reversedInexactSteppedDownTo.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/reversedRange.kt b/compiler/testData/codegen/box/ranges/literal/reversedRange.kt index f72d266189c..a40384a4972 100644 --- a/compiler/testData/codegen/box/ranges/literal/reversedRange.kt +++ b/compiler/testData/codegen/box/ranges/literal/reversedRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/reversedSimpleSteppedRange.kt b/compiler/testData/codegen/box/ranges/literal/reversedSimpleSteppedRange.kt index 0846765bd7e..c398561771a 100644 --- a/compiler/testData/codegen/box/ranges/literal/reversedSimpleSteppedRange.kt +++ b/compiler/testData/codegen/box/ranges/literal/reversedSimpleSteppedRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/simpleDownTo.kt b/compiler/testData/codegen/box/ranges/literal/simpleDownTo.kt index a32ae5b24bc..4dfb673e7b3 100644 --- a/compiler/testData/codegen/box/ranges/literal/simpleDownTo.kt +++ b/compiler/testData/codegen/box/ranges/literal/simpleDownTo.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/simpleRange.kt b/compiler/testData/codegen/box/ranges/literal/simpleRange.kt index 4aea30fc673..deed363e10e 100644 --- a/compiler/testData/codegen/box/ranges/literal/simpleRange.kt +++ b/compiler/testData/codegen/box/ranges/literal/simpleRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/simpleRangeWithNonConstantEnds.kt b/compiler/testData/codegen/box/ranges/literal/simpleRangeWithNonConstantEnds.kt index a7f86f298f5..7426610009f 100644 --- a/compiler/testData/codegen/box/ranges/literal/simpleRangeWithNonConstantEnds.kt +++ b/compiler/testData/codegen/box/ranges/literal/simpleRangeWithNonConstantEnds.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/simpleSteppedDownTo.kt b/compiler/testData/codegen/box/ranges/literal/simpleSteppedDownTo.kt index f997f2b6205..e9f4c6ded1a 100644 --- a/compiler/testData/codegen/box/ranges/literal/simpleSteppedDownTo.kt +++ b/compiler/testData/codegen/box/ranges/literal/simpleSteppedDownTo.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/literal/simpleSteppedRange.kt b/compiler/testData/codegen/box/ranges/literal/simpleSteppedRange.kt index dd4a1378e9e..df128674557 100644 --- a/compiler/testData/codegen/box/ranges/literal/simpleSteppedRange.kt +++ b/compiler/testData/codegen/box/ranges/literal/simpleSteppedRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // TODO: muted automatically, investigate should it be ran for JVM_IR or not // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/ranges/multiAssignmentIterationOverIntRange.kt b/compiler/testData/codegen/box/ranges/multiAssignmentIterationOverIntRange.kt index d8fef0b509a..7d76e00ffec 100644 --- a/compiler/testData/codegen/box/ranges/multiAssignmentIterationOverIntRange.kt +++ b/compiler/testData/codegen/box/ranges/multiAssignmentIterationOverIntRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME operator fun Int.component1(): String { diff --git a/compiler/testData/codegen/box/regressions/Kt1149.kt b/compiler/testData/codegen/box/regressions/Kt1149.kt index f1581c61cf7..985e1628eab 100644 --- a/compiler/testData/codegen/box/regressions/Kt1149.kt +++ b/compiler/testData/codegen/box/regressions/Kt1149.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME package test.regressions.kt1149 diff --git a/compiler/testData/codegen/box/regressions/Kt1619Test.kt b/compiler/testData/codegen/box/regressions/Kt1619Test.kt index d8f38f37765..2540b77d307 100644 --- a/compiler/testData/codegen/box/regressions/Kt1619Test.kt +++ b/compiler/testData/codegen/box/regressions/Kt1619Test.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME package regressions diff --git a/compiler/testData/codegen/box/regressions/Kt2495Test.kt b/compiler/testData/codegen/box/regressions/Kt2495Test.kt index 072eba9a2f8..8fd6f97bbb9 100644 --- a/compiler/testData/codegen/box/regressions/Kt2495Test.kt +++ b/compiler/testData/codegen/box/regressions/Kt2495Test.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME package regressions diff --git a/compiler/testData/codegen/box/regressions/generic.kt b/compiler/testData/codegen/box/regressions/generic.kt index c5cf2b2efff..ede3a824d0f 100644 --- a/compiler/testData/codegen/box/regressions/generic.kt +++ b/compiler/testData/codegen/box/regressions/generic.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun ArrayList.findAll(predicate: (T) -> Boolean): ArrayList { diff --git a/compiler/testData/codegen/box/regressions/kt15196.kt b/compiler/testData/codegen/box/regressions/kt15196.kt index debf64aeb70..735ca177d1e 100644 --- a/compiler/testData/codegen/box/regressions/kt15196.kt +++ b/compiler/testData/codegen/box/regressions/kt15196.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun foo() { val array = Array(0, { IntArray(0) } ) diff --git a/compiler/testData/codegen/box/regressions/kt1779.kt b/compiler/testData/codegen/box/regressions/kt1779.kt index ffcb7d79844..cd665923985 100644 --- a/compiler/testData/codegen/box/regressions/kt1779.kt +++ b/compiler/testData/codegen/box/regressions/kt1779.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.collections.AbstractIterator diff --git a/compiler/testData/codegen/box/regressions/kt1800.kt b/compiler/testData/codegen/box/regressions/kt1800.kt index 85b88bbac74..80abfaa72ee 100644 --- a/compiler/testData/codegen/box/regressions/kt1800.kt +++ b/compiler/testData/codegen/box/regressions/kt1800.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME //KT-1800 error/NonExistentClass generated on runtime package i diff --git a/compiler/testData/codegen/box/regressions/kt2017.kt b/compiler/testData/codegen/box/regressions/kt2017.kt index 3b1b64b5dc1..c28300c2f54 100644 --- a/compiler/testData/codegen/box/regressions/kt2017.kt +++ b/compiler/testData/codegen/box/regressions/kt2017.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/regressions/kt3442.kt b/compiler/testData/codegen/box/regressions/kt3442.kt index 0a28219ff5f..19c49d33516 100644 --- a/compiler/testData/codegen/box/regressions/kt3442.kt +++ b/compiler/testData/codegen/box/regressions/kt3442.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/regressions/kt5056.kt b/compiler/testData/codegen/box/regressions/kt5056.kt index eb6855473ee..646c8cbe443 100644 --- a/compiler/testData/codegen/box/regressions/kt5056.kt +++ b/compiler/testData/codegen/box/regressions/kt5056.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/regressions/kt5953.kt b/compiler/testData/codegen/box/regressions/kt5953.kt index 3a7cdb1f7e5..3ccb46f328a 100644 --- a/compiler/testData/codegen/box/regressions/kt5953.kt +++ b/compiler/testData/codegen/box/regressions/kt5953.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/regressions/kt6153.kt b/compiler/testData/codegen/box/regressions/kt6153.kt index cc21778d197..d2b703a5520 100644 --- a/compiler/testData/codegen/box/regressions/kt6153.kt +++ b/compiler/testData/codegen/box/regressions/kt6153.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // KT-6153 java.lang.IllegalStateException while building object Bug { fun title(id:Int) = when (id) { diff --git a/compiler/testData/codegen/box/regressions/kt6434_2.kt b/compiler/testData/codegen/box/regressions/kt6434_2.kt index 19cd842906a..13343c8cd65 100644 --- a/compiler/testData/codegen/box/regressions/kt6434_2.kt +++ b/compiler/testData/codegen/box/regressions/kt6434_2.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/regressions/kt789.kt b/compiler/testData/codegen/box/regressions/kt789.kt index 9849559160b..d3df588ce1f 100644 --- a/compiler/testData/codegen/box/regressions/kt789.kt +++ b/compiler/testData/codegen/box/regressions/kt789.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME package foo fun box() : String { diff --git a/compiler/testData/codegen/box/regressions/kt998.kt b/compiler/testData/codegen/box/regressions/kt998.kt index 7fef173ff74..2996bbd148f 100644 --- a/compiler/testData/codegen/box/regressions/kt998.kt +++ b/compiler/testData/codegen/box/regressions/kt998.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun findPairless(a : IntArray) : Int { diff --git a/compiler/testData/codegen/box/regressions/objectCaptureOuterConstructorProperty.kt b/compiler/testData/codegen/box/regressions/objectCaptureOuterConstructorProperty.kt index b9011debfe9..48bd6910e91 100644 --- a/compiler/testData/codegen/box/regressions/objectCaptureOuterConstructorProperty.kt +++ b/compiler/testData/codegen/box/regressions/objectCaptureOuterConstructorProperty.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME interface Stream { diff --git a/compiler/testData/codegen/box/regressions/resolvedCallForGetOperator.kt b/compiler/testData/codegen/box/regressions/resolvedCallForGetOperator.kt index 8b0e9bd07b0..19841190362 100644 --- a/compiler/testData/codegen/box/regressions/resolvedCallForGetOperator.kt +++ b/compiler/testData/codegen/box/regressions/resolvedCallForGetOperator.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val targetNameLists: Map = mapOf("1" to "OK") diff --git a/compiler/testData/codegen/box/reified/copyToArray.kt b/compiler/testData/codegen/box/reified/copyToArray.kt index 4cbf10bdec5..43564bbd88e 100644 --- a/compiler/testData/codegen/box/reified/copyToArray.kt +++ b/compiler/testData/codegen/box/reified/copyToArray.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/reified/spreads.kt b/compiler/testData/codegen/box/reified/spreads.kt index d77eabc10a9..442fc238eda 100644 --- a/compiler/testData/codegen/box/reified/spreads.kt +++ b/compiler/testData/codegen/box/reified/spreads.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/reified/varargs.kt b/compiler/testData/codegen/box/reified/varargs.kt index 681d7da31b8..6ad9f19c64f 100644 --- a/compiler/testData/codegen/box/reified/varargs.kt +++ b/compiler/testData/codegen/box/reified/varargs.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/safeCall/kt245.kt b/compiler/testData/codegen/box/safeCall/kt245.kt index 0678b947098..d241b94dcc6 100644 --- a/compiler/testData/codegen/box/safeCall/kt245.kt +++ b/compiler/testData/codegen/box/safeCall/kt245.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun foo() { val l = ArrayList(2) l.add(1) diff --git a/compiler/testData/codegen/box/sam/constructors/comparator.kt b/compiler/testData/codegen/box/sam/constructors/comparator.kt index 56b24616f79..0ff9691f024 100644 --- a/compiler/testData/codegen/box/sam/constructors/comparator.kt +++ b/compiler/testData/codegen/box/sam/constructors/comparator.kt @@ -1,5 +1,6 @@ // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME +// KJS_WITH_FULL_RUNTIME fun box(): String { val list = mutableListOf(3, 2, 4, 8, 1, 5) diff --git a/compiler/testData/codegen/box/sam/constructors/nonLiteralComparator.kt b/compiler/testData/codegen/box/sam/constructors/nonLiteralComparator.kt index 0bef462b2a9..e6e74aec759 100644 --- a/compiler/testData/codegen/box/sam/constructors/nonLiteralComparator.kt +++ b/compiler/testData/codegen/box/sam/constructors/nonLiteralComparator.kt @@ -1,5 +1,6 @@ // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME +// KJS_WITH_FULL_RUNTIME fun box(): String { val list = mutableListOf(3, 2, 4, 8, 1, 5) diff --git a/compiler/testData/codegen/box/specialBuiltins/bridges.kt b/compiler/testData/codegen/box/specialBuiltins/bridges.kt index f6c2b254e26..e60ac046be5 100644 --- a/compiler/testData/codegen/box/specialBuiltins/bridges.kt +++ b/compiler/testData/codegen/box/specialBuiltins/bridges.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: NATIVE diff --git a/compiler/testData/codegen/box/specialBuiltins/commonBridgesTarget.kt b/compiler/testData/codegen/box/specialBuiltins/commonBridgesTarget.kt index 01913a5b391..478f498a447 100644 --- a/compiler/testData/codegen/box/specialBuiltins/commonBridgesTarget.kt +++ b/compiler/testData/codegen/box/specialBuiltins/commonBridgesTarget.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: NATIVE diff --git a/compiler/testData/codegen/box/specialBuiltins/entrySetSOE.kt b/compiler/testData/codegen/box/specialBuiltins/entrySetSOE.kt index 5297ead7ed3..6adf01e21b1 100644 --- a/compiler/testData/codegen/box/specialBuiltins/entrySetSOE.kt +++ b/compiler/testData/codegen/box/specialBuiltins/entrySetSOE.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: NATIVE diff --git a/compiler/testData/codegen/box/specialBuiltins/explicitSuperCall.kt b/compiler/testData/codegen/box/specialBuiltins/explicitSuperCall.kt index bc281a4b112..6c0a3b7f566 100644 --- a/compiler/testData/codegen/box/specialBuiltins/explicitSuperCall.kt +++ b/compiler/testData/codegen/box/specialBuiltins/explicitSuperCall.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: NATIVE class A : ArrayList() { diff --git a/compiler/testData/codegen/box/specialBuiltins/removeSetInt.kt b/compiler/testData/codegen/box/specialBuiltins/removeSetInt.kt index 9e08c333c53..2ae21dea147 100644 --- a/compiler/testData/codegen/box/specialBuiltins/removeSetInt.kt +++ b/compiler/testData/codegen/box/specialBuiltins/removeSetInt.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: NATIVE // IGNORE_BACKEND: JVM_IR class MySet : HashSet() { diff --git a/compiler/testData/codegen/box/strings/forInString.kt b/compiler/testData/codegen/box/strings/forInString.kt index f5bcbbde7be..48316a9fcd7 100644 --- a/compiler/testData/codegen/box/strings/forInString.kt +++ b/compiler/testData/codegen/box/strings/forInString.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun foo(): Int { diff --git a/compiler/testData/codegen/box/strings/kt5389_stringBuilderGet.kt b/compiler/testData/codegen/box/strings/kt5389_stringBuilderGet.kt index c6547b517a4..49855350814 100644 --- a/compiler/testData/codegen/box/strings/kt5389_stringBuilderGet.kt +++ b/compiler/testData/codegen/box/strings/kt5389_stringBuilderGet.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun box(): String { val sb = StringBuilder("OK") return "${sb.get(0)}${sb[1]}" diff --git a/compiler/testData/codegen/box/strings/stringPlusOnlyWorksOnString.kt b/compiler/testData/codegen/box/strings/stringPlusOnlyWorksOnString.kt index cf713b647c2..69806f7415b 100644 --- a/compiler/testData/codegen/box/strings/stringPlusOnlyWorksOnString.kt +++ b/compiler/testData/codegen/box/strings/stringPlusOnlyWorksOnString.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/super/basicmethodSuperClass.kt b/compiler/testData/codegen/box/super/basicmethodSuperClass.kt index ccd620c34fd..4165898b355 100644 --- a/compiler/testData/codegen/box/super/basicmethodSuperClass.kt +++ b/compiler/testData/codegen/box/super/basicmethodSuperClass.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: NATIVE class N() : ArrayList() { diff --git a/compiler/testData/codegen/box/super/superConstructor/kt17464_linkedMapOf.kt b/compiler/testData/codegen/box/super/superConstructor/kt17464_linkedMapOf.kt index 74f6859d385..02a8575981d 100644 --- a/compiler/testData/codegen/box/super/superConstructor/kt17464_linkedMapOf.kt +++ b/compiler/testData/codegen/box/super/superConstructor/kt17464_linkedMapOf.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // FULL_JDK diff --git a/compiler/testData/codegen/box/toArray/kt3177-toTypedArray.kt b/compiler/testData/codegen/box/toArray/kt3177-toTypedArray.kt index 6d941babc19..effa002f45d 100644 --- a/compiler/testData/codegen/box/toArray/kt3177-toTypedArray.kt +++ b/compiler/testData/codegen/box/toArray/kt3177-toTypedArray.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun box(): String { diff --git a/compiler/testData/codegen/box/toArray/returnToTypedArray.kt b/compiler/testData/codegen/box/toArray/returnToTypedArray.kt index 5986dbe5bf4..235d1d425f5 100644 --- a/compiler/testData/codegen/box/toArray/returnToTypedArray.kt +++ b/compiler/testData/codegen/box/toArray/returnToTypedArray.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME fun getCopyToArray(): Array = listOf(2, 3, 9).toTypedArray() diff --git a/compiler/testData/codegen/box/typealias/typeAliasAsBareType.kt b/compiler/testData/codegen/box/typealias/typeAliasAsBareType.kt index eed82fc0045..165de444126 100644 --- a/compiler/testData/codegen/box/typealias/typeAliasAsBareType.kt +++ b/compiler/testData/codegen/box/typealias/typeAliasAsBareType.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME typealias L = List diff --git a/compiler/testData/codegen/box/unsignedTypes/boxConstValOfUnsignedType.kt b/compiler/testData/codegen/box/unsignedTypes/boxConstValOfUnsignedType.kt index d9761cea357..3876f2162ac 100644 --- a/compiler/testData/codegen/box/unsignedTypes/boxConstValOfUnsignedType.kt +++ b/compiler/testData/codegen/box/unsignedTypes/boxConstValOfUnsignedType.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/unsignedTypes/boxedUnsignedEqualsZero.kt b/compiler/testData/codegen/box/unsignedTypes/boxedUnsignedEqualsZero.kt index 3ee274c472f..d0d6fb4106a 100644 --- a/compiler/testData/codegen/box/unsignedTypes/boxedUnsignedEqualsZero.kt +++ b/compiler/testData/codegen/box/unsignedTypes/boxedUnsignedEqualsZero.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/unsignedTypes/checkBasicUnsignedLiterals.kt b/compiler/testData/codegen/box/unsignedTypes/checkBasicUnsignedLiterals.kt index 287d9cbbc1d..dece4f88f60 100644 --- a/compiler/testData/codegen/box/unsignedTypes/checkBasicUnsignedLiterals.kt +++ b/compiler/testData/codegen/box/unsignedTypes/checkBasicUnsignedLiterals.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/unsignedTypes/forEachIndexedInListOfUInts.kt b/compiler/testData/codegen/box/unsignedTypes/forEachIndexedInListOfUInts.kt index 0f7696db5d3..4cbb8c3477c 100644 --- a/compiler/testData/codegen/box/unsignedTypes/forEachIndexedInListOfUInts.kt +++ b/compiler/testData/codegen/box/unsignedTypes/forEachIndexedInListOfUInts.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/forInUnsignedDownTo.kt b/compiler/testData/codegen/box/unsignedTypes/forInUnsignedDownTo.kt index e9ab026bc52..9e3f088c046 100644 --- a/compiler/testData/codegen/box/unsignedTypes/forInUnsignedDownTo.kt +++ b/compiler/testData/codegen/box/unsignedTypes/forInUnsignedDownTo.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/forInUnsignedProgression.kt b/compiler/testData/codegen/box/unsignedTypes/forInUnsignedProgression.kt index 64b0305be1d..4e3d0f93adc 100644 --- a/compiler/testData/codegen/box/unsignedTypes/forInUnsignedProgression.kt +++ b/compiler/testData/codegen/box/unsignedTypes/forInUnsignedProgression.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/forInUnsignedRange.kt b/compiler/testData/codegen/box/unsignedTypes/forInUnsignedRange.kt index e2adb793840..b6c6059ee39 100644 --- a/compiler/testData/codegen/box/unsignedTypes/forInUnsignedRange.kt +++ b/compiler/testData/codegen/box/unsignedTypes/forInUnsignedRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/forInUnsignedRangeLiteral.kt b/compiler/testData/codegen/box/unsignedTypes/forInUnsignedRangeLiteral.kt index cd08590d3c1..46b116d3d14 100644 --- a/compiler/testData/codegen/box/unsignedTypes/forInUnsignedRangeLiteral.kt +++ b/compiler/testData/codegen/box/unsignedTypes/forInUnsignedRangeLiteral.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/forInUnsignedUntil.kt b/compiler/testData/codegen/box/unsignedTypes/forInUnsignedUntil.kt index cda21884435..589476c571e 100644 --- a/compiler/testData/codegen/box/unsignedTypes/forInUnsignedUntil.kt +++ b/compiler/testData/codegen/box/unsignedTypes/forInUnsignedUntil.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/inUnsignedDownTo.kt b/compiler/testData/codegen/box/unsignedTypes/inUnsignedDownTo.kt index adcdd118b9c..c56581747d9 100644 --- a/compiler/testData/codegen/box/unsignedTypes/inUnsignedDownTo.kt +++ b/compiler/testData/codegen/box/unsignedTypes/inUnsignedDownTo.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/inUnsignedRange.kt b/compiler/testData/codegen/box/unsignedTypes/inUnsignedRange.kt index d5061d0345e..e90899c8cec 100644 --- a/compiler/testData/codegen/box/unsignedTypes/inUnsignedRange.kt +++ b/compiler/testData/codegen/box/unsignedTypes/inUnsignedRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/inUnsignedRangeLiteral.kt b/compiler/testData/codegen/box/unsignedTypes/inUnsignedRangeLiteral.kt index 539dcfbe911..df6df361093 100644 --- a/compiler/testData/codegen/box/unsignedTypes/inUnsignedRangeLiteral.kt +++ b/compiler/testData/codegen/box/unsignedTypes/inUnsignedRangeLiteral.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/inUnsignedUntil.kt b/compiler/testData/codegen/box/unsignedTypes/inUnsignedUntil.kt index b4a2657f9d7..0128e4bd8c1 100644 --- a/compiler/testData/codegen/box/unsignedTypes/inUnsignedUntil.kt +++ b/compiler/testData/codegen/box/unsignedTypes/inUnsignedUntil.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/unsignedTypes/iterateOverListOfBoxedUnsignedValues.kt b/compiler/testData/codegen/box/unsignedTypes/iterateOverListOfBoxedUnsignedValues.kt index f08d994324e..7a8f79f476c 100644 --- a/compiler/testData/codegen/box/unsignedTypes/iterateOverListOfBoxedUnsignedValues.kt +++ b/compiler/testData/codegen/box/unsignedTypes/iterateOverListOfBoxedUnsignedValues.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/unsignedTypes/kt25784.kt b/compiler/testData/codegen/box/unsignedTypes/kt25784.kt index 1a5fd1669d3..f55e6b58cbf 100644 --- a/compiler/testData/codegen/box/unsignedTypes/kt25784.kt +++ b/compiler/testData/codegen/box/unsignedTypes/kt25784.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/unsignedTypes/literalEqualsNullableUnsigned.kt b/compiler/testData/codegen/box/unsignedTypes/literalEqualsNullableUnsigned.kt index 6b45a773bb0..30084af4715 100644 --- a/compiler/testData/codegen/box/unsignedTypes/literalEqualsNullableUnsigned.kt +++ b/compiler/testData/codegen/box/unsignedTypes/literalEqualsNullableUnsigned.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/unsignedTypes/nullableUnsignedEqualsLiteral.kt b/compiler/testData/codegen/box/unsignedTypes/nullableUnsignedEqualsLiteral.kt index b0094ddfa1f..e9aaf630b36 100644 --- a/compiler/testData/codegen/box/unsignedTypes/nullableUnsignedEqualsLiteral.kt +++ b/compiler/testData/codegen/box/unsignedTypes/nullableUnsignedEqualsLiteral.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsForMaxLongValue.kt b/compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsForMaxLongValue.kt index 4606c6a5e55..eabb6c0b5c0 100644 --- a/compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsForMaxLongValue.kt +++ b/compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsForMaxLongValue.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsWithSignedOverflow.kt b/compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsWithSignedOverflow.kt index 3bdfd6d64f4..ebec0187e25 100644 --- a/compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsWithSignedOverflow.kt +++ b/compiler/testData/codegen/box/unsignedTypes/unsignedLiteralsWithSignedOverflow.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide_jvm16.kt b/compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide_jvm16.kt index a1255517540..9886756d552 100644 --- a/compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide_jvm16.kt +++ b/compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide_jvm16.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // JVM_TARGET: 1.6 // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide_jvm18.kt b/compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide_jvm18.kt index dc9e41d843a..fa757c17e48 100644 --- a/compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide_jvm18.kt +++ b/compiler/testData/codegen/box/unsignedTypes/unsignedLongDivide_jvm18.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // JVM_TARGET: 1.8 // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder_jvm16.kt b/compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder_jvm16.kt index f2e7b9693ee..74b0120527a 100644 --- a/compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder_jvm16.kt +++ b/compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder_jvm16.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // JVM_TARGET: 1.6 // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder_jvm18.kt b/compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder_jvm18.kt index 4db32088819..8fc2c579ebe 100644 --- a/compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder_jvm18.kt +++ b/compiler/testData/codegen/box/unsignedTypes/unsignedLongRemainder_jvm18.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // JVM_TARGET: 1.8 // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/unsignedTypes/unsignedRangeIterator.kt b/compiler/testData/codegen/box/unsignedTypes/unsignedRangeIterator.kt index 0f427e722c0..6bb97554679 100644 --- a/compiler/testData/codegen/box/unsignedTypes/unsignedRangeIterator.kt +++ b/compiler/testData/codegen/box/unsignedTypes/unsignedRangeIterator.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/unsignedTypes/unsignedTypePrefixIncrementDecrementBoxing.kt b/compiler/testData/codegen/box/unsignedTypes/unsignedTypePrefixIncrementDecrementBoxing.kt index 2ee4c8fdd02..1988f490eaf 100644 --- a/compiler/testData/codegen/box/unsignedTypes/unsignedTypePrefixIncrementDecrementBoxing.kt +++ b/compiler/testData/codegen/box/unsignedTypes/unsignedTypePrefixIncrementDecrementBoxing.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_REFLECT // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/unsignedTypes/unsignedTypeValuesInsideStringTemplates.kt b/compiler/testData/codegen/box/unsignedTypes/unsignedTypeValuesInsideStringTemplates.kt index cfc0af7bb71..ec620f3fb69 100644 --- a/compiler/testData/codegen/box/unsignedTypes/unsignedTypeValuesInsideStringTemplates.kt +++ b/compiler/testData/codegen/box/unsignedTypes/unsignedTypeValuesInsideStringTemplates.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR diff --git a/compiler/testData/codegen/box/unsignedTypes/whenByUnsigned.kt b/compiler/testData/codegen/box/unsignedTypes/whenByUnsigned.kt index 503349da746..7e536a1d3ef 100644 --- a/compiler/testData/codegen/box/unsignedTypes/whenByUnsigned.kt +++ b/compiler/testData/codegen/box/unsignedTypes/whenByUnsigned.kt @@ -1,4 +1,5 @@ // WITH_RUNTIME +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JS, JVM_IR const val M1: UInt = 2147483648u diff --git a/compiler/testData/codegen/box/vararg/kt581.kt b/compiler/testData/codegen/box/vararg/kt581.kt index 829dc640f1d..9e7c41a3e9a 100644 --- a/compiler/testData/codegen/box/vararg/kt581.kt +++ b/compiler/testData/codegen/box/vararg/kt581.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME package whats.the.difference fun iarray(vararg a : Int) = a // BUG diff --git a/compiler/testData/codegen/box/when/is.kt b/compiler/testData/codegen/box/when/is.kt index fa0580b2740..3e1088b8656 100644 --- a/compiler/testData/codegen/box/when/is.kt +++ b/compiler/testData/codegen/box/when/is.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun typeName(a: Any?) : String { return when(a) { is ArrayList<*> -> "array list" diff --git a/compiler/testData/codegen/box/when/kt5448.kt b/compiler/testData/codegen/box/when/kt5448.kt index e1c81b55ca9..e7bb0376b21 100644 --- a/compiler/testData/codegen/box/when/kt5448.kt +++ b/compiler/testData/codegen/box/when/kt5448.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME class A diff --git a/compiler/testData/codegen/box/when/range.kt b/compiler/testData/codegen/box/when/range.kt index a8d8c41c144..661765305ac 100644 --- a/compiler/testData/codegen/box/when/range.kt +++ b/compiler/testData/codegen/box/when/range.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME fun isDigit(a: Int) : String { val aa = ArrayList () aa.add(239) diff --git a/compiler/testData/codegen/box/when/stringOptimization/temporaryVarInWhenByStringIsDisposedProperly.kt b/compiler/testData/codegen/box/when/stringOptimization/temporaryVarInWhenByStringIsDisposedProperly.kt index 11824481064..b452b5a85d6 100644 --- a/compiler/testData/codegen/box/when/stringOptimization/temporaryVarInWhenByStringIsDisposedProperly.kt +++ b/compiler/testData/codegen/box/when/stringOptimization/temporaryVarInWhenByStringIsDisposedProperly.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME val String.name get() = this diff --git a/compiler/testData/codegen/box/when/switchOptimizationDense.kt b/compiler/testData/codegen/box/when/switchOptimizationDense.kt index 0d3a604681f..02eee6b6ca9 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationDense.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationDense.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // CHECK_CASES_COUNT: function=dense count=10 // CHECK_IF_COUNT: function=dense count=0 diff --git a/compiler/testData/codegen/box/when/switchOptimizationMultipleConditions.kt b/compiler/testData/codegen/box/when/switchOptimizationMultipleConditions.kt index 1883f1a9580..9fa88043b27 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationMultipleConditions.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationMultipleConditions.kt @@ -1,4 +1,5 @@ // WITH_RUNTIME +// KJS_WITH_FULL_RUNTIME // CHECK_CASES_COUNT: function=foo count=9 // CHECK_IF_COUNT: function=foo count=0 diff --git a/compiler/testData/codegen/box/when/switchOptimizationSparse.kt b/compiler/testData/codegen/box/when/switchOptimizationSparse.kt index f7ce09c8a16..59c7a10cd02 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationSparse.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationSparse.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // CHECK_CASES_COUNT: function=sparse count=3 // CHECK_IF_COUNT: function=sparse count=0 diff --git a/compiler/testData/codegen/box/when/switchOptimizationStatement.kt b/compiler/testData/codegen/box/when/switchOptimizationStatement.kt index 0a827fd3f76..fed77d9e5a1 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationStatement.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationStatement.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // CHECK_CASES_COUNT: function=exhaustive count=3 // CHECK_IF_COUNT: function=exhaustive count=0 diff --git a/compiler/testData/codegen/box/when/switchOptimizationTypes.kt b/compiler/testData/codegen/box/when/switchOptimizationTypes.kt index 152de056680..6f0137bd7cf 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationTypes.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationTypes.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // CHECK_CASES_COUNT: function=intFoo count=3 // CHECK_IF_COUNT: function=intFoo count=0 diff --git a/compiler/testData/codegen/box/when/switchOptimizationUnordered.kt b/compiler/testData/codegen/box/when/switchOptimizationUnordered.kt index 0700ea3d53b..32a1dc501f7 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationUnordered.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationUnordered.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // CHECK_CASES_COUNT: function=foo count=3 // CHECK_IF_COUNT: function=foo count=0 diff --git a/compiler/testData/codegen/box/when/switchOptimizationWithGap.kt b/compiler/testData/codegen/box/when/switchOptimizationWithGap.kt index 5b84ac18c1c..8e22f547c87 100644 --- a/compiler/testData/codegen/box/when/switchOptimizationWithGap.kt +++ b/compiler/testData/codegen/box/when/switchOptimizationWithGap.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME // CHECK_CASES_COUNT: function=foo count=4 // CHECK_IF_COUNT: function=foo count=1 diff --git a/compiler/testData/codegen/box/when/whenArgumentIsEvaluatedOnlyOnce.kt b/compiler/testData/codegen/box/when/whenArgumentIsEvaluatedOnlyOnce.kt index 48ebea48731..665d10d7d3a 100644 --- a/compiler/testData/codegen/box/when/whenArgumentIsEvaluatedOnlyOnce.kt +++ b/compiler/testData/codegen/box/when/whenArgumentIsEvaluatedOnlyOnce.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME var x = 0 fun inc(): Int { x++ diff --git a/compiler/testData/codegen/box/when/whenSubjectVariable/denseIntSwitchWithSubjectVariable.kt b/compiler/testData/codegen/box/when/whenSubjectVariable/denseIntSwitchWithSubjectVariable.kt index 1fd0b4a9d3d..17116b208d0 100644 --- a/compiler/testData/codegen/box/when/whenSubjectVariable/denseIntSwitchWithSubjectVariable.kt +++ b/compiler/testData/codegen/box/when/whenSubjectVariable/denseIntSwitchWithSubjectVariable.kt @@ -1,3 +1,4 @@ +// 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 65a9becfd38..e6b7d06b2d2 100644 --- a/compiler/testData/codegen/box/when/whenSubjectVariable/sparseIntSwitchWithSubjectVariable.kt +++ b/compiler/testData/codegen/box/when/whenSubjectVariable/sparseIntSwitchWithSubjectVariable.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // !LANGUAGE: +VariableDeclarationInWhenSubject // WITH_RUNTIME diff --git a/compiler/testData/codegen/boxInline/callableReference/bound/filter.kt b/compiler/testData/codegen/boxInline/callableReference/bound/filter.kt index 552c9e17da0..d088e2d624d 100644 --- a/compiler/testData/codegen/boxInline/callableReference/bound/filter.kt +++ b/compiler/testData/codegen/boxInline/callableReference/bound/filter.kt @@ -1,4 +1,5 @@ // WITH_RUNTIME +// KJS_WITH_FULL_RUNTIME // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/callableReference/bound/map.kt b/compiler/testData/codegen/boxInline/callableReference/bound/map.kt index 2a561a1547a..0141e93a7f6 100644 --- a/compiler/testData/codegen/boxInline/callableReference/bound/map.kt +++ b/compiler/testData/codegen/boxInline/callableReference/bound/map.kt @@ -1,4 +1,5 @@ // WITH_RUNTIME +// KJS_WITH_FULL_RUNTIME // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/callableReference/kt15751_2.kt b/compiler/testData/codegen/boxInline/callableReference/kt15751_2.kt index 285f14aac53..c4ec3fdcb42 100644 --- a/compiler/testData/codegen/boxInline/callableReference/kt15751_2.kt +++ b/compiler/testData/codegen/boxInline/callableReference/kt15751_2.kt @@ -1,6 +1,7 @@ // FILE: 1.kt // IGNORE_BACKEND: JS // WITH_RUNTIME +// KJS_WITH_FULL_RUNTIME package test public inline fun T.myalso(block: (T) -> Unit): T { diff --git a/compiler/testData/codegen/boxInline/contracts/nonLocalReturnWithCycle.kt b/compiler/testData/codegen/boxInline/contracts/nonLocalReturnWithCycle.kt index 9eb9b9d6a92..a302ff0a4e7 100644 --- a/compiler/testData/codegen/boxInline/contracts/nonLocalReturnWithCycle.kt +++ b/compiler/testData/codegen/boxInline/contracts/nonLocalReturnWithCycle.kt @@ -3,6 +3,7 @@ // IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: NATIVE // WITH_RUNTIME +// KJS_WITH_FULL_RUNTIME // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/enum/values.kt b/compiler/testData/codegen/boxInline/enum/values.kt index b0f397f5a1a..81c0954c4de 100644 --- a/compiler/testData/codegen/boxInline/enum/values.kt +++ b/compiler/testData/codegen/boxInline/enum/values.kt @@ -1,5 +1,6 @@ // FILE: 1.kt // WITH_RUNTIME +// KJS_WITH_FULL_RUNTIME package test inline fun > myValues(): String { diff --git a/compiler/testData/codegen/boxInline/enum/valuesAsArray.kt b/compiler/testData/codegen/boxInline/enum/valuesAsArray.kt index 027b228d6be..57dd9b4f6e0 100644 --- a/compiler/testData/codegen/boxInline/enum/valuesAsArray.kt +++ b/compiler/testData/codegen/boxInline/enum/valuesAsArray.kt @@ -1,5 +1,6 @@ // FILE: 1.kt // WITH_RUNTIME +// KJS_WITH_FULL_RUNTIME package test inline fun > myValues(): Array { diff --git a/compiler/testData/codegen/boxInline/enum/valuesCapturedType.kt b/compiler/testData/codegen/boxInline/enum/valuesCapturedType.kt index a4abc639f8d..7e39527a4b9 100644 --- a/compiler/testData/codegen/boxInline/enum/valuesCapturedType.kt +++ b/compiler/testData/codegen/boxInline/enum/valuesCapturedType.kt @@ -1,6 +1,7 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt // WITH_RUNTIME +// KJS_WITH_FULL_RUNTIME package test inline fun > myValues(): String { diff --git a/compiler/testData/codegen/boxInline/enum/valuesChain.kt b/compiler/testData/codegen/boxInline/enum/valuesChain.kt index 2207e07e806..05742940ef7 100644 --- a/compiler/testData/codegen/boxInline/enum/valuesChain.kt +++ b/compiler/testData/codegen/boxInline/enum/valuesChain.kt @@ -1,5 +1,6 @@ // FILE: 1.kt // WITH_RUNTIME +// KJS_WITH_FULL_RUNTIME package test inline fun > myValues2(): String { diff --git a/compiler/testData/codegen/boxInline/enum/valuesChainCapturedType.kt b/compiler/testData/codegen/boxInline/enum/valuesChainCapturedType.kt index ba145eb8676..bd3ed21251d 100644 --- a/compiler/testData/codegen/boxInline/enum/valuesChainCapturedType.kt +++ b/compiler/testData/codegen/boxInline/enum/valuesChainCapturedType.kt @@ -1,6 +1,7 @@ // IGNORE_BACKEND: JVM_IR // FILE: 1.kt // WITH_RUNTIME +// KJS_WITH_FULL_RUNTIME package test inline fun > myValues2(): String { diff --git a/compiler/testData/codegen/boxInline/enum/valuesNonReified.kt b/compiler/testData/codegen/boxInline/enum/valuesNonReified.kt index fee857c2c3c..6b161a6f9b2 100644 --- a/compiler/testData/codegen/boxInline/enum/valuesNonReified.kt +++ b/compiler/testData/codegen/boxInline/enum/valuesNonReified.kt @@ -1,5 +1,6 @@ // FILE: 1.kt // WITH_RUNTIME +// KJS_WITH_FULL_RUNTIME package test inline fun myValues(): String { diff --git a/js/js.translator/testData/box/callableReference/function/stringNativeExtension.kt b/js/js.translator/testData/box/callableReference/function/stringNativeExtension.kt index 0ab88708f03..2c5b6099eda 100644 --- a/js/js.translator/testData/box/callableReference/function/stringNativeExtension.kt +++ b/js/js.translator/testData/box/callableReference/function/stringNativeExtension.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1282 package foo diff --git a/js/js.translator/testData/box/char/charConstantByUnicodeId.kt b/js/js.translator/testData/box/char/charConstantByUnicodeId.kt index c759a022931..c145451a195 100644 --- a/js/js.translator/testData/box/char/charConstantByUnicodeId.kt +++ b/js/js.translator/testData/box/char/charConstantByUnicodeId.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1282 package foo diff --git a/js/js.translator/testData/box/closure/closureArrayListInstance.kt b/js/js.translator/testData/box/closure/closureArrayListInstance.kt index bd296fe2c60..463113da7fa 100644 --- a/js/js.translator/testData/box/closure/closureArrayListInstance.kt +++ b/js/js.translator/testData/box/closure/closureArrayListInstance.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1514 package foo diff --git a/js/js.translator/testData/box/closure/iteratingCallbacks.kt b/js/js.translator/testData/box/closure/iteratingCallbacks.kt index 1537573a16e..1aad9f7cd7f 100644 --- a/js/js.translator/testData/box/closure/iteratingCallbacks.kt +++ b/js/js.translator/testData/box/closure/iteratingCallbacks.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1514 package foo diff --git a/js/js.translator/testData/box/closure/localParameterInCallback.kt b/js/js.translator/testData/box/closure/localParameterInCallback.kt index 18bdda29212..142c7cc22c9 100644 --- a/js/js.translator/testData/box/closure/localParameterInCallback.kt +++ b/js/js.translator/testData/box/closure/localParameterInCallback.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1514 package foo diff --git a/js/js.translator/testData/box/coroutines/debugStatement.kt b/js/js.translator/testData/box/coroutines/debugStatement.kt index 96aee364fbe..8a6c40ae4cc 100644 --- a/js/js.translator/testData/box/coroutines/debugStatement.kt +++ b/js/js.translator/testData/box/coroutines/debugStatement.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1292 // CHECK_DEBUGGER_COUNT: function=doResume count=1 diff --git a/js/js.translator/testData/box/dataClass/hashcode.kt b/js/js.translator/testData/box/dataClass/hashcode.kt index dfa211f2175..47a1cd68bbe 100644 --- a/js/js.translator/testData/box/dataClass/hashcode.kt +++ b/js/js.translator/testData/box/dataClass/hashcode.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1545 package foo diff --git a/js/js.translator/testData/box/dataClass/keyrole.kt b/js/js.translator/testData/box/dataClass/keyrole.kt index 33d0bc6f6c5..c1c58fbf192 100644 --- a/js/js.translator/testData/box/dataClass/keyrole.kt +++ b/js/js.translator/testData/box/dataClass/keyrole.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1317 package foo diff --git a/js/js.translator/testData/box/dataClass/privateFields.kt b/js/js.translator/testData/box/dataClass/privateFields.kt index 24d28bd4614..eeceece6d87 100644 --- a/js/js.translator/testData/box/dataClass/privateFields.kt +++ b/js/js.translator/testData/box/dataClass/privateFields.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1292 package foo diff --git a/js/js.translator/testData/box/delegateProperty/metadataReferentialEquality.kt b/js/js.translator/testData/box/delegateProperty/metadataReferentialEquality.kt index c638958c99e..538ddd372ee 100644 --- a/js/js.translator/testData/box/delegateProperty/metadataReferentialEquality.kt +++ b/js/js.translator/testData/box/delegateProperty/metadataReferentialEquality.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1302 import kotlin.reflect.KProperty diff --git a/js/js.translator/testData/box/enum/standardFunctions.kt b/js/js.translator/testData/box/enum/standardFunctions.kt index 9bf6f290229..e11d0bbfd2a 100644 --- a/js/js.translator/testData/box/enum/standardFunctions.kt +++ b/js/js.translator/testData/box/enum/standardFunctions.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1555 package foo diff --git a/js/js.translator/testData/box/enum/standardMethods.kt b/js/js.translator/testData/box/enum/standardMethods.kt index 29d5fb4ec54..5d9aae3c53f 100644 --- a/js/js.translator/testData/box/enum/standardMethods.kt +++ b/js/js.translator/testData/box/enum/standardMethods.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1555 package foo diff --git a/js/js.translator/testData/box/examples/basicmethod.kt b/js/js.translator/testData/box/examples/basicmethod.kt index 8e5aed07fbc..ef7bb8d3bf8 100644 --- a/js/js.translator/testData/box/examples/basicmethod.kt +++ b/js/js.translator/testData/box/examples/basicmethod.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1535 interface Tr { diff --git a/js/js.translator/testData/box/examples/initializerBlockDImpl.kt b/js/js.translator/testData/box/examples/initializerBlockDImpl.kt index 6b3efadfcdc..fcbe0b684ec 100644 --- a/js/js.translator/testData/box/examples/initializerBlockDImpl.kt +++ b/js/js.translator/testData/box/examples/initializerBlockDImpl.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1517 class World() { diff --git a/js/js.translator/testData/box/examples/innerClass.kt b/js/js.translator/testData/box/examples/innerClass.kt index 6cd172c4e4d..de426fca715 100644 --- a/js/js.translator/testData/box/examples/innerClass.kt +++ b/js/js.translator/testData/box/examples/innerClass.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1288 class Outer(val foo: StringBuilder) { inner class Inner() { diff --git a/js/js.translator/testData/box/examples/overloadBinaryOperator.kt b/js/js.translator/testData/box/examples/overloadBinaryOperator.kt index d4089611a9d..ea94d2c7c36 100644 --- a/js/js.translator/testData/box/examples/overloadBinaryOperator.kt +++ b/js/js.translator/testData/box/examples/overloadBinaryOperator.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1518 class ArrayWrapper() { diff --git a/js/js.translator/testData/box/examples/overloadPlusAssignReturn.kt b/js/js.translator/testData/box/examples/overloadPlusAssignReturn.kt index 4e8b23f3204..754f60aabc0 100644 --- a/js/js.translator/testData/box/examples/overloadPlusAssignReturn.kt +++ b/js/js.translator/testData/box/examples/overloadPlusAssignReturn.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1519 class ArrayWrapper() { diff --git a/js/js.translator/testData/box/examples/overloadPlusToPlusAssign.kt b/js/js.translator/testData/box/examples/overloadPlusToPlusAssign.kt index 8522b8ee20a..ccfb21a7404 100644 --- a/js/js.translator/testData/box/examples/overloadPlusToPlusAssign.kt +++ b/js/js.translator/testData/box/examples/overloadPlusToPlusAssign.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1519 class ArrayWrapper() { diff --git a/js/js.translator/testData/box/examples/overloadUnaryOperator.kt b/js/js.translator/testData/box/examples/overloadUnaryOperator.kt index f4f154dafdc..08c40962fa8 100644 --- a/js/js.translator/testData/box/examples/overloadUnaryOperator.kt +++ b/js/js.translator/testData/box/examples/overloadUnaryOperator.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1519 class ArrayWrapper() { diff --git a/js/js.translator/testData/box/expression/equals/compareNullableListWithNull.kt b/js/js.translator/testData/box/expression/equals/compareNullableListWithNull.kt index fa5b4e4e53e..512d580abbd 100644 --- a/js/js.translator/testData/box/expression/equals/compareNullableListWithNull.kt +++ b/js/js.translator/testData/box/expression/equals/compareNullableListWithNull.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1515 // KT-3518 Null pointer during null comparison in JS Backend package foo diff --git a/js/js.translator/testData/box/expression/equals/kt2370.kt b/js/js.translator/testData/box/expression/equals/kt2370.kt index eadda1c7f85..1f1619606ea 100644 --- a/js/js.translator/testData/box/expression/equals/kt2370.kt +++ b/js/js.translator/testData/box/expression/equals/kt2370.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1513 package foo diff --git a/js/js.translator/testData/box/expression/evaluationOrder/andAndWithTmpVarRhs.kt b/js/js.translator/testData/box/expression/evaluationOrder/andAndWithTmpVarRhs.kt index 207b1e56237..db20885c354 100644 --- a/js/js.translator/testData/box/expression/evaluationOrder/andAndWithTmpVarRhs.kt +++ b/js/js.translator/testData/box/expression/evaluationOrder/andAndWithTmpVarRhs.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1515 fun foo(arg: Any): Boolean { return arg == "x" diff --git a/js/js.translator/testData/box/expression/evaluationOrder/singleComponentDestructuring.kt b/js/js.translator/testData/box/expression/evaluationOrder/singleComponentDestructuring.kt index a6e0073577a..4aa4238dded 100644 --- a/js/js.translator/testData/box/expression/evaluationOrder/singleComponentDestructuring.kt +++ b/js/js.translator/testData/box/expression/evaluationOrder/singleComponentDestructuring.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1283 // CHECK_VARS_COUNT: function=test count=2 var log = "" diff --git a/js/js.translator/testData/box/expression/for/forIteratesOverLiteralRange.kt b/js/js.translator/testData/box/expression/for/forIteratesOverLiteralRange.kt index 89e5723e1a1..db80d8dae99 100644 --- a/js/js.translator/testData/box/expression/for/forIteratesOverLiteralRange.kt +++ b/js/js.translator/testData/box/expression/for/forIteratesOverLiteralRange.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1230 package foo diff --git a/js/js.translator/testData/box/expression/for/forIteratesOverTypeParameter.kt b/js/js.translator/testData/box/expression/for/forIteratesOverTypeParameter.kt index ddca98cbcc0..0849264acfa 100644 --- a/js/js.translator/testData/box/expression/for/forIteratesOverTypeParameter.kt +++ b/js/js.translator/testData/box/expression/for/forIteratesOverTypeParameter.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1516 public fun > bar(collection: C, f: (T) -> Unit) { for (item in collection) f(item) } diff --git a/js/js.translator/testData/box/expression/for/forWithEmptyBody.kt b/js/js.translator/testData/box/expression/for/forWithEmptyBody.kt index 1faab20be80..aba9f22b88d 100644 --- a/js/js.translator/testData/box/expression/for/forWithEmptyBody.kt +++ b/js/js.translator/testData/box/expression/for/forWithEmptyBody.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1513 package foo diff --git a/js/js.translator/testData/box/expression/for/overArrayWithIndex.kt b/js/js.translator/testData/box/expression/for/overArrayWithIndex.kt index 8cb93906c09..e85ae82245c 100644 --- a/js/js.translator/testData/box/expression/for/overArrayWithIndex.kt +++ b/js/js.translator/testData/box/expression/for/overArrayWithIndex.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1284 // CHECK_CONTAINS_NO_CALLS: test1 except=toString // CHECK_CONTAINS_NO_CALLS: test2 except=toString diff --git a/js/js.translator/testData/box/expression/for/overCollectionWithIndex.kt b/js/js.translator/testData/box/expression/for/overCollectionWithIndex.kt index 32b17eca350..1e9e78904e2 100644 --- a/js/js.translator/testData/box/expression/for/overCollectionWithIndex.kt +++ b/js/js.translator/testData/box/expression/for/overCollectionWithIndex.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1652 // CHECK_NOT_CALLED_IN_SCOPE: function=component1 scope=test1 // CHECK_NOT_CALLED_IN_SCOPE: function=component1 scope=test2 diff --git a/js/js.translator/testData/box/expression/function/KT-921.kt b/js/js.translator/testData/box/expression/function/KT-921.kt index 3369de98221..0e7785e6ec1 100644 --- a/js/js.translator/testData/box/expression/function/KT-921.kt +++ b/js/js.translator/testData/box/expression/function/KT-921.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1535 var log = "" diff --git a/js/js.translator/testData/box/expression/function/expressionAsFunction.kt b/js/js.translator/testData/box/expression/function/expressionAsFunction.kt index d723fb54040..73d5fdb7162 100644 --- a/js/js.translator/testData/box/expression/function/expressionAsFunction.kt +++ b/js/js.translator/testData/box/expression/function/expressionAsFunction.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1523 package foo diff --git a/js/js.translator/testData/box/expression/misc/KT-2314.kt b/js/js.translator/testData/box/expression/misc/KT-2314.kt index 5f8cd03c378..6e7cb012ae1 100644 --- a/js/js.translator/testData/box/expression/misc/KT-2314.kt +++ b/js/js.translator/testData/box/expression/misc/KT-2314.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1514 package foo diff --git a/js/js.translator/testData/box/expression/misc/kt9443.kt b/js/js.translator/testData/box/expression/misc/kt9443.kt index bf90bf4c02c..99860960bdb 100644 --- a/js/js.translator/testData/box/expression/misc/kt9443.kt +++ b/js/js.translator/testData/box/expression/misc/kt9443.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1292 package foo diff --git a/js/js.translator/testData/box/expression/misc/toGeneratorInStdlib.kt b/js/js.translator/testData/box/expression/misc/toGeneratorInStdlib.kt index e3fcb8b1ce3..b8932cd0704 100644 --- a/js/js.translator/testData/box/expression/misc/toGeneratorInStdlib.kt +++ b/js/js.translator/testData/box/expression/misc/toGeneratorInStdlib.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1548 package foo diff --git a/js/js.translator/testData/box/expression/stringClass/extensionMethods.kt b/js/js.translator/testData/box/expression/stringClass/extensionMethods.kt index fda17cca13b..16d52ac3325 100644 --- a/js/js.translator/testData/box/expression/stringClass/extensionMethods.kt +++ b/js/js.translator/testData/box/expression/stringClass/extensionMethods.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1250 package foo diff --git a/js/js.translator/testData/box/expression/when/whenEqualsPattern.kt b/js/js.translator/testData/box/expression/when/whenEqualsPattern.kt index 8d1094bc8bf..5eb2dc08a82 100644 --- a/js/js.translator/testData/box/expression/when/whenEqualsPattern.kt +++ b/js/js.translator/testData/box/expression/when/whenEqualsPattern.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1533 package foo diff --git a/js/js.translator/testData/box/expression/when/whenWithMapRangeClause.kt b/js/js.translator/testData/box/expression/when/whenWithMapRangeClause.kt index 7340a6e42b0..ca37ea41a2b 100644 --- a/js/js.translator/testData/box/expression/when/whenWithMapRangeClause.kt +++ b/js/js.translator/testData/box/expression/when/whenWithMapRangeClause.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1211 package foo diff --git a/js/js.translator/testData/box/extensionFunction/generic.kt b/js/js.translator/testData/box/extensionFunction/generic.kt index 3a3551d85d2..86fd1610cd1 100644 --- a/js/js.translator/testData/box/extensionFunction/generic.kt +++ b/js/js.translator/testData/box/extensionFunction/generic.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1515 package foo diff --git a/js/js.translator/testData/box/inheritance/inheritFromCharIterator.kt b/js/js.translator/testData/box/inheritance/inheritFromCharIterator.kt index 4e903568ab0..83b372709bc 100644 --- a/js/js.translator/testData/box/inheritance/inheritFromCharIterator.kt +++ b/js/js.translator/testData/box/inheritance/inheritFromCharIterator.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1294 package foo diff --git a/js/js.translator/testData/box/inline/arrayLiteralAliasing.kt b/js/js.translator/testData/box/inline/arrayLiteralAliasing.kt index 49598031a1c..73e781b491e 100644 --- a/js/js.translator/testData/box/inline/arrayLiteralAliasing.kt +++ b/js/js.translator/testData/box/inline/arrayLiteralAliasing.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1534 /* This tests that variables (aliases) are created for array literals. diff --git a/js/js.translator/testData/box/inline/astCopy.kt b/js/js.translator/testData/box/inline/astCopy.kt index 58f583db7b6..1ca2f6bd9d2 100644 --- a/js/js.translator/testData/box/inline/astCopy.kt +++ b/js/js.translator/testData/box/inline/astCopy.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1281 package foo diff --git a/js/js.translator/testData/box/inline/crossModuleUnsignedLiterals.kt b/js/js.translator/testData/box/inline/crossModuleUnsignedLiterals.kt index f3fd6877871..39f0956abc2 100644 --- a/js/js.translator/testData/box/inline/crossModuleUnsignedLiterals.kt +++ b/js/js.translator/testData/box/inline/crossModuleUnsignedLiterals.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1625 // MODULE: lib // FILE: lib.kt diff --git a/js/js.translator/testData/box/inline/kt26117.kt b/js/js.translator/testData/box/inline/kt26117.kt index c0a09e4c88c..774e072048d 100644 --- a/js/js.translator/testData/box/inline/kt26117.kt +++ b/js/js.translator/testData/box/inline/kt26117.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1529 // TODO remove stdlib dependency diff --git a/js/js.translator/testData/box/inline/kt26787.kt b/js/js.translator/testData/box/inline/kt26787.kt index 13d054f4cfb..f5c11c2a88c 100644 --- a/js/js.translator/testData/box/inline/kt26787.kt +++ b/js/js.translator/testData/box/inline/kt26787.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1618 // Simplified example from https://youtrack.jetbrains.com/issue/KT-26787 diff --git a/js/js.translator/testData/box/inlineEvaluationOrder/arrayAccessLhsDecomposed.kt b/js/js.translator/testData/box/inlineEvaluationOrder/arrayAccessLhsDecomposed.kt index 7b451738467..787d6643cc7 100644 --- a/js/js.translator/testData/box/inlineEvaluationOrder/arrayAccessLhsDecomposed.kt +++ b/js/js.translator/testData/box/inlineEvaluationOrder/arrayAccessLhsDecomposed.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1524 package foo diff --git a/js/js.translator/testData/box/inlineEvaluationOrder/inlineFunctionAsParameterOfQualifiedCall.kt b/js/js.translator/testData/box/inlineEvaluationOrder/inlineFunctionAsParameterOfQualifiedCall.kt index d088ad5d748..d9947d2b1b8 100644 --- a/js/js.translator/testData/box/inlineEvaluationOrder/inlineFunctionAsParameterOfQualifiedCall.kt +++ b/js/js.translator/testData/box/inlineEvaluationOrder/inlineFunctionAsParameterOfQualifiedCall.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1806 // See KT-11711 package foo diff --git a/js/js.translator/testData/box/inlineEvaluationOrder/methodDecomposedWithBind.kt b/js/js.translator/testData/box/inlineEvaluationOrder/methodDecomposedWithBind.kt index bc999cd7a04..f9bd7af2af1 100644 --- a/js/js.translator/testData/box/inlineEvaluationOrder/methodDecomposedWithBind.kt +++ b/js/js.translator/testData/box/inlineEvaluationOrder/methodDecomposedWithBind.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1525 package foo diff --git a/js/js.translator/testData/box/inlineEvaluationOrder/propertyAccessWithSideEffect.kt b/js/js.translator/testData/box/inlineEvaluationOrder/propertyAccessWithSideEffect.kt index 9dc91b02805..4a00e8f308d 100644 --- a/js/js.translator/testData/box/inlineEvaluationOrder/propertyAccessWithSideEffect.kt +++ b/js/js.translator/testData/box/inlineEvaluationOrder/propertyAccessWithSideEffect.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1292 package foo diff --git a/js/js.translator/testData/box/inlineMultiFile/builders.kt b/js/js.translator/testData/box/inlineMultiFile/builders.kt index 960ca289e54..3b4c7e05f22 100644 --- a/js/js.translator/testData/box/inlineMultiFile/builders.kt +++ b/js/js.translator/testData/box/inlineMultiFile/builders.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1661 /* * Copy of JVM-backend test diff --git a/js/js.translator/testData/box/inlineMultiFile/lambdaInLambda2.kt b/js/js.translator/testData/box/inlineMultiFile/lambdaInLambda2.kt index 3f8190994ba..5170b124889 100644 --- a/js/js.translator/testData/box/inlineMultiFile/lambdaInLambda2.kt +++ b/js/js.translator/testData/box/inlineMultiFile/lambdaInLambda2.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1286 /* * Copy of JVM-backend test diff --git a/js/js.translator/testData/box/inlineMultiFile/tryCatch.kt b/js/js.translator/testData/box/inlineMultiFile/tryCatch.kt index 57470843b52..79b01af15cd 100644 --- a/js/js.translator/testData/box/inlineMultiFile/tryCatch.kt +++ b/js/js.translator/testData/box/inlineMultiFile/tryCatch.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1300 /* * Copy of JVM-backend test diff --git a/js/js.translator/testData/box/inlineMultiFile/tryCatch2.kt b/js/js.translator/testData/box/inlineMultiFile/tryCatch2.kt index ef32e8a3606..fd379147e1f 100644 --- a/js/js.translator/testData/box/inlineMultiFile/tryCatch2.kt +++ b/js/js.translator/testData/box/inlineMultiFile/tryCatch2.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1303 /* * Copy of JVM-backend test diff --git a/js/js.translator/testData/box/inlineMultiFile/tryCatchFinally.kt b/js/js.translator/testData/box/inlineMultiFile/tryCatchFinally.kt index 93bca3a410d..a75e194d109 100644 --- a/js/js.translator/testData/box/inlineMultiFile/tryCatchFinally.kt +++ b/js/js.translator/testData/box/inlineMultiFile/tryCatchFinally.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1296 /* * Copy of JVM-backend test diff --git a/js/js.translator/testData/box/inlineSizeReduction/lastBreak.kt b/js/js.translator/testData/box/inlineSizeReduction/lastBreak.kt index 9354461360a..540794a0bf6 100644 --- a/js/js.translator/testData/box/inlineSizeReduction/lastBreak.kt +++ b/js/js.translator/testData/box/inlineSizeReduction/lastBreak.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1526 package foo diff --git a/js/js.translator/testData/box/inlineStdlib/callableRefToFunInCurrentModule.kt b/js/js.translator/testData/box/inlineStdlib/callableRefToFunInCurrentModule.kt index a392a8f056c..d257c706489 100644 --- a/js/js.translator/testData/box/inlineStdlib/callableRefToFunInCurrentModule.kt +++ b/js/js.translator/testData/box/inlineStdlib/callableRefToFunInCurrentModule.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1525 package foo diff --git a/js/js.translator/testData/box/inlineStdlib/closureInObjectLiteral.kt b/js/js.translator/testData/box/inlineStdlib/closureInObjectLiteral.kt index 4710c728d00..8384e3616a9 100644 --- a/js/js.translator/testData/box/inlineStdlib/closureInObjectLiteral.kt +++ b/js/js.translator/testData/box/inlineStdlib/closureInObjectLiteral.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1542 package foo diff --git a/js/js.translator/testData/box/java/abstractList/iterator.kt b/js/js.translator/testData/box/java/abstractList/iterator.kt index 14bba461818..a483612b7c8 100644 --- a/js/js.translator/testData/box/java/abstractList/iterator.kt +++ b/js/js.translator/testData/box/java/abstractList/iterator.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1340 package foo diff --git a/js/js.translator/testData/box/java/arrayList/access.kt b/js/js.translator/testData/box/java/arrayList/access.kt index 6b43760e098..a4693b1039b 100644 --- a/js/js.translator/testData/box/java/arrayList/access.kt +++ b/js/js.translator/testData/box/java/arrayList/access.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1513 package foo diff --git a/js/js.translator/testData/box/java/arrayList/arrayAccess.kt b/js/js.translator/testData/box/java/arrayList/arrayAccess.kt index ad71b23e704..73e71017200 100644 --- a/js/js.translator/testData/box/java/arrayList/arrayAccess.kt +++ b/js/js.translator/testData/box/java/arrayList/arrayAccess.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1513 package foo diff --git a/js/js.translator/testData/box/java/arrayList/constructWithCapacity.kt b/js/js.translator/testData/box/java/arrayList/constructWithCapacity.kt index f264df71e95..da00b3f492e 100644 --- a/js/js.translator/testData/box/java/arrayList/constructWithCapacity.kt +++ b/js/js.translator/testData/box/java/arrayList/constructWithCapacity.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1514 package foo diff --git a/js/js.translator/testData/box/java/arrayList/constructWithSideEffectParam.kt b/js/js.translator/testData/box/java/arrayList/constructWithSideEffectParam.kt index 133256ce95c..9f36e70f725 100644 --- a/js/js.translator/testData/box/java/arrayList/constructWithSideEffectParam.kt +++ b/js/js.translator/testData/box/java/arrayList/constructWithSideEffectParam.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1516 package foo diff --git a/js/js.translator/testData/box/java/arrayList/containsAll.kt b/js/js.translator/testData/box/java/arrayList/containsAll.kt index 0d2dfb5f6eb..eb93fc26ad8 100644 --- a/js/js.translator/testData/box/java/arrayList/containsAll.kt +++ b/js/js.translator/testData/box/java/arrayList/containsAll.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1513 package foo diff --git a/js/js.translator/testData/box/java/arrayList/emptyList.kt b/js/js.translator/testData/box/java/arrayList/emptyList.kt index 07df8565156..138552e4c5f 100644 --- a/js/js.translator/testData/box/java/arrayList/emptyList.kt +++ b/js/js.translator/testData/box/java/arrayList/emptyList.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1513 package foo diff --git a/js/js.translator/testData/box/java/arrayList/indexOOB.kt b/js/js.translator/testData/box/java/arrayList/indexOOB.kt index 5148da89b84..00e942ef23c 100644 --- a/js/js.translator/testData/box/java/arrayList/indexOOB.kt +++ b/js/js.translator/testData/box/java/arrayList/indexOOB.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1514 package foo diff --git a/js/js.translator/testData/box/java/arrayList/indexOf.kt b/js/js.translator/testData/box/java/arrayList/indexOf.kt index 7c5e9bc4f37..0fad5a010fd 100644 --- a/js/js.translator/testData/box/java/arrayList/indexOf.kt +++ b/js/js.translator/testData/box/java/arrayList/indexOf.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1520 package foo diff --git a/js/js.translator/testData/box/java/arrayList/isEmpty.kt b/js/js.translator/testData/box/java/arrayList/isEmpty.kt index 8985e6104fb..fe32cf98d85 100644 --- a/js/js.translator/testData/box/java/arrayList/isEmpty.kt +++ b/js/js.translator/testData/box/java/arrayList/isEmpty.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1513 package foo diff --git a/js/js.translator/testData/box/java/arrayList/iterate.kt b/js/js.translator/testData/box/java/arrayList/iterate.kt index 2217c0f0633..0099a0bfb92 100644 --- a/js/js.translator/testData/box/java/arrayList/iterate.kt +++ b/js/js.translator/testData/box/java/arrayList/iterate.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1513 package foo diff --git a/js/js.translator/testData/box/java/arrayList/remove.kt b/js/js.translator/testData/box/java/arrayList/remove.kt index a1e11b72436..63dd7ab26f9 100644 --- a/js/js.translator/testData/box/java/arrayList/remove.kt +++ b/js/js.translator/testData/box/java/arrayList/remove.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1513 package foo diff --git a/js/js.translator/testData/box/java/arrayList/removeWithIndexOutOfBounds.kt b/js/js.translator/testData/box/java/arrayList/removeWithIndexOutOfBounds.kt index efadb4dec3d..9392d48bbf3 100644 --- a/js/js.translator/testData/box/java/arrayList/removeWithIndexOutOfBounds.kt +++ b/js/js.translator/testData/box/java/arrayList/removeWithIndexOutOfBounds.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1514 package foo diff --git a/js/js.translator/testData/box/multiModule/interfaceMethodWithDefaultParameter.kt b/js/js.translator/testData/box/multiModule/interfaceMethodWithDefaultParameter.kt index 3fa35737168..006cd42d8c2 100644 --- a/js/js.translator/testData/box/multiModule/interfaceMethodWithDefaultParameter.kt +++ b/js/js.translator/testData/box/multiModule/interfaceMethodWithDefaultParameter.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1289 // MODULE: lib // FILE: lib.kt diff --git a/js/js.translator/testData/box/multiModule/localClassMetadata.kt b/js/js.translator/testData/box/multiModule/localClassMetadata.kt index c8ffd1fbf02..7d42e42e487 100644 --- a/js/js.translator/testData/box/multiModule/localClassMetadata.kt +++ b/js/js.translator/testData/box/multiModule/localClassMetadata.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1319 // MODULE: lib // FILE: lib.kt diff --git a/js/js.translator/testData/box/multiModule/moduleAndVariableNameClash.kt b/js/js.translator/testData/box/multiModule/moduleAndVariableNameClash.kt index 79b1f888299..6cb13e6f081 100644 --- a/js/js.translator/testData/box/multiModule/moduleAndVariableNameClash.kt +++ b/js/js.translator/testData/box/multiModule/moduleAndVariableNameClash.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1283 // MODULE: main(module1) // FILE: main.kt diff --git a/js/js.translator/testData/box/multiModule/publishedApiMangling.kt b/js/js.translator/testData/box/multiModule/publishedApiMangling.kt index 4ce8d861330..784247dfe81 100644 --- a/js/js.translator/testData/box/multiModule/publishedApiMangling.kt +++ b/js/js.translator/testData/box/multiModule/publishedApiMangling.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1280 // PROPERTY_WRITE_COUNT: name=publishedTopLevel_61zpoe$ count=1 // PROPERTY_WRITE_COUNT: name=published_61zpoe$ count=1 diff --git a/js/js.translator/testData/box/multiModule/samePackageNames.kt b/js/js.translator/testData/box/multiModule/samePackageNames.kt index 91aa1e4d7f2..42bea4c664f 100644 --- a/js/js.translator/testData/box/multiModule/samePackageNames.kt +++ b/js/js.translator/testData/box/multiModule/samePackageNames.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1304 // MODULE: lib1 // FILE: lib1.kt diff --git a/js/js.translator/testData/box/multiModule/useElementsFromDefaultPackageInAnotherModule.kt b/js/js.translator/testData/box/multiModule/useElementsFromDefaultPackageInAnotherModule.kt index 2e76f458af3..edb11e4025a 100644 --- a/js/js.translator/testData/box/multiModule/useElementsFromDefaultPackageInAnotherModule.kt +++ b/js/js.translator/testData/box/multiModule/useElementsFromDefaultPackageInAnotherModule.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1285 // MODULE: main(module1) // FILE: main.kt diff --git a/js/js.translator/testData/box/multideclaration/multiValForMap.kt b/js/js.translator/testData/box/multideclaration/multiValForMap.kt index 518017969dd..55510ffd4fb 100644 --- a/js/js.translator/testData/box/multideclaration/multiValForMap.kt +++ b/js/js.translator/testData/box/multideclaration/multiValForMap.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1211 package foo diff --git a/js/js.translator/testData/box/multideclaration/multiValInFor.kt b/js/js.translator/testData/box/multideclaration/multiValInFor.kt index c726e2611af..bed4598718e 100644 --- a/js/js.translator/testData/box/multideclaration/multiValInFor.kt +++ b/js/js.translator/testData/box/multideclaration/multiValInFor.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1518 package foo diff --git a/js/js.translator/testData/box/nameClashes/extensionFunctionAndProperty.kt b/js/js.translator/testData/box/nameClashes/extensionFunctionAndProperty.kt index b2886e35e01..3925222dded 100644 --- a/js/js.translator/testData/box/nameClashes/extensionFunctionAndProperty.kt +++ b/js/js.translator/testData/box/nameClashes/extensionFunctionAndProperty.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1524 package foo diff --git a/js/js.translator/testData/box/nameClashes/localFunctions.kt b/js/js.translator/testData/box/nameClashes/localFunctions.kt index 8baf0a9fc23..8657dd657b1 100644 --- a/js/js.translator/testData/box/nameClashes/localFunctions.kt +++ b/js/js.translator/testData/box/nameClashes/localFunctions.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1288 var log = "" diff --git a/js/js.translator/testData/box/nameClashes/topLevelFunctionAndParameter.kt b/js/js.translator/testData/box/nameClashes/topLevelFunctionAndParameter.kt index 3d7bcc1911b..6756be56626 100644 --- a/js/js.translator/testData/box/nameClashes/topLevelFunctionAndParameter.kt +++ b/js/js.translator/testData/box/nameClashes/topLevelFunctionAndParameter.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1285 fun f(x: Int) = x * 2 diff --git a/js/js.translator/testData/box/number/mulInt32.kt b/js/js.translator/testData/box/number/mulInt32.kt index ff133b6fdd3..204bebd5ea5 100644 --- a/js/js.translator/testData/box/number/mulInt32.kt +++ b/js/js.translator/testData/box/number/mulInt32.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1523 //@library diff --git a/js/js.translator/testData/box/operatorOverloading/lambdaRhs.kt b/js/js.translator/testData/box/operatorOverloading/lambdaRhs.kt index 40bb522f8f9..408d2ce5d8f 100644 --- a/js/js.translator/testData/box/operatorOverloading/lambdaRhs.kt +++ b/js/js.translator/testData/box/operatorOverloading/lambdaRhs.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1525 package foo diff --git a/js/js.translator/testData/box/operatorOverloading/overloadPlusAssignArrayList.kt b/js/js.translator/testData/box/operatorOverloading/overloadPlusAssignArrayList.kt index d7727db916a..2b386a1491d 100644 --- a/js/js.translator/testData/box/operatorOverloading/overloadPlusAssignArrayList.kt +++ b/js/js.translator/testData/box/operatorOverloading/overloadPlusAssignArrayList.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1519 package foo diff --git a/js/js.translator/testData/box/operatorOverloading/overloadPlusAssignViaExtensionFunction.kt b/js/js.translator/testData/box/operatorOverloading/overloadPlusAssignViaExtensionFunction.kt index 902bbcffedd..1f31abad784 100644 --- a/js/js.translator/testData/box/operatorOverloading/overloadPlusAssignViaExtensionFunction.kt +++ b/js/js.translator/testData/box/operatorOverloading/overloadPlusAssignViaExtensionFunction.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1518 package foo diff --git a/js/js.translator/testData/box/operatorOverloading/overloadPlusViaExtensionFunction.kt b/js/js.translator/testData/box/operatorOverloading/overloadPlusViaExtensionFunction.kt index f09d1d3dfea..853c8186ca1 100644 --- a/js/js.translator/testData/box/operatorOverloading/overloadPlusViaExtensionFunction.kt +++ b/js/js.translator/testData/box/operatorOverloading/overloadPlusViaExtensionFunction.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1514 package foo diff --git a/js/js.translator/testData/box/range/intDownTo.kt b/js/js.translator/testData/box/range/intDownTo.kt index 2a720ecca99..80a3eeddcc1 100644 --- a/js/js.translator/testData/box/range/intDownTo.kt +++ b/js/js.translator/testData/box/range/intDownTo.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1522 package foo diff --git a/js/js.translator/testData/box/range/intUpTo.kt b/js/js.translator/testData/box/range/intUpTo.kt index 44b2bcf953d..a1438fa24c1 100644 --- a/js/js.translator/testData/box/range/intUpTo.kt +++ b/js/js.translator/testData/box/range/intUpTo.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1513 package foo diff --git a/js/js.translator/testData/box/range/reverse.kt b/js/js.translator/testData/box/range/reverse.kt index 2e87ac3d896..80b01528249 100644 --- a/js/js.translator/testData/box/range/reverse.kt +++ b/js/js.translator/testData/box/range/reverse.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1522 package foo diff --git a/js/js.translator/testData/box/reified/lambda.kt b/js/js.translator/testData/box/reified/lambda.kt index 0460d5caf34..919bd4e6ea9 100644 --- a/js/js.translator/testData/box/reified/lambda.kt +++ b/js/js.translator/testData/box/reified/lambda.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1545 package foo diff --git a/js/js.translator/testData/box/reified/vararg.kt b/js/js.translator/testData/box/reified/vararg.kt index 77a94992b21..680d7bc5ff7 100644 --- a/js/js.translator/testData/box/reified/vararg.kt +++ b/js/js.translator/testData/box/reified/vararg.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1525 package foo diff --git a/js/js.translator/testData/box/rtti/collectionClassesIsCheck.kt b/js/js.translator/testData/box/rtti/collectionClassesIsCheck.kt index 2b7736208fe..dfe1f4bce8c 100644 --- a/js/js.translator/testData/box/rtti/collectionClassesIsCheck.kt +++ b/js/js.translator/testData/box/rtti/collectionClassesIsCheck.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1557 // KT-2468 ArrayList is List or HashSet is Set fails in generated JS code package foo diff --git a/js/js.translator/testData/box/rtti/stdlibEmptyListClass.kt b/js/js.translator/testData/box/rtti/stdlibEmptyListClass.kt index fb2acaad6d2..e51706b178f 100644 --- a/js/js.translator/testData/box/rtti/stdlibEmptyListClass.kt +++ b/js/js.translator/testData/box/rtti/stdlibEmptyListClass.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1534 // KT-5192 JS compiler fails to generate correct code for List implementation package foo diff --git a/js/js.translator/testData/box/safeCall/redundantSafeAccess.kt b/js/js.translator/testData/box/safeCall/redundantSafeAccess.kt index 7abc65cfa9b..68cfce2e6df 100644 --- a/js/js.translator/testData/box/safeCall/redundantSafeAccess.kt +++ b/js/js.translator/testData/box/safeCall/redundantSafeAccess.kt @@ -1,4 +1,5 @@ // EXPECTED_REACHABLE_NODES: 1287 +// KJS_WITH_FULL_RUNTIME package foo class A(val x: String) { diff --git a/js/js.translator/testData/box/standardClasses/arraySort.kt b/js/js.translator/testData/box/standardClasses/arraySort.kt index 64fb3bc9bb1..70e3a4913db 100644 --- a/js/js.translator/testData/box/standardClasses/arraySort.kt +++ b/js/js.translator/testData/box/standardClasses/arraySort.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1284 package foo diff --git a/js/js.translator/testData/box/standardClasses/hashMapTypeOfElement.kt b/js/js.translator/testData/box/standardClasses/hashMapTypeOfElement.kt index 0aa9dd7a0c5..1a7dc75c714 100644 --- a/js/js.translator/testData/box/standardClasses/hashMapTypeOfElement.kt +++ b/js/js.translator/testData/box/standardClasses/hashMapTypeOfElement.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1284 package foo diff --git a/js/js.translator/testData/box/standardClasses/hashSetTypeOfElement.kt b/js/js.translator/testData/box/standardClasses/hashSetTypeOfElement.kt index 83374ae8aa5..df2349127fa 100644 --- a/js/js.translator/testData/box/standardClasses/hashSetTypeOfElement.kt +++ b/js/js.translator/testData/box/standardClasses/hashSetTypeOfElement.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1300 package foo diff --git a/js/js.translator/testData/box/standardClasses/mutableMapRemoveWithCollision.kt b/js/js.translator/testData/box/standardClasses/mutableMapRemoveWithCollision.kt index 9eea0904dd4..5e57e1454c5 100644 --- a/js/js.translator/testData/box/standardClasses/mutableMapRemoveWithCollision.kt +++ b/js/js.translator/testData/box/standardClasses/mutableMapRemoveWithCollision.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1287 package foo diff --git a/js/js.translator/testData/box/standardClasses/stringBuilder.kt b/js/js.translator/testData/box/standardClasses/stringBuilder.kt index 6f288ff2d71..b6ef74353b3 100644 --- a/js/js.translator/testData/box/standardClasses/stringBuilder.kt +++ b/js/js.translator/testData/box/standardClasses/stringBuilder.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1280 package foo diff --git a/js/js.translator/testData/box/superCall/nativeSuperClass.kt b/js/js.translator/testData/box/superCall/nativeSuperClass.kt index cdae42dc9a1..aff4302b8de 100644 --- a/js/js.translator/testData/box/superCall/nativeSuperClass.kt +++ b/js/js.translator/testData/box/superCall/nativeSuperClass.kt @@ -1,3 +1,4 @@ +// KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1523 package foo