From f36519d4f5f01da09071d2d1de832cafd4546e63 Mon Sep 17 00:00:00 2001 From: Mikhael Bogdanov Date: Thu, 20 Dec 2018 13:19:20 +0100 Subject: [PATCH] Specify JVM target backend for test with '.javaClass' usage --- .../codegen/box/annotations/annotatedObjectLiteral.kt | 4 +--- compiler/testData/codegen/box/casts/unitAsInt.kt | 4 +--- compiler/testData/codegen/box/closures/noRefToOuter.kt | 4 +--- compiler/testData/codegen/box/coroutines/illegalState.kt | 1 - compiler/testData/codegen/box/coroutines/illegalState_1_2.kt | 1 - compiler/testData/codegen/box/intrinsics/kt5937.kt | 4 +--- .../codegen/box/jvmOverloads/multipleDefaultParameters.kt | 4 +--- compiler/testData/codegen/box/jvmOverloads/simple.kt | 4 +--- compiler/testData/codegen/box/reflection/classes/jvmName.kt | 4 +--- .../testData/codegen/box/reflection/classes/qualifiedName.kt | 4 +--- .../reflection/enclosing/anonymousObjectInInlinedLambda.kt | 4 +--- .../codegen/box/reflection/enclosing/classInLambda.kt | 4 +--- .../box/reflection/enclosing/functionExpressionInProperty.kt | 4 +--- compiler/testData/codegen/box/reflection/enclosing/kt6368.kt | 4 +--- .../box/reflection/enclosing/kt6691_lambdaInSamConstructor.kt | 4 +--- .../codegen/box/reflection/enclosing/lambdaInClassObject.kt | 4 +--- .../codegen/box/reflection/enclosing/lambdaInConstructor.kt | 4 +--- .../codegen/box/reflection/enclosing/lambdaInFunction.kt | 4 +--- .../codegen/box/reflection/enclosing/lambdaInLambda.kt | 4 +--- .../box/reflection/enclosing/lambdaInLocalClassConstructor.kt | 4 +--- .../box/reflection/enclosing/lambdaInLocalClassSuperCall.kt | 4 +--- .../codegen/box/reflection/enclosing/lambdaInLocalFunction.kt | 4 +--- .../box/reflection/enclosing/lambdaInMemberFunction.kt | 4 +--- .../enclosing/lambdaInMemberFunctionInLocalClass.kt | 4 +--- .../enclosing/lambdaInMemberFunctionInNestedClass.kt | 4 +--- .../box/reflection/enclosing/lambdaInObjectDeclaration.kt | 4 +--- .../box/reflection/enclosing/lambdaInObjectExpression.kt | 4 +--- .../reflection/enclosing/lambdaInObjectLiteralSuperCall.kt | 4 +--- .../codegen/box/reflection/enclosing/lambdaInPackage.kt | 4 +--- .../box/reflection/enclosing/lambdaInPropertyGetter.kt | 4 +--- .../box/reflection/enclosing/lambdaInPropertySetter.kt | 4 +--- .../codegen/box/reflection/enclosing/objectInLambda.kt | 4 +--- .../box/reflection/mapping/types/parameterizedTypes.kt | 4 +--- compiler/testData/codegen/box/regressions/kt1568.kt | 4 +--- compiler/testData/codegen/box/regressions/kt2593.kt | 4 +--- compiler/testData/codegen/box/regressions/kt4259.kt | 4 +--- .../codegen/box/reified/anonymousObjectReifiedSupertype.kt | 4 +--- .../testData/codegen/box/reified/approximateCapturedTypes.kt | 4 +--- .../box/reified/arraysReification/jaggedArrayOfNulls.kt | 4 +--- compiler/testData/codegen/box/reified/innerAnonymousObject.kt | 4 +--- .../testData/codegen/box/reified/nestedReifiedSignature.kt | 4 +--- .../codegen/box/reified/recursiveInnerAnonymousObject.kt | 4 +--- .../codegen/box/sam/constructors/samWrappersDifferentFiles.kt | 4 +--- .../codegen/boxInline/enclosingInfo/anonymousInLambda.kt | 2 +- .../testData/codegen/boxInline/enclosingInfo/inlineChain.kt | 2 +- .../testData/codegen/boxInline/enclosingInfo/inlineChain2.kt | 2 +- .../codegen/boxInline/enclosingInfo/objectInInlineFun.kt | 2 +- .../codegen/boxInline/enclosingInfo/transformedConstructor.kt | 2 +- .../transformedConstructorWithAdditionalObject.kt | 2 +- .../enclosingInfo/transformedConstructorWithNestedInline.kt | 2 +- compiler/testData/codegen/boxInline/innerClasses/kt10259.kt | 2 +- compiler/testData/codegen/boxInline/reified/kt11081.kt | 2 +- compiler/testData/codegen/boxInline/reified/packages.kt | 2 +- 53 files changed, 51 insertions(+), 135 deletions(-) diff --git a/compiler/testData/codegen/box/annotations/annotatedObjectLiteral.kt b/compiler/testData/codegen/box/annotations/annotatedObjectLiteral.kt index 1d35fd21ac2..805f882d640 100644 --- a/compiler/testData/codegen/box/annotations/annotatedObjectLiteral.kt +++ b/compiler/testData/codegen/box/annotations/annotatedObjectLiteral.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/casts/unitAsInt.kt b/compiler/testData/codegen/box/casts/unitAsInt.kt index 1751e7da75b..0b507550dc5 100644 --- a/compiler/testData/codegen/box/casts/unitAsInt.kt +++ b/compiler/testData/codegen/box/casts/unitAsInt.kt @@ -1,6 +1,4 @@ -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/closures/noRefToOuter.kt b/compiler/testData/codegen/box/closures/noRefToOuter.kt index 77ac24bed3a..1442185e30e 100644 --- a/compiler/testData/codegen/box/closures/noRefToOuter.kt +++ b/compiler/testData/codegen/box/closures/noRefToOuter.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/coroutines/illegalState.kt b/compiler/testData/codegen/box/coroutines/illegalState.kt index c033f54a5bc..1569efb22b1 100644 --- a/compiler/testData/codegen/box/coroutines/illegalState.kt +++ b/compiler/testData/codegen/box/coroutines/illegalState.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/illegalState_1_2.kt b/compiler/testData/codegen/box/coroutines/illegalState_1_2.kt index af7fd3583df..95a98d81dfa 100644 --- a/compiler/testData/codegen/box/coroutines/illegalState_1_2.kt +++ b/compiler/testData/codegen/box/coroutines/illegalState_1_2.kt @@ -1,6 +1,5 @@ // !LANGUAGE: -ReleaseCoroutines // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/intrinsics/kt5937.kt b/compiler/testData/codegen/box/intrinsics/kt5937.kt index 21fc7ac5472..cbb14f5ed5c 100644 --- a/compiler/testData/codegen/box/intrinsics/kt5937.kt +++ b/compiler/testData/codegen/box/intrinsics/kt5937.kt @@ -1,6 +1,4 @@ -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/jvmOverloads/multipleDefaultParameters.kt b/compiler/testData/codegen/box/jvmOverloads/multipleDefaultParameters.kt index e707e79e2af..ea14a6f69e0 100644 --- a/compiler/testData/codegen/box/jvmOverloads/multipleDefaultParameters.kt +++ b/compiler/testData/codegen/box/jvmOverloads/multipleDefaultParameters.kt @@ -1,6 +1,4 @@ -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/jvmOverloads/simple.kt b/compiler/testData/codegen/box/jvmOverloads/simple.kt index 9e0acbc5cdf..f21926a8226 100644 --- a/compiler/testData/codegen/box/jvmOverloads/simple.kt +++ b/compiler/testData/codegen/box/jvmOverloads/simple.kt @@ -1,6 +1,4 @@ -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/reflection/classes/jvmName.kt b/compiler/testData/codegen/box/reflection/classes/jvmName.kt index 908fa8ff6b3..6df1c134ab2 100644 --- a/compiler/testData/codegen/box/reflection/classes/jvmName.kt +++ b/compiler/testData/codegen/box/reflection/classes/jvmName.kt @@ -1,6 +1,4 @@ -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/classes/qualifiedName.kt b/compiler/testData/codegen/box/reflection/classes/qualifiedName.kt index 666b539fd85..c2ef9764c2c 100644 --- a/compiler/testData/codegen/box/reflection/classes/qualifiedName.kt +++ b/compiler/testData/codegen/box/reflection/classes/qualifiedName.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/enclosing/anonymousObjectInInlinedLambda.kt b/compiler/testData/codegen/box/reflection/enclosing/anonymousObjectInInlinedLambda.kt index b4f33bad28f..73bed26feae 100644 --- a/compiler/testData/codegen/box/reflection/enclosing/anonymousObjectInInlinedLambda.kt +++ b/compiler/testData/codegen/box/reflection/enclosing/anonymousObjectInInlinedLambda.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/enclosing/classInLambda.kt b/compiler/testData/codegen/box/reflection/enclosing/classInLambda.kt index fb4911e1aed..72700327701 100644 --- a/compiler/testData/codegen/box/reflection/enclosing/classInLambda.kt +++ b/compiler/testData/codegen/box/reflection/enclosing/classInLambda.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/enclosing/functionExpressionInProperty.kt b/compiler/testData/codegen/box/reflection/enclosing/functionExpressionInProperty.kt index 3e11a2f3ad7..3f026091fb1 100644 --- a/compiler/testData/codegen/box/reflection/enclosing/functionExpressionInProperty.kt +++ b/compiler/testData/codegen/box/reflection/enclosing/functionExpressionInProperty.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/enclosing/kt6368.kt b/compiler/testData/codegen/box/reflection/enclosing/kt6368.kt index 22213e73d3e..0425b02da62 100644 --- a/compiler/testData/codegen/box/reflection/enclosing/kt6368.kt +++ b/compiler/testData/codegen/box/reflection/enclosing/kt6368.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/enclosing/kt6691_lambdaInSamConstructor.kt b/compiler/testData/codegen/box/reflection/enclosing/kt6691_lambdaInSamConstructor.kt index 83ee383fd60..ad88f5340c6 100644 --- a/compiler/testData/codegen/box/reflection/enclosing/kt6691_lambdaInSamConstructor.kt +++ b/compiler/testData/codegen/box/reflection/enclosing/kt6691_lambdaInSamConstructor.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/enclosing/lambdaInClassObject.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInClassObject.kt index aae1e67cde9..163d1eeda4d 100644 --- a/compiler/testData/codegen/box/reflection/enclosing/lambdaInClassObject.kt +++ b/compiler/testData/codegen/box/reflection/enclosing/lambdaInClassObject.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/enclosing/lambdaInConstructor.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInConstructor.kt index 036ae06bb9e..7e7bf3a2240 100644 --- a/compiler/testData/codegen/box/reflection/enclosing/lambdaInConstructor.kt +++ b/compiler/testData/codegen/box/reflection/enclosing/lambdaInConstructor.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/enclosing/lambdaInFunction.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInFunction.kt index 3f1e965e3c9..a1cb398fb5e 100644 --- a/compiler/testData/codegen/box/reflection/enclosing/lambdaInFunction.kt +++ b/compiler/testData/codegen/box/reflection/enclosing/lambdaInFunction.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/enclosing/lambdaInLambda.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInLambda.kt index 6f960917c2b..98ef08168c8 100644 --- a/compiler/testData/codegen/box/reflection/enclosing/lambdaInLambda.kt +++ b/compiler/testData/codegen/box/reflection/enclosing/lambdaInLambda.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/enclosing/lambdaInLocalClassConstructor.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInLocalClassConstructor.kt index a909406f15c..c68160b088e 100644 --- a/compiler/testData/codegen/box/reflection/enclosing/lambdaInLocalClassConstructor.kt +++ b/compiler/testData/codegen/box/reflection/enclosing/lambdaInLocalClassConstructor.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/enclosing/lambdaInLocalClassSuperCall.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInLocalClassSuperCall.kt index d40b2a65068..5d64b48e123 100644 --- a/compiler/testData/codegen/box/reflection/enclosing/lambdaInLocalClassSuperCall.kt +++ b/compiler/testData/codegen/box/reflection/enclosing/lambdaInLocalClassSuperCall.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/enclosing/lambdaInLocalFunction.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInLocalFunction.kt index 9eab8d846f7..789519f0c4f 100644 --- a/compiler/testData/codegen/box/reflection/enclosing/lambdaInLocalFunction.kt +++ b/compiler/testData/codegen/box/reflection/enclosing/lambdaInLocalFunction.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/enclosing/lambdaInMemberFunction.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInMemberFunction.kt index 8844b249f60..bcbc8d4feda 100644 --- a/compiler/testData/codegen/box/reflection/enclosing/lambdaInMemberFunction.kt +++ b/compiler/testData/codegen/box/reflection/enclosing/lambdaInMemberFunction.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/enclosing/lambdaInMemberFunctionInLocalClass.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInMemberFunctionInLocalClass.kt index a93baf058e4..d9f2e11ea17 100644 --- a/compiler/testData/codegen/box/reflection/enclosing/lambdaInMemberFunctionInLocalClass.kt +++ b/compiler/testData/codegen/box/reflection/enclosing/lambdaInMemberFunctionInLocalClass.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/enclosing/lambdaInMemberFunctionInNestedClass.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInMemberFunctionInNestedClass.kt index 81521973cdb..7ea5be31c3e 100644 --- a/compiler/testData/codegen/box/reflection/enclosing/lambdaInMemberFunctionInNestedClass.kt +++ b/compiler/testData/codegen/box/reflection/enclosing/lambdaInMemberFunctionInNestedClass.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/enclosing/lambdaInObjectDeclaration.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInObjectDeclaration.kt index 97345809f40..7bf77c6b04b 100644 --- a/compiler/testData/codegen/box/reflection/enclosing/lambdaInObjectDeclaration.kt +++ b/compiler/testData/codegen/box/reflection/enclosing/lambdaInObjectDeclaration.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/enclosing/lambdaInObjectExpression.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInObjectExpression.kt index c1ff94c11b9..43443fa1d2e 100644 --- a/compiler/testData/codegen/box/reflection/enclosing/lambdaInObjectExpression.kt +++ b/compiler/testData/codegen/box/reflection/enclosing/lambdaInObjectExpression.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/enclosing/lambdaInObjectLiteralSuperCall.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInObjectLiteralSuperCall.kt index 67ce7513d4d..f911f7dffdc 100644 --- a/compiler/testData/codegen/box/reflection/enclosing/lambdaInObjectLiteralSuperCall.kt +++ b/compiler/testData/codegen/box/reflection/enclosing/lambdaInObjectLiteralSuperCall.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/enclosing/lambdaInPackage.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInPackage.kt index 20399d27b56..083512abb1c 100644 --- a/compiler/testData/codegen/box/reflection/enclosing/lambdaInPackage.kt +++ b/compiler/testData/codegen/box/reflection/enclosing/lambdaInPackage.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/enclosing/lambdaInPropertyGetter.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInPropertyGetter.kt index 0f9dd73bc78..8aeea6593ec 100644 --- a/compiler/testData/codegen/box/reflection/enclosing/lambdaInPropertyGetter.kt +++ b/compiler/testData/codegen/box/reflection/enclosing/lambdaInPropertyGetter.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/enclosing/lambdaInPropertySetter.kt b/compiler/testData/codegen/box/reflection/enclosing/lambdaInPropertySetter.kt index b4e41c4ad55..2b9a391ec94 100644 --- a/compiler/testData/codegen/box/reflection/enclosing/lambdaInPropertySetter.kt +++ b/compiler/testData/codegen/box/reflection/enclosing/lambdaInPropertySetter.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/enclosing/objectInLambda.kt b/compiler/testData/codegen/box/reflection/enclosing/objectInLambda.kt index 51e1fd21609..78d4ec7e3a9 100644 --- a/compiler/testData/codegen/box/reflection/enclosing/objectInLambda.kt +++ b/compiler/testData/codegen/box/reflection/enclosing/objectInLambda.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/mapping/types/parameterizedTypes.kt b/compiler/testData/codegen/box/reflection/mapping/types/parameterizedTypes.kt index c4ae57fb467..7919ff33f9e 100644 --- a/compiler/testData/codegen/box/reflection/mapping/types/parameterizedTypes.kt +++ b/compiler/testData/codegen/box/reflection/mapping/types/parameterizedTypes.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_REFLECT // FULL_JDK diff --git a/compiler/testData/codegen/box/regressions/kt1568.kt b/compiler/testData/codegen/box/regressions/kt1568.kt index 19c2cac4454..f084e0d58b1 100644 --- a/compiler/testData/codegen/box/regressions/kt1568.kt +++ b/compiler/testData/codegen/box/regressions/kt1568.kt @@ -1,6 +1,4 @@ -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/regressions/kt2593.kt b/compiler/testData/codegen/box/regressions/kt2593.kt index 343585e67bb..ac11d12cc50 100644 --- a/compiler/testData/codegen/box/regressions/kt2593.kt +++ b/compiler/testData/codegen/box/regressions/kt2593.kt @@ -1,6 +1,4 @@ -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/regressions/kt4259.kt b/compiler/testData/codegen/box/regressions/kt4259.kt index 721f592f9c4..103aaf8cebe 100644 --- a/compiler/testData/codegen/box/regressions/kt4259.kt +++ b/compiler/testData/codegen/box/regressions/kt4259.kt @@ -1,6 +1,4 @@ -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/reified/anonymousObjectReifiedSupertype.kt b/compiler/testData/codegen/box/reified/anonymousObjectReifiedSupertype.kt index 08538bef111..d9a5bcd1de8 100644 --- a/compiler/testData/codegen/box/reified/anonymousObjectReifiedSupertype.kt +++ b/compiler/testData/codegen/box/reified/anonymousObjectReifiedSupertype.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/reified/approximateCapturedTypes.kt b/compiler/testData/codegen/box/reified/approximateCapturedTypes.kt index 6165a50ea42..23e4c1f5afd 100644 --- a/compiler/testData/codegen/box/reified/approximateCapturedTypes.kt +++ b/compiler/testData/codegen/box/reified/approximateCapturedTypes.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_RUNTIME // Basically this test checks that no captured type used as argument for signature mapping diff --git a/compiler/testData/codegen/box/reified/arraysReification/jaggedArrayOfNulls.kt b/compiler/testData/codegen/box/reified/arraysReification/jaggedArrayOfNulls.kt index e22ca9fb6c1..240a9be657e 100644 --- a/compiler/testData/codegen/box/reified/arraysReification/jaggedArrayOfNulls.kt +++ b/compiler/testData/codegen/box/reified/arraysReification/jaggedArrayOfNulls.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/reified/innerAnonymousObject.kt b/compiler/testData/codegen/box/reified/innerAnonymousObject.kt index c617f1719df..a82180939ef 100644 --- a/compiler/testData/codegen/box/reified/innerAnonymousObject.kt +++ b/compiler/testData/codegen/box/reified/innerAnonymousObject.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/reified/nestedReifiedSignature.kt b/compiler/testData/codegen/box/reified/nestedReifiedSignature.kt index 874ac845ff1..b512e42b66c 100644 --- a/compiler/testData/codegen/box/reified/nestedReifiedSignature.kt +++ b/compiler/testData/codegen/box/reified/nestedReifiedSignature.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/reified/recursiveInnerAnonymousObject.kt b/compiler/testData/codegen/box/reified/recursiveInnerAnonymousObject.kt index cfd36760882..1092aaa3360 100644 --- a/compiler/testData/codegen/box/reified/recursiveInnerAnonymousObject.kt +++ b/compiler/testData/codegen/box/reified/recursiveInnerAnonymousObject.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/sam/constructors/samWrappersDifferentFiles.kt b/compiler/testData/codegen/box/sam/constructors/samWrappersDifferentFiles.kt index bf7486266f8..47a784acc46 100644 --- a/compiler/testData/codegen/box/sam/constructors/samWrappersDifferentFiles.kt +++ b/compiler/testData/codegen/box/sam/constructors/samWrappersDifferentFiles.kt @@ -1,7 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR -// TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// TARGET_BACKEND: JVM // WITH_RUNTIME // FILE: 1/wrapped.kt diff --git a/compiler/testData/codegen/boxInline/enclosingInfo/anonymousInLambda.kt b/compiler/testData/codegen/boxInline/enclosingInfo/anonymousInLambda.kt index 40658338d52..37b938c44a4 100644 --- a/compiler/testData/codegen/boxInline/enclosingInfo/anonymousInLambda.kt +++ b/compiler/testData/codegen/boxInline/enclosingInfo/anonymousInLambda.kt @@ -1,5 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: NATIVE +// TARGET_BACKEND: JVM // NO_CHECK_LAMBDA_INLINING // WITH_REFLECT // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/enclosingInfo/inlineChain.kt b/compiler/testData/codegen/boxInline/enclosingInfo/inlineChain.kt index 4dfdf71c08e..9c35505db1f 100644 --- a/compiler/testData/codegen/boxInline/enclosingInfo/inlineChain.kt +++ b/compiler/testData/codegen/boxInline/enclosingInfo/inlineChain.kt @@ -1,5 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: NATIVE +// TARGET_BACKEND: JVM // FILE: 1.kt // WITH_REFLECT package test diff --git a/compiler/testData/codegen/boxInline/enclosingInfo/inlineChain2.kt b/compiler/testData/codegen/boxInline/enclosingInfo/inlineChain2.kt index bb36ace2a04..87b8c6a2620 100644 --- a/compiler/testData/codegen/boxInline/enclosingInfo/inlineChain2.kt +++ b/compiler/testData/codegen/boxInline/enclosingInfo/inlineChain2.kt @@ -1,5 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: NATIVE +// TARGET_BACKEND: JVM // FILE: 1.kt // WITH_REFLECT package test diff --git a/compiler/testData/codegen/boxInline/enclosingInfo/objectInInlineFun.kt b/compiler/testData/codegen/boxInline/enclosingInfo/objectInInlineFun.kt index 70ea848e51d..33f8e78ddeb 100644 --- a/compiler/testData/codegen/boxInline/enclosingInfo/objectInInlineFun.kt +++ b/compiler/testData/codegen/boxInline/enclosingInfo/objectInInlineFun.kt @@ -1,5 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: NATIVE +// TARGET_BACKEND: JVM // FILE: 1.kt // WITH_REFLECT package test diff --git a/compiler/testData/codegen/boxInline/enclosingInfo/transformedConstructor.kt b/compiler/testData/codegen/boxInline/enclosingInfo/transformedConstructor.kt index 3c65faec52c..86ed70a2c52 100644 --- a/compiler/testData/codegen/boxInline/enclosingInfo/transformedConstructor.kt +++ b/compiler/testData/codegen/boxInline/enclosingInfo/transformedConstructor.kt @@ -1,5 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: NATIVE +// TARGET_BACKEND: JVM // FILE: 1.kt // WITH_REFLECT package test diff --git a/compiler/testData/codegen/boxInline/enclosingInfo/transformedConstructorWithAdditionalObject.kt b/compiler/testData/codegen/boxInline/enclosingInfo/transformedConstructorWithAdditionalObject.kt index a9f1abc8a47..dc384fd1cfc 100644 --- a/compiler/testData/codegen/boxInline/enclosingInfo/transformedConstructorWithAdditionalObject.kt +++ b/compiler/testData/codegen/boxInline/enclosingInfo/transformedConstructorWithAdditionalObject.kt @@ -1,5 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: NATIVE +// TARGET_BACKEND: JVM // FILE: 1.kt // WITH_REFLECT package test diff --git a/compiler/testData/codegen/boxInline/enclosingInfo/transformedConstructorWithNestedInline.kt b/compiler/testData/codegen/boxInline/enclosingInfo/transformedConstructorWithNestedInline.kt index 3396d3ea37b..5b140ad0b15 100644 --- a/compiler/testData/codegen/boxInline/enclosingInfo/transformedConstructorWithNestedInline.kt +++ b/compiler/testData/codegen/boxInline/enclosingInfo/transformedConstructorWithNestedInline.kt @@ -1,5 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: NATIVE +// TARGET_BACKEND: JVM // FILE: 1.kt // WITH_REFLECT package test diff --git a/compiler/testData/codegen/boxInline/innerClasses/kt10259.kt b/compiler/testData/codegen/boxInline/innerClasses/kt10259.kt index d2a3c602cfc..1f7e4b454b4 100644 --- a/compiler/testData/codegen/boxInline/innerClasses/kt10259.kt +++ b/compiler/testData/codegen/boxInline/innerClasses/kt10259.kt @@ -1,5 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: NATIVE +// TARGET_BACKEND: JVM // NO_CHECK_LAMBDA_INLINING // WITH_RUNTIME // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/reified/kt11081.kt b/compiler/testData/codegen/boxInline/reified/kt11081.kt index 7fefc4d103c..2e7d6d5640c 100644 --- a/compiler/testData/codegen/boxInline/reified/kt11081.kt +++ b/compiler/testData/codegen/boxInline/reified/kt11081.kt @@ -1,5 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: NATIVE +// TARGET_BACKEND: JVM // FILE: 1.kt // WITH_REFLECT package test diff --git a/compiler/testData/codegen/boxInline/reified/packages.kt b/compiler/testData/codegen/boxInline/reified/packages.kt index ecad536c69a..b681968171e 100644 --- a/compiler/testData/codegen/boxInline/reified/packages.kt +++ b/compiler/testData/codegen/boxInline/reified/packages.kt @@ -1,5 +1,5 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: NATIVE +// TARGET_BACKEND: JVM // FILE: 1.kt // WITH_REFLECT package test