Add a test with false positive "inferred into empty intersection"

Related to KT-50232
This commit is contained in:
Mikhail Glukhikh
2022-08-12 16:09:50 +02:00
committed by Space
parent d3eedd791e
commit a6b90fcb8e
7 changed files with 65 additions and 0 deletions
@@ -14040,6 +14040,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/inference/kt49961.kt");
}
@Test
@TestMetadata("kt50232a.kt")
public void testKt50232a() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/kt50232a.kt");
}
@Test
@TestMetadata("kt6175.kt")
public void testKt6175() throws Exception {