[FIR] Infer type of elvis from lhs if rhs is Nothing
^KT-50875 Fixed
This commit is contained in:
+6
@@ -3645,6 +3645,12 @@ public class DiagnosisCompilerFirTestdataTestGenerated extends AbstractDiagnosis
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/smartcasts/kt50788.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt50875.kt")
|
||||
public void testKt50875() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/smartcasts/kt50875.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("literalInWhenSubject.kt")
|
||||
public void testLiteralInWhenSubject() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user