[FIR] Distinguish stub types for builder inference and for subtyping

^KT-48110 Fixed
This commit is contained in:
Dmitriy Novozhilov
2021-08-23 16:29:52 +03:00
parent 7e6e0a3dd6
commit 0924216ed2
25 changed files with 85 additions and 848 deletions
@@ -13269,6 +13269,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/inference/starApproximationFromDifferentTypeParameter.kt");
}
@Test
@TestMetadata("stubTypeForSubtyping.kt")
public void testStubTypeForSubtyping() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/stubTypeForSubtyping.kt");
}
@Test
@TestMetadata("tooEagerSmartcast.kt")
public void testTooEagerSmartcast() throws Exception {