diff --git a/compiler/testData/codegen/box/annotations/typeAnnotations/classTypeParameterBoundsJava.kt b/compiler/testData/codegen/box/annotations/typeAnnotations/classTypeParameterBoundsJava.kt index 821908f9205..bfab266c317 100644 --- a/compiler/testData/codegen/box/annotations/typeAnnotations/classTypeParameterBoundsJava.kt +++ b/compiler/testData/codegen/box/annotations/typeAnnotations/classTypeParameterBoundsJava.kt @@ -1,11 +1,11 @@ // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // TARGET_BACKEND: JVM // EMIT_JVM_TYPE_ANNOTATIONS // !LANGUAGE: +ClassTypeParameterAnnotations // JVM_TARGET: 1.8 // WITH_REFLECT // FULL_JDK + package foo import java.lang.reflect.AnnotatedType diff --git a/compiler/testData/codegen/box/annotations/typeAnnotations/methodTypeParameters.kt b/compiler/testData/codegen/box/annotations/typeAnnotations/methodTypeParameters.kt index 1cb4691b912..0754e0300f5 100644 --- a/compiler/testData/codegen/box/annotations/typeAnnotations/methodTypeParameters.kt +++ b/compiler/testData/codegen/box/annotations/typeAnnotations/methodTypeParameters.kt @@ -1,10 +1,10 @@ // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // TARGET_BACKEND: JVM // EMIT_JVM_TYPE_ANNOTATIONS // JVM_TARGET: 1.8 // WITH_REFLECT // FULL_JDK + package foo import java.lang.reflect.AnnotatedType diff --git a/compiler/testData/codegen/box/callableReference/function/getArityViaFunctionImpl.kt b/compiler/testData/codegen/box/callableReference/function/getArityViaFunctionImpl.kt index 5aa6a57170f..d0b4aeeb33d 100644 --- a/compiler/testData/codegen/box/callableReference/function/getArityViaFunctionImpl.kt +++ b/compiler/testData/codegen/box/callableReference/function/getArityViaFunctionImpl.kt @@ -1,5 +1,4 @@ // TARGET_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // WITH_STDLIB // LAMBDAS: CLASS diff --git a/compiler/testData/codegen/box/callableReference/kt21014.kt b/compiler/testData/codegen/box/callableReference/kt21014.kt index fffa393fd8f..02d9d82c33d 100644 --- a/compiler/testData/codegen/box/callableReference/kt21014.kt +++ b/compiler/testData/codegen/box/callableReference/kt21014.kt @@ -1,6 +1,5 @@ // WITH_STDLIB // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // JVM_TARGET: 1.8 // ^ This test causes SIGSEGV on JDK 1.6 with old back-end. @@ -16,4 +15,4 @@ fun box(): String { if (test2 != 3) throw Exception("with(ints, IntArray::size) != 3: $test2") return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/callableReference/kt49526_sam.kt b/compiler/testData/codegen/box/callableReference/kt49526_sam.kt index d453ee6ef1f..80f46dfde20 100644 --- a/compiler/testData/codegen/box/callableReference/kt49526_sam.kt +++ b/compiler/testData/codegen/box/callableReference/kt49526_sam.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // JVM_IR it this case has an approximated type 'KFun', which has a projected top-level argument. diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function/getArityViaFunctionImpl.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function/getArityViaFunctionImpl.kt index 5e3e76d4027..1c5ac830c09 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function/getArityViaFunctionImpl.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function/getArityViaFunctionImpl.kt @@ -1,5 +1,4 @@ // TARGET_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // WITH_STDLIB // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/funInterface.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/funInterface.kt index 89f6148f02c..70255be57f7 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/funInterface.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/funInterface.kt @@ -1,7 +1,6 @@ // WITH_STDLIB // WITH_COROUTINES // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // LANGUAGE: +SuspendFunctionsInFunInterfaces, +JvmIrEnabledByDefault // SKIP_DCE_DRIVEN @@ -25,4 +24,4 @@ fun box(): String { } } return res -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/funInterface/kt49294.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/funInterface/kt49294.kt index beaafafa268..439fbbdb627 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/funInterface/kt49294.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/funInterface/kt49294.kt @@ -1,6 +1,5 @@ // WITH_STDLIB // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // FILE: 1.kt @file:OptIn(ExperimentalTypeInference::class) diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/jvmDefault/kt46007/all-compatibility.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/jvmDefault/kt46007/all-compatibility.kt index f526c72a139..b840d2b156b 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/jvmDefault/kt46007/all-compatibility.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/jvmDefault/kt46007/all-compatibility.kt @@ -1,7 +1,6 @@ // WITH_STDLIB // !JVM_DEFAULT_MODE: all-compatibility // TARGET_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // IGNORE_BACKEND: JVM // JVM_TARGET: 1.8 @@ -27,4 +26,4 @@ fun box(): String { res = A().nextBuffer() } return res -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/coroutines/inlineFunctionInMultifileClass.kt b/compiler/testData/codegen/box/coroutines/inlineFunctionInMultifileClass.kt index deae9615a72..72327189312 100644 --- a/compiler/testData/codegen/box/coroutines/inlineFunctionInMultifileClass.kt +++ b/compiler/testData/codegen/box/coroutines/inlineFunctionInMultifileClass.kt @@ -1,6 +1,5 @@ // WITH_STDLIB // WITH_COROUTINES -// IGNORE_LIGHT_ANALYSIS // !INHERIT_MULTIFILE_PARTS // TARGET_BACKEND: JVM diff --git a/compiler/testData/codegen/box/coroutines/kt49168.kt b/compiler/testData/codegen/box/coroutines/kt49168.kt index c9ea854c6cd..2a1f52b800e 100644 --- a/compiler/testData/codegen/box/coroutines/kt49168.kt +++ b/compiler/testData/codegen/box/coroutines/kt49168.kt @@ -1,7 +1,6 @@ // WITH_STDLIB // WITH_COROUTINES // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS import helpers.* import kotlin.coroutines.* diff --git a/compiler/testData/codegen/box/coroutines/suspendConversion/intersectionTypeToSubtypeConversion.kt b/compiler/testData/codegen/box/coroutines/suspendConversion/intersectionTypeToSubtypeConversion.kt index 261346efcef..e71036346f3 100644 --- a/compiler/testData/codegen/box/coroutines/suspendConversion/intersectionTypeToSubtypeConversion.kt +++ b/compiler/testData/codegen/box/coroutines/suspendConversion/intersectionTypeToSubtypeConversion.kt @@ -3,7 +3,6 @@ // WITH_COROUTINES // IGNORE_BACKEND: JVM, JS, JS_IR // IGNORE_BACKEND: JS_IR_ES6 -// IGNORE_LIGHT_ANALYSIS import helpers.* import kotlin.coroutines.* @@ -36,4 +35,4 @@ fun box(): String { if (test != "OKEmptyOK42") return "failed: $test" return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/coroutines/suspendConversion/onArgument.kt b/compiler/testData/codegen/box/coroutines/suspendConversion/onArgument.kt index a49f5ec3c6c..7f7f81e73ff 100644 --- a/compiler/testData/codegen/box/coroutines/suspendConversion/onArgument.kt +++ b/compiler/testData/codegen/box/coroutines/suspendConversion/onArgument.kt @@ -2,7 +2,6 @@ // WITH_STDLIB // WITH_COROUTINES // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS import helpers.* import kotlin.coroutines.* @@ -22,4 +21,4 @@ fun box(): String { test = runS(lambda) } return test -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/coroutines/suspendConversion/onInlineArgument.kt b/compiler/testData/codegen/box/coroutines/suspendConversion/onInlineArgument.kt index 149b1be141a..753de0213bb 100644 --- a/compiler/testData/codegen/box/coroutines/suspendConversion/onInlineArgument.kt +++ b/compiler/testData/codegen/box/coroutines/suspendConversion/onInlineArgument.kt @@ -2,7 +2,6 @@ // WITH_STDLIB // WITH_COROUTINES // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // IGNORE_INLINER: IR // `lambda` should not be wrapped in yet another object (so no OnInlineArgumentKt$box$1$1). @@ -20,4 +19,4 @@ fun box(): String { val lambda: (String) -> String = { it + "K" } suspend { test = runS(lambda) }.startCoroutine(EmptyContinuation) return test -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/coroutines/suspendConversion/subtypeOfFunctionalTypeToSuspendConversion.kt b/compiler/testData/codegen/box/coroutines/suspendConversion/subtypeOfFunctionalTypeToSuspendConversion.kt index ccc996884db..8977f79eca0 100644 --- a/compiler/testData/codegen/box/coroutines/suspendConversion/subtypeOfFunctionalTypeToSuspendConversion.kt +++ b/compiler/testData/codegen/box/coroutines/suspendConversion/subtypeOfFunctionalTypeToSuspendConversion.kt @@ -3,7 +3,6 @@ // WITH_COROUTINES // IGNORE_BACKEND: JVM, JS, JS_IR // IGNORE_BACKEND: JS_IR_ES6 -// IGNORE_LIGHT_ANALYSIS import helpers.* import kotlin.coroutines.* @@ -45,4 +44,4 @@ fun box(): String { } return test -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/delegatedProperty/delegatedPropertyInEnum.kt b/compiler/testData/codegen/box/delegatedProperty/delegatedPropertyInEnum.kt index 6b5e34adeb9..fd9d298723e 100644 --- a/compiler/testData/codegen/box/delegatedProperty/delegatedPropertyInEnum.kt +++ b/compiler/testData/codegen/box/delegatedProperty/delegatedPropertyInEnum.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS object D { operator fun getValue(a: Any?, b: Any?): String = "OK" @@ -11,4 +10,4 @@ enum class A { val b = a } -fun box() = A.GOO.b \ No newline at end of file +fun box() = A.GOO.b diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailrecWithExplicitCompanionObjectDispatcher.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailrecWithExplicitCompanionObjectDispatcher.kt index 12973f0e572..a2d16809f08 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailrecWithExplicitCompanionObjectDispatcher.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailrecWithExplicitCompanionObjectDispatcher.kt @@ -4,9 +4,6 @@ // IGNORE_BACKEND: JVM // IGNORE_FIR_DIAGNOSTICS_DIFF -// Light analysis thinks this test passes but it doesn't because JVM backend does not compile this into a tailrec function. -// IGNORE_LIGHT_ANALYSIS - class C { companion object { tailrec fun rec(i: Int) { diff --git a/compiler/testData/codegen/box/enum/enumEntries.kt b/compiler/testData/codegen/box/enum/enumEntries.kt index 250f8175071..29d314e7cb4 100644 --- a/compiler/testData/codegen/box/enum/enumEntries.kt +++ b/compiler/testData/codegen/box/enum/enumEntries.kt @@ -1,6 +1,5 @@ // !LANGUAGE: +EnumEntries // IGNORE_BACKEND: JS, JVM -// IGNORE_LIGHT_ANALYSIS // FULL_JDK // WITH_STDLIB diff --git a/compiler/testData/codegen/box/enum/enumEntriesCompatibilityCheck.kt b/compiler/testData/codegen/box/enum/enumEntriesCompatibilityCheck.kt index cf8360a8981..90a09abd2e9 100644 --- a/compiler/testData/codegen/box/enum/enumEntriesCompatibilityCheck.kt +++ b/compiler/testData/codegen/box/enum/enumEntriesCompatibilityCheck.kt @@ -1,6 +1,5 @@ // !LANGUAGE: +EnumEntries // IGNORE_BACKEND: JS, JVM -// IGNORE_LIGHT_ANALYSIS // FULL_JDK // WITH_STDLIB diff --git a/compiler/testData/codegen/box/fir/flexibleIntegerLiterals.kt b/compiler/testData/codegen/box/fir/flexibleIntegerLiterals.kt index c3445240282..25de69b5f4b 100644 --- a/compiler/testData/codegen/box/fir/flexibleIntegerLiterals.kt +++ b/compiler/testData/codegen/box/fir/flexibleIntegerLiterals.kt @@ -1,5 +1,4 @@ // TARGET_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // WITH_STDLIB // JVM_TARGET: 1.8 // IGNORE_BACKEND: ANDROID diff --git a/compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/default.kt b/compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/default.kt index 9507a9dea3a..8386ee5d9e5 100644 --- a/compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/default.kt +++ b/compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/default.kt @@ -1,5 +1,4 @@ // WITH_STDLIB -// IGNORE_LIGHT_ANALYSIS // IGNORE_BACKEND: JVM // LANGUAGE: +InlineClassImplementationByDelegation @@ -16,4 +15,4 @@ fun box(): String { val ic: I = IC(i) res = ic.ok() return res -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/defaultArgument.kt b/compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/defaultArgument.kt index 9f94a9a50fc..40996ecdc1b 100644 --- a/compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/defaultArgument.kt +++ b/compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/defaultArgument.kt @@ -1,5 +1,4 @@ // WITH_STDLIB -// IGNORE_LIGHT_ANALYSIS // IGNORE_BACKEND: JVM // LANGUAGE: +InlineClassImplementationByDelegation @@ -24,4 +23,4 @@ fun box(): String { if (res != "OKK") return "FAIL 4: $res" return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/defaultArgumentGeneric.kt b/compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/defaultArgumentGeneric.kt index eb3ad3810ef..3a21d7d5b1c 100644 --- a/compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/defaultArgumentGeneric.kt +++ b/compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/defaultArgumentGeneric.kt @@ -1,5 +1,4 @@ // WITH_STDLIB -// IGNORE_LIGHT_ANALYSIS // IGNORE_BACKEND: JVM // LANGUAGE: +InlineClassImplementationByDelegation, +GenericInlineClassParameter @@ -24,4 +23,4 @@ fun box(): String { if (res != "OKK") return "FAIL 4: $res" return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/defaultGeneric.kt b/compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/defaultGeneric.kt index 1b92f2ff73a..5610faa9864 100644 --- a/compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/defaultGeneric.kt +++ b/compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/defaultGeneric.kt @@ -1,5 +1,4 @@ // WITH_STDLIB -// IGNORE_LIGHT_ANALYSIS // IGNORE_BACKEND: JVM // LANGUAGE: +InlineClassImplementationByDelegation, +GenericInlineClassParameter @@ -16,4 +15,4 @@ fun box(): String { val ic: I = IC(i) res = ic.ok() return res -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/simple.kt b/compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/simple.kt index 551bcf53c4f..9cbc8109735 100644 --- a/compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/simple.kt +++ b/compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/simple.kt @@ -1,5 +1,4 @@ // WITH_STDLIB -// IGNORE_LIGHT_ANALYSIS // IGNORE_BACKEND: JVM // LANGUAGE: +InlineClassImplementationByDelegation @@ -18,4 +17,4 @@ fun box(): String { val ic: I = IC(i) res = ic.ok() return res -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/simpleGeneric.kt b/compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/simpleGeneric.kt index 03b168ebff8..a6842b8487a 100644 --- a/compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/simpleGeneric.kt +++ b/compiler/testData/codegen/box/inlineClasses/delegationByUnderlyingType/simpleGeneric.kt @@ -1,5 +1,4 @@ // WITH_STDLIB -// IGNORE_LIGHT_ANALYSIS // IGNORE_BACKEND: JVM // LANGUAGE: +InlineClassImplementationByDelegation, +GenericInlineClassParameter @@ -18,4 +17,4 @@ fun box(): String { val ic: I = IC(i) res = ic.ok() return res -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/inlineClasses/kt31994.kt b/compiler/testData/codegen/box/inlineClasses/kt31994.kt index a1d0860db65..eac8e538347 100644 --- a/compiler/testData/codegen/box/inlineClasses/kt31994.kt +++ b/compiler/testData/codegen/box/inlineClasses/kt31994.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS fun box(): String = testBug(null) diff --git a/compiler/testData/codegen/box/inlineClasses/kt45991.kt b/compiler/testData/codegen/box/inlineClasses/kt45991.kt index e463656499c..ebc9ad05db8 100644 --- a/compiler/testData/codegen/box/inlineClasses/kt45991.kt +++ b/compiler/testData/codegen/box/inlineClasses/kt45991.kt @@ -1,6 +1,5 @@ // WITH_STDLIB // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // WORKS_WHEN_VALUE_CLASS // LANGUAGE: +ValueClasses @@ -54,4 +53,4 @@ fun box(): String { ex2(Result.success(2)) ex3(Result.success(3)) return if (result == "Ex 1\nEx 2\nEx 3\n") "OK" else "FAIL $result" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/inlineClasses/toStringOfUnboxedNullable.kt b/compiler/testData/codegen/box/inlineClasses/toStringOfUnboxedNullable.kt index 6a5be39a421..d2cb8add25f 100644 --- a/compiler/testData/codegen/box/inlineClasses/toStringOfUnboxedNullable.kt +++ b/compiler/testData/codegen/box/inlineClasses/toStringOfUnboxedNullable.kt @@ -1,6 +1,5 @@ // WITH_STDLIB // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // WORKS_WHEN_VALUE_CLASS // LANGUAGE: +ValueClasses diff --git a/compiler/testData/codegen/box/inlineClasses/toStringOfUnboxedNullableGeneric.kt b/compiler/testData/codegen/box/inlineClasses/toStringOfUnboxedNullableGeneric.kt index a6e8c204592..40d85b8e0a9 100644 --- a/compiler/testData/codegen/box/inlineClasses/toStringOfUnboxedNullableGeneric.kt +++ b/compiler/testData/codegen/box/inlineClasses/toStringOfUnboxedNullableGeneric.kt @@ -1,6 +1,5 @@ // WITH_STDLIB // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // WORKS_WHEN_VALUE_CLASS // LANGUAGE: +ValueClasses, +GenericInlineClassParameter diff --git a/compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/objectLiteral/nullableResult.kt b/compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/objectLiteral/nullableResult.kt index 43c8e201bbc..6789b61bb63 100644 --- a/compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/objectLiteral/nullableResult.kt +++ b/compiler/testData/codegen/box/inlineClasses/unboxGenericParameter/objectLiteral/nullableResult.kt @@ -1,6 +1,5 @@ // WITH_STDLIB // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS fun foo(a: Result?): T? = bar(a, object : IFace, T> { override fun call(ic: Result?): T? = ic?.getOrThrow() @@ -20,4 +19,4 @@ fun box(): String { res = foo(null) if (res != null) return "FAIL $res" return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/invokedynamic/lambdas/bigArityExtLambda.kt b/compiler/testData/codegen/box/invokedynamic/lambdas/bigArityExtLambda.kt index 06b71618097..b25153f8068 100644 --- a/compiler/testData/codegen/box/invokedynamic/lambdas/bigArityExtLambda.kt +++ b/compiler/testData/codegen/box/invokedynamic/lambdas/bigArityExtLambda.kt @@ -1,6 +1,5 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // JVM_TARGET: 1.8 // LAMBDAS: INDY diff --git a/compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/withAccessor/protectedCompanionObjectStaticMember.kt b/compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/withAccessor/protectedCompanionObjectStaticMember.kt index c342476b919..f457d7a93a1 100644 --- a/compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/withAccessor/protectedCompanionObjectStaticMember.kt +++ b/compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/withAccessor/protectedCompanionObjectStaticMember.kt @@ -1,5 +1,4 @@ // TARGET_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // IGNORE_BACKEND: JVM // JVM_TARGET: 1.8 // SAM_CONVERSIONS: INDY diff --git a/compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/withAccessor/protectedMember.kt b/compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/withAccessor/protectedMember.kt index 11aa448d394..0eeceb394c9 100644 --- a/compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/withAccessor/protectedMember.kt +++ b/compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/withAccessor/protectedMember.kt @@ -1,5 +1,4 @@ // TARGET_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // IGNORE_BACKEND: JVM // JVM_TARGET: 1.8 // SAM_CONVERSIONS: INDY diff --git a/compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineAny.kt b/compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineAny.kt index ebe1ee9df00..a957df0c157 100644 --- a/compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineAny.kt +++ b/compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineAny.kt @@ -1,6 +1,5 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // JVM_TARGET: 1.8 // SAM_CONVERSIONS: INDY @@ -22,4 +21,4 @@ fun box(): String { if (t.value != 42) return "Failed: t=$t" return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineInt.kt b/compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineInt.kt index a6e2182dbfa..4f0c7815da0 100644 --- a/compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineInt.kt +++ b/compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineInt.kt @@ -1,6 +1,5 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // JVM_TARGET: 1.8 // SAM_CONVERSIONS: INDY @@ -22,4 +21,4 @@ fun box(): String { if (t.value != 42) return "Failed: t=$t" return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineNAny.kt b/compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineNAny.kt index 4019bf94d16..3afd73d609d 100644 --- a/compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineNAny.kt +++ b/compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineNAny.kt @@ -1,6 +1,5 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // JVM_TARGET: 1.8 // SAM_CONVERSIONS: INDY @@ -22,4 +21,4 @@ fun box(): String { if (t.value != 42) return "Failed: t=$t" return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineNInt.kt b/compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineNInt.kt index 82dc889f679..cde46eeba50 100644 --- a/compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineNInt.kt +++ b/compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineNInt.kt @@ -1,6 +1,5 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // JVM_TARGET: 1.8 // SAM_CONVERSIONS: INDY @@ -22,4 +21,4 @@ fun box(): String { if (t.value != 42) return "Failed: t=$t" return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineNString.kt b/compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineNString.kt index 05179f8b1d6..bdad358faaf 100644 --- a/compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineNString.kt +++ b/compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineNString.kt @@ -1,6 +1,5 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // JVM_TARGET: 1.8 // SAM_CONVERSIONS: INDY @@ -22,4 +21,4 @@ fun box(): String { if (t.value != "OK") return "Failed: t=$t" return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineString.kt b/compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineString.kt index 30daa92393c..cfe6d2d895b 100644 --- a/compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineString.kt +++ b/compiler/testData/codegen/box/invokedynamic/sam/inlineClassInSignature/funInterfaceWithInlineString.kt @@ -1,6 +1,5 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // JVM_TARGET: 1.8 // SAM_CONVERSIONS: INDY @@ -22,4 +21,4 @@ fun box(): String { if (t.value != "OK") return "Failed: t=$t" return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics/mixPrimitiveAndBoxed.kt b/compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics/mixPrimitiveAndBoxed.kt index 6c448e357fc..b6ee380b576 100644 --- a/compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics/mixPrimitiveAndBoxed.kt +++ b/compiler/testData/codegen/box/invokedynamic/sam/specializedGenerics/mixPrimitiveAndBoxed.kt @@ -1,6 +1,5 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // JVM_TARGET: 1.8 // SAM_CONVERSIONS: INDY @@ -35,4 +34,3 @@ fun box(): String { return "OK" } - diff --git a/compiler/testData/codegen/box/invokedynamic/sam/suspendFunInterface.kt b/compiler/testData/codegen/box/invokedynamic/sam/suspendFunInterface.kt index 05d85bbe94a..fc5a1ff040f 100644 --- a/compiler/testData/codegen/box/invokedynamic/sam/suspendFunInterface.kt +++ b/compiler/testData/codegen/box/invokedynamic/sam/suspendFunInterface.kt @@ -1,7 +1,6 @@ // !LANGUAGE: +SuspendFunctionsInFunInterfaces +JvmIrEnabledByDefault // TARGET_BACKEND: JVM // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // JVM_TARGET: 1.8 // SAM_CONVERSIONS: INDY // WITH_STDLIB diff --git a/compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/kt42967_all.kt b/compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/kt42967_all.kt index dcfd3071681..0dd116a19ed 100644 --- a/compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/kt42967_all.kt +++ b/compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/kt42967_all.kt @@ -1,8 +1,8 @@ // !JVM_DEFAULT_MODE: all // TARGET_BACKEND: JVM // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // JVM_TARGET: 1.8 + // FILE: Kotlin.kt interface Foo { fun foo(p: T): T = p diff --git a/compiler/testData/codegen/box/jvmPackageName/anonymousObjectInInheritedMultifilePart.kt b/compiler/testData/codegen/box/jvmPackageName/anonymousObjectInInheritedMultifilePart.kt index 9af03a7be46..9ec11a53464 100644 --- a/compiler/testData/codegen/box/jvmPackageName/anonymousObjectInInheritedMultifilePart.kt +++ b/compiler/testData/codegen/box/jvmPackageName/anonymousObjectInInheritedMultifilePart.kt @@ -1,6 +1,5 @@ // TARGET_BACKEND: JVM // WITH_STDLIB -// IGNORE_LIGHT_ANALYSIS // !INHERIT_MULTIFILE_PARTS // FILE: anonymousObject.kt diff --git a/compiler/testData/codegen/box/multifileClasses/optimized/callInInlineLambda.kt b/compiler/testData/codegen/box/multifileClasses/optimized/callInInlineLambda.kt index e4b85af1776..383134687c1 100644 --- a/compiler/testData/codegen/box/multifileClasses/optimized/callInInlineLambda.kt +++ b/compiler/testData/codegen/box/multifileClasses/optimized/callInInlineLambda.kt @@ -1,5 +1,4 @@ // TARGET_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // WITH_STDLIB // !INHERIT_MULTIFILE_PARTS // FILE: result.kt diff --git a/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToConstVal.kt b/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToConstVal.kt index 0eefd7db3e3..beb1f60aca1 100644 --- a/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToConstVal.kt +++ b/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToConstVal.kt @@ -1,5 +1,4 @@ // TARGET_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // WITH_STDLIB // !INHERIT_MULTIFILE_PARTS // FILE: box.kt diff --git a/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToFun.kt b/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToFun.kt index f395dc38263..8264617c452 100644 --- a/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToFun.kt +++ b/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToFun.kt @@ -1,5 +1,4 @@ // TARGET_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // WITH_STDLIB // !INHERIT_MULTIFILE_PARTS // FILE: box.kt diff --git a/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToInternalConstValInline.kt b/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToInternalConstValInline.kt index 4df12c42ac2..a4aa6632a0c 100644 --- a/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToInternalConstValInline.kt +++ b/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToInternalConstValInline.kt @@ -1,5 +1,4 @@ // TARGET_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // WITH_STDLIB // !INHERIT_MULTIFILE_PARTS // FILE: box.kt diff --git a/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToPrivateConstVal.kt b/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToPrivateConstVal.kt index 62c0f6062af..9aff6c4d4ee 100644 --- a/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToPrivateConstVal.kt +++ b/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToPrivateConstVal.kt @@ -1,5 +1,4 @@ // TARGET_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // WITH_STDLIB // !INHERIT_MULTIFILE_PARTS // FILE: box.kt diff --git a/compiler/testData/codegen/box/multifileClasses/optimized/callableReferencesToSameFunctionsFromDifferentPackages.kt b/compiler/testData/codegen/box/multifileClasses/optimized/callableReferencesToSameFunctionsFromDifferentPackages.kt index f2a2ff7286f..be05a447b7c 100644 --- a/compiler/testData/codegen/box/multifileClasses/optimized/callableReferencesToSameFunctionsFromDifferentPackages.kt +++ b/compiler/testData/codegen/box/multifileClasses/optimized/callableReferencesToSameFunctionsFromDifferentPackages.kt @@ -1,5 +1,4 @@ // TARGET_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // WITH_STDLIB // !INHERIT_MULTIFILE_PARTS // FILE: box.kt diff --git a/compiler/testData/codegen/box/multifileClasses/optimized/calls.kt b/compiler/testData/codegen/box/multifileClasses/optimized/calls.kt index 5d98a173fef..ecd3db36442 100644 --- a/compiler/testData/codegen/box/multifileClasses/optimized/calls.kt +++ b/compiler/testData/codegen/box/multifileClasses/optimized/calls.kt @@ -1,5 +1,4 @@ // TARGET_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // WITH_STDLIB // !INHERIT_MULTIFILE_PARTS // FILE: Baz.java diff --git a/compiler/testData/codegen/box/multifileClasses/optimized/internalFunction.kt b/compiler/testData/codegen/box/multifileClasses/optimized/internalFunction.kt index 98b37b43cdb..2a1089db90f 100644 --- a/compiler/testData/codegen/box/multifileClasses/optimized/internalFunction.kt +++ b/compiler/testData/codegen/box/multifileClasses/optimized/internalFunction.kt @@ -1,5 +1,4 @@ // TARGET_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // WITH_STDLIB // !INHERIT_MULTIFILE_PARTS diff --git a/compiler/testData/codegen/box/multifileClasses/optimized/namesInMetadataAreSorted.kt b/compiler/testData/codegen/box/multifileClasses/optimized/namesInMetadataAreSorted.kt index eb0296375f7..a7488866141 100644 --- a/compiler/testData/codegen/box/multifileClasses/optimized/namesInMetadataAreSorted.kt +++ b/compiler/testData/codegen/box/multifileClasses/optimized/namesInMetadataAreSorted.kt @@ -1,6 +1,5 @@ // TARGET_BACKEND: JVM // IGNORE_BACKEND: ANDROID -// IGNORE_LIGHT_ANALYSIS // WITH_STDLIB // !INHERIT_MULTIFILE_PARTS // FILE: ccc.kt diff --git a/compiler/testData/codegen/box/multifileClasses/optimized/overlappingFuns.kt b/compiler/testData/codegen/box/multifileClasses/optimized/overlappingFuns.kt index 9cfd5602e3f..d2fd5167390 100644 --- a/compiler/testData/codegen/box/multifileClasses/optimized/overlappingFuns.kt +++ b/compiler/testData/codegen/box/multifileClasses/optimized/overlappingFuns.kt @@ -1,5 +1,4 @@ // TARGET_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // WITH_STDLIB // !INHERIT_MULTIFILE_PARTS // FILE: box.kt diff --git a/compiler/testData/codegen/box/notNullAssertions/inFunctionWithExpressionBodyWithJavaGeneric.kt b/compiler/testData/codegen/box/notNullAssertions/inFunctionWithExpressionBodyWithJavaGeneric.kt index 5fb8612e2e2..406c5d9fe2a 100644 --- a/compiler/testData/codegen/box/notNullAssertions/inFunctionWithExpressionBodyWithJavaGeneric.kt +++ b/compiler/testData/codegen/box/notNullAssertions/inFunctionWithExpressionBodyWithJavaGeneric.kt @@ -1,7 +1,6 @@ // !LANGUAGE: +StrictJavaNullabilityAssertions +ProhibitUsingNullableTypeParameterAgainstNotNullAnnotated +DefinitelyNonNullableTypes // TARGET_BACKEND: JVM // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // FILE: box.kt fun box(): String { diff --git a/compiler/testData/codegen/box/operatorConventions/kt44647.kt b/compiler/testData/codegen/box/operatorConventions/kt44647.kt index ed3fc330c80..35a4c39619d 100644 --- a/compiler/testData/codegen/box/operatorConventions/kt44647.kt +++ b/compiler/testData/codegen/box/operatorConventions/kt44647.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM -// IGNORE_LIGHT_ANALYSIS // WITH_STDLIB fun box(): String { diff --git a/compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/progressionExpression.kt b/compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/progressionExpression.kt index 8633449aab0..fb622c64271 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/progressionExpression.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/progressionExpression.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM // See KT-38833: Runtime exception is "java.lang.ClassCastException: java.lang.Integer cannot be cast to kotlin.UInt" -// IGNORE_LIGHT_ANALYSIS // WITH_STDLIB fun box(): String { diff --git a/compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeExpression.kt b/compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeExpression.kt index 60e620dcb0e..40e71fc73c4 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeExpression.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeExpression.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM // See KT-38833: Runtime exception is "java.lang.ClassCastException: java.lang.Integer cannot be cast to kotlin.UInt" -// IGNORE_LIGHT_ANALYSIS // WITH_STDLIB fun box(): String { diff --git a/compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeLiteral.kt b/compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeLiteral.kt index a526e281866..2574c5b4a68 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeLiteral.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeLiteral.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM // See KT-38833: Runtime exception is "java.lang.ClassCastException: java.lang.Integer cannot be cast to kotlin.UInt" -// IGNORE_LIGHT_ANALYSIS // WITH_STDLIB fun box(): String { diff --git a/compiler/testData/codegen/box/syntheticAccessors/protectedSuperclassCompanionObjectMember.kt b/compiler/testData/codegen/box/syntheticAccessors/protectedSuperclassCompanionObjectMember.kt index 00b1166388d..332edb4988c 100644 --- a/compiler/testData/codegen/box/syntheticAccessors/protectedSuperclassCompanionObjectMember.kt +++ b/compiler/testData/codegen/box/syntheticAccessors/protectedSuperclassCompanionObjectMember.kt @@ -1,6 +1,5 @@ // TARGET_BACKEND: JVM // WITH_STDLIB -// IGNORE_LIGHT_ANALYSIS // IGNORE_BACKEND: JVM // FILE: test.kt @@ -27,4 +26,4 @@ import c1.* class C2 : C1() { fun b() = { test("OK") } -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/toArray/toArrayShouldBePublicWithJava.kt b/compiler/testData/codegen/box/toArray/toArrayShouldBePublicWithJava.kt index 67f10002a80..2550088cad6 100644 --- a/compiler/testData/codegen/box/toArray/toArrayShouldBePublicWithJava.kt +++ b/compiler/testData/codegen/box/toArray/toArrayShouldBePublicWithJava.kt @@ -1,6 +1,5 @@ // TARGET_BACKEND: JVM // WITH_STDLIB -// IGNORE_LIGHT_ANALYSIS // FILE: SingletonCollection.kt package test @@ -66,4 +65,4 @@ fun box(): String { if (test6[0] != 42) return "Failed #6" return "OK" -} \ No newline at end of file +}