[FE] Support reporting INFERRED_TYPE_VARIABLE_INTO_EMPTY_INTERSECTION for empty intersection types with type parameters

This commit is contained in:
Victor Petukhov
2022-02-11 14:20:28 +03:00
committed by teamcity
parent c16ae81a48
commit b96708c3e2
26 changed files with 307 additions and 19 deletions
@@ -13840,6 +13840,30 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/inference/kt45461.kt");
}
@Test
@TestMetadata("kt45461_2.kt")
public void testKt45461_2() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/kt45461_2.kt");
}
@Test
@TestMetadata("kt45461_3.kt")
public void testKt45461_3() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/kt45461_3.kt");
}
@Test
@TestMetadata("kt45461_4.kt")
public void testKt45461_4() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/kt45461_4.kt");
}
@Test
@TestMetadata("kt45461_5.kt")
public void testKt45461_5() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/kt45461_5.kt");
}
@Test
@TestMetadata("kt46515.kt")
public void testKt46515() throws Exception {