diff --git a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/DiagnosisCompilerTestFE10TestdataTestGenerated.java b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/DiagnosisCompilerTestFE10TestdataTestGenerated.java index 19c48a6b5ba..fc4d74ee84e 100644 --- a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/DiagnosisCompilerTestFE10TestdataTestGenerated.java +++ b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/DiagnosisCompilerTestFE10TestdataTestGenerated.java @@ -8355,6 +8355,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag runTest("compiler/testData/diagnostics/tests/delegation/kt40510.kt"); } + @Test + @TestMetadata("kt44843.kt") + public void testKt44843() throws Exception { + runTest("compiler/testData/diagnostics/tests/delegation/kt44843.kt"); + } + @Test @TestMetadata("kt8154.kt") public void testKt8154() throws Exception { @@ -13752,6 +13758,18 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag runTest("compiler/testData/diagnostics/tests/inference/capturedTypes/kt2872.kt"); } + @Test + @TestMetadata("kt46727.kt") + public void testKt46727() throws Exception { + runTest("compiler/testData/diagnostics/tests/inference/capturedTypes/kt46727.kt"); + } + + @Test + @TestMetadata("kt46727Warnings.kt") + public void testKt46727Warnings() throws Exception { + runTest("compiler/testData/diagnostics/tests/inference/capturedTypes/kt46727Warnings.kt"); + } + @Test @TestMetadata("memberScopeOfCaptured.kt") public void testMemberScopeOfCaptured() throws Exception { @@ -15795,6 +15813,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag runTest("compiler/testData/diagnostics/tests/inline/kt21177.kt"); } + @Test + @TestMetadata("kt21177Warning.kt") + public void testKt21177Warning() throws Exception { + runTest("compiler/testData/diagnostics/tests/inline/kt21177Warning.kt"); + } + @Test @TestMetadata("kt4869.kt") public void testKt4869() throws Exception { @@ -15921,12 +15945,36 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag runTest("compiler/testData/diagnostics/tests/inline/stringTemplate.kt"); } + @Test + @TestMetadata("superCall.kt") + public void testSuperCall() throws Exception { + runTest("compiler/testData/diagnostics/tests/inline/superCall.kt"); + } + @Test @TestMetadata("superCallDepecation.kt") public void testSuperCallDepecation() throws Exception { runTest("compiler/testData/diagnostics/tests/inline/superCallDepecation.kt"); } + @Test + @TestMetadata("superCallDepecationWarning.kt") + public void testSuperCallDepecationWarning() throws Exception { + runTest("compiler/testData/diagnostics/tests/inline/superCallDepecationWarning.kt"); + } + + @Test + @TestMetadata("superCallFromMultipleSubclasses.kt") + public void testSuperCallFromMultipleSubclasses() throws Exception { + runTest("compiler/testData/diagnostics/tests/inline/superCallFromMultipleSubclasses.kt"); + } + + @Test + @TestMetadata("superProperty.kt") + public void testSuperProperty() throws Exception { + runTest("compiler/testData/diagnostics/tests/inline/superProperty.kt"); + } + @Test @TestMetadata("unsupportedConstruction.kt") public void testUnsupportedConstruction() throws Exception { diff --git a/compiler/testData/codegen/boxInline/syntheticAccessors/superCall.kt b/compiler/testData/codegen/boxInline/syntheticAccessors/superCall.kt index c8126efd40d..0c5bbdd5f09 100644 --- a/compiler/testData/codegen/boxInline/syntheticAccessors/superCall.kt +++ b/compiler/testData/codegen/boxInline/syntheticAccessors/superCall.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND_FIR: JVM_IR // !LANGUAGE: -ProhibitSuperCallsFromPublicInline // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/syntheticAccessors/superCallFromMultipleSubclasses.kt b/compiler/testData/codegen/boxInline/syntheticAccessors/superCallFromMultipleSubclasses.kt index 0dbe81cef22..7bef343dfbf 100644 --- a/compiler/testData/codegen/boxInline/syntheticAccessors/superCallFromMultipleSubclasses.kt +++ b/compiler/testData/codegen/boxInline/syntheticAccessors/superCallFromMultipleSubclasses.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND_FIR: JVM_IR // !LANGUAGE: -ProhibitSuperCallsFromPublicInline // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/syntheticAccessors/superProperty.kt b/compiler/testData/codegen/boxInline/syntheticAccessors/superProperty.kt index 29d81c4331b..d6afbd8bd98 100644 --- a/compiler/testData/codegen/boxInline/syntheticAccessors/superProperty.kt +++ b/compiler/testData/codegen/boxInline/syntheticAccessors/superProperty.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND_FIR: JVM_IR // !LANGUAGE: -ProhibitSuperCallsFromPublicInline // FILE: 1.kt diff --git a/compiler/testData/diagnostics/foreignAnnotationsTests/tests/kt47920.fir.kt b/compiler/testData/diagnostics/foreignAnnotationsTests/tests/kt47920.fir.kt new file mode 100644 index 00000000000..baaede4d2a9 --- /dev/null +++ b/compiler/testData/diagnostics/foreignAnnotationsTests/tests/kt47920.fir.kt @@ -0,0 +1,11 @@ +// MUTE_FOR_PSI_CLASS_FILES_READING + +// FILE: J1.java +import io.reactivex.rxjava3.annotations.*; + +public class J1<@NonNull T> {} + +// FILE: main.kt +fun main() { + J1() // violated nullability, no warnings; but there is an error with -Xtype-enhancement-improvements-strict-mode +} diff --git a/compiler/testData/diagnostics/foreignAnnotationsTests/tests/kt47920.kt b/compiler/testData/diagnostics/foreignAnnotationsTests/tests/kt47920.kt index 4bf04bd7338..613eb2259c5 100644 --- a/compiler/testData/diagnostics/foreignAnnotationsTests/tests/kt47920.kt +++ b/compiler/testData/diagnostics/foreignAnnotationsTests/tests/kt47920.kt @@ -1,4 +1,3 @@ -// FIR_IDENTICAL // MUTE_FOR_PSI_CLASS_FILES_READING // FILE: J1.java