From 9e8e5c5a36a3a7929f18d840fa64c1b1074b2400 Mon Sep 17 00:00:00 2001 From: "Denis.Zharkov" Date: Thu, 8 Dec 2022 18:53:58 +0100 Subject: [PATCH] Make sure that fix for KT-53041 works with additional LF Previously, it worked by default because ProhibitUsingNullableTypeParameterAgainstNotNullAnnotated was enabled by default since 1.8, but we have to disable it because of KT-55357 Turning off the fix by default is not a breaking change per se, because 1.8 has not yet been released. ^KT-55357 Related ^KT-36770 Related ^KT-53041 Open --- .../box/javaInterop/foreignAnnotationsTests/tests/kt53041.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/testData/codegen/box/javaInterop/foreignAnnotationsTests/tests/kt53041.kt b/compiler/testData/codegen/box/javaInterop/foreignAnnotationsTests/tests/kt53041.kt index 80769187698..d7cdf3307e5 100644 --- a/compiler/testData/codegen/box/javaInterop/foreignAnnotationsTests/tests/kt53041.kt +++ b/compiler/testData/codegen/box/javaInterop/foreignAnnotationsTests/tests/kt53041.kt @@ -2,6 +2,7 @@ // JVM_TARGET: 1.8 // TARGET_BACKEND: JVM // NULLABILITY_ANNOTATIONS: @io.reactivex.rxjava3.annotations:strict +// LANGUAGE: +ProhibitUsingNullableTypeParameterAgainstNotNullAnnotated // IGNORE_LIGHT_ANALYSIS // FILE: MyBiConsumer.java