FE: Fix null assertion error when left is CollectionLiteral

#KT-49961 fixed
This commit is contained in:
Xin Wang
2022-05-16 22:33:19 +08:00
committed by Victor Petukhov
parent bd299ed12c
commit eb1d7110ec
9 changed files with 59 additions and 1 deletions
@@ -13870,6 +13870,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/inference/kt49658Strict.kt");
}
@Test
@TestMetadata("kt49961.kt")
public void testKt49961() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/kt49961.kt");
}
@Test
@TestMetadata("kt51844.kt")
public void testKt51844() throws Exception {