[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:
committed by
Space Team
parent
a5423032a3
commit
fbdf7e33bd
+6
@@ -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() {
|
||||
|
||||
+6
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user