diff --git a/compiler/testData/codegen/box/annotations/annotatedLambda/samFunReference.kt b/compiler/testData/codegen/box/annotations/annotatedLambda/samFunReference.kt index b90a227d933..fe27a8eaaf4 100644 --- a/compiler/testData/codegen/box/annotations/annotatedLambda/samFunReference.kt +++ b/compiler/testData/codegen/box/annotations/annotatedLambda/samFunReference.kt @@ -1,3 +1,5 @@ +// !LANGUAGE: -NewInference + // IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM diff --git a/compiler/testData/codegen/box/constructorCall/nonLocalReturnInConstructorArguments.kt b/compiler/testData/codegen/box/constructorCall/nonLocalReturnInConstructorArguments.kt index 56bd5bf0edb..9ea1f6113c3 100644 --- a/compiler/testData/codegen/box/constructorCall/nonLocalReturnInConstructorArguments.kt +++ b/compiler/testData/codegen/box/constructorCall/nonLocalReturnInConstructorArguments.kt @@ -1,4 +1,4 @@ -// !LANGUAGE: -NormalizeConstructorCalls +// !LANGUAGE: -NormalizeConstructorCalls -NewInference // IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/contracts/exactlyOnceNotInline.kt b/compiler/testData/codegen/box/contracts/exactlyOnceNotInline.kt index 2830156b1be..a22588bb2d5 100644 --- a/compiler/testData/codegen/box/contracts/exactlyOnceNotInline.kt +++ b/compiler/testData/codegen/box/contracts/exactlyOnceNotInline.kt @@ -1,3 +1,4 @@ +// !LANGUAGE: -NewInference // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts // IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: NATIVE diff --git a/compiler/testData/codegen/box/delegatedProperty/optimizedDelegatedProperties/mixedArgumentSizes.kt b/compiler/testData/codegen/box/delegatedProperty/optimizedDelegatedProperties/mixedArgumentSizes.kt index 92ac7adaa7f..41a0a1ebd3e 100644 --- a/compiler/testData/codegen/box/delegatedProperty/optimizedDelegatedProperties/mixedArgumentSizes.kt +++ b/compiler/testData/codegen/box/delegatedProperty/optimizedDelegatedProperties/mixedArgumentSizes.kt @@ -1,3 +1,5 @@ +// !LANGUAGE: -NewInference + // IGNORE_BACKEND_FIR: JVM_IR inline operator fun Double.provideDelegate(thisRef: Any?, kProp: Any?) = this.toLong() diff --git a/compiler/testData/codegen/box/javaInterop/genericSamProjectedOut.kt b/compiler/testData/codegen/box/javaInterop/genericSamProjectedOut.kt index 41a388b45b4..2945f152bcd 100644 --- a/compiler/testData/codegen/box/javaInterop/genericSamProjectedOut.kt +++ b/compiler/testData/codegen/box/javaInterop/genericSamProjectedOut.kt @@ -1,3 +1,4 @@ +// !LANGUAGE: -NewInference // IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/javaInterop/genericSamProjectedOutWithNewInference.kt b/compiler/testData/codegen/box/javaInterop/genericSamProjectedOutWithNewInference.kt index ff9f56d2848..e5020c1761a 100644 --- a/compiler/testData/codegen/box/javaInterop/genericSamProjectedOutWithNewInference.kt +++ b/compiler/testData/codegen/box/javaInterop/genericSamProjectedOutWithNewInference.kt @@ -1,4 +1,4 @@ -// !LANGUAGE: +NewInference +// !LANGUAGE: -NewInference // IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM diff --git a/compiler/testData/codegen/box/nonLocalReturns/returnInsideTwoLambdas.kt b/compiler/testData/codegen/box/nonLocalReturns/returnInsideTwoLambdas.kt index 92e8535c552..4e1cd0bdae9 100644 --- a/compiler/testData/codegen/box/nonLocalReturns/returnInsideTwoLambdas.kt +++ b/compiler/testData/codegen/box/nonLocalReturns/returnInsideTwoLambdas.kt @@ -1,3 +1,4 @@ +// !LANGUAGE: -NewInference // IGNORE_BACKEND_FIR: JVM_IR fun outer(command: () -> T) : T = command() diff --git a/compiler/testData/codegen/box/reflection/call/incorrectNumberOfArguments.kt b/compiler/testData/codegen/box/reflection/call/incorrectNumberOfArguments.kt index 0e5a848f3cc..a6171ed1ac1 100644 --- a/compiler/testData/codegen/box/reflection/call/incorrectNumberOfArguments.kt +++ b/compiler/testData/codegen/box/reflection/call/incorrectNumberOfArguments.kt @@ -1,3 +1,4 @@ +// !LANGUAGE: +FunctionReferenceWithDefaultValueAsOtherType // IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM diff --git a/compiler/testData/codegen/box/secondaryConstructors/callFromLocalSubClass.kt b/compiler/testData/codegen/box/secondaryConstructors/callFromLocalSubClass.kt index 391d7ee6535..e59a937d7bd 100644 --- a/compiler/testData/codegen/box/secondaryConstructors/callFromLocalSubClass.kt +++ b/compiler/testData/codegen/box/secondaryConstructors/callFromLocalSubClass.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND_FIR: JVM_IR +// IGNORE_BACKEND: JS fun box(): String { val z = "K" open class A(val x: String) { diff --git a/compiler/testData/codegen/boxInline/argumentOrder/defaultParametersAndLastVararg.kt b/compiler/testData/codegen/boxInline/argumentOrder/defaultParametersAndLastVararg.kt index 485cf7c8355..6b30b89ac49 100644 --- a/compiler/testData/codegen/boxInline/argumentOrder/defaultParametersAndLastVararg.kt +++ b/compiler/testData/codegen/boxInline/argumentOrder/defaultParametersAndLastVararg.kt @@ -1,3 +1,4 @@ +// !LANGUAGE: -NewInference // NO_CHECK_LAMBDA_INLINING // FILE: 1.kt // WITH_RUNTIME diff --git a/compiler/testData/diagnostics/tests/samConversions/samConversionsWithSmartCasts.kt b/compiler/testData/diagnostics/tests/samConversions/samConversionsWithSmartCasts.kt index 387525c939b..ef861700bf6 100644 --- a/compiler/testData/diagnostics/tests/samConversions/samConversionsWithSmartCasts.kt +++ b/compiler/testData/diagnostics/tests/samConversions/samConversionsWithSmartCasts.kt @@ -49,7 +49,7 @@ fun test6(a: Any) { fun test7(a: (Int) -> Int) { a as () -> Unit - J().run1(a) + J().run1(a) } fun test8(a: () -> Unit) { diff --git a/tests/mute-common.csv b/tests/mute-common.csv index 4c782d2c776..fdf1d6424a3 100644 --- a/tests/mute-common.csv +++ b/tests/mute-common.csv @@ -54,3 +54,5 @@ org.jetbrains.kotlin.psi.injection.StringInterpolationInjectionTest.testInterpol org.jetbrains.kotlin.shortenRefs.ShortenRefsTestGenerated.testExtensionForObject2, Always red org.jetbrains.kotlin.util.KotlinVersionsTest.testVersionsAreConsistent, KT-35567 org.jetbrains.kotlinx.serialization.SerializationIrBytecodeListingTestGenerated.testBasic, Broken between 20 nov and 10 dec +org.jetbrains.kotlin.jvm.compiler.CompileKotlinAgainstJavaTestGenerated.WithAPT.testClassWithTypeParameter, KT-36448 +org.jetbrains.kotlin.jvm.compiler.CompileKotlinAgainstJavaTestGenerated.WithoutAPT.testClassWithTypeParameter, KT-36448 \ No newline at end of file