Fix ISE when inferring type of a property that delegates to itself

^KT-37796 Fixed
This commit is contained in:
Denis.Zharkov
2020-12-23 18:32:14 +03:00
parent cbb8459e4e
commit 1a03d5c93e
7 changed files with 36 additions and 3 deletions
@@ -6957,6 +6957,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
runTest("compiler/testData/diagnostics/tests/delegatedProperty/incompleteTypeInference.kt");
}
@Test
@TestMetadata("kt37796.kt")
public void testKt37796() throws Exception {
runTest("compiler/testData/diagnostics/tests/delegatedProperty/kt37796.kt");
}
@Test
@TestMetadata("kt4640.kt")
public void testKt4640() throws Exception {