[FIR] Ensure KT-50293 is no longer a problem

PCLA-related changes led to this change in
behavior. In K1 an explicit cast was needed
to prevent ORA, but now in K2 this code
is green without casts.

^KT-50293 Obsolete
This commit is contained in:
Nikolay Lunyak
2024-03-01 14:39:56 +02:00
committed by Space Team
parent a5423032a3
commit fbdf7e33bd
7 changed files with 54 additions and 0 deletions
@@ -17765,6 +17765,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/inference/builderInference/kt49829.kt");
}
@Test
@TestMetadata("kt49829_noCast.kt")
public void testKt49829_noCast() {
runTest("compiler/testData/diagnostics/tests/inference/builderInference/kt49829_noCast.kt");
}
@Test
@TestMetadata("kt50498.kt")
public void testKt50498() {
@@ -17765,6 +17765,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/inference/builderInference/kt49829.kt");
}
@Test
@TestMetadata("kt49829_noCast.kt")
public void testKt49829_noCast() {
runTest("compiler/testData/diagnostics/tests/inference/builderInference/kt49829_noCast.kt");
}
@Test
@TestMetadata("kt50498.kt")
public void testKt50498() {