[FE 1.0] Report errors for recursive types from completion as well

Such diagnostics could be missed at least for plus assignment's right side because it wasn't report for the second time of analysis

^KT-48546 Fixed
This commit is contained in:
Victor Petukhov
2022-03-17 15:49:52 +04:00
committed by teamcity
parent 27fa632630
commit 2307122089
15 changed files with 134 additions and 2 deletions
@@ -8080,6 +8080,18 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/delegatedProperty/kt4640.kt");
}
@Test
@TestMetadata("kt48546.kt")
public void testKt48546() throws Exception {
runTest("compiler/testData/diagnostics/tests/delegatedProperty/kt48546.kt");
}
@Test
@TestMetadata("kt48546Strict.kt")
public void testKt48546Strict() throws Exception {
runTest("compiler/testData/diagnostics/tests/delegatedProperty/kt48546Strict.kt");
}
@Test
@TestMetadata("localVariable.kt")
public void testLocalVariable() throws Exception {
@@ -8524,6 +8536,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/delegation/kt44843.kt");
}
@Test
@TestMetadata("kt48546.kt")
public void testKt48546() throws Exception {
runTest("compiler/testData/diagnostics/tests/delegation/kt48546.kt");
}
@Test
@TestMetadata("kt49477.kt")
public void testKt49477() throws Exception {
@@ -25050,6 +25068,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/resolve/inferenceInLinkedLambdasDependentOnExpectedType.kt");
}
@Test
@TestMetadata("kt28109.kt")
public void testKt28109() throws Exception {
runTest("compiler/testData/diagnostics/tests/resolve/kt28109.kt");
}
@Test
@TestMetadata("kt36264.kt")
public void testKt36264() throws Exception {