Report more specific diagnostic for variable + invoke calls
Do not report same set of diagnostics for variable call if actual error was happened with a function candidate. Here the candidate is invoke function on DeepRecursiveFunction ^KT-40991 Fixed ^KT-41491 Fixed ^KT-40926 In Progress
This commit is contained in:
Generated
+6
@@ -22974,6 +22974,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
|
||||
runTest("compiler/testData/diagnostics/tests/resolve/invoke/kt9805.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("reportFunctionExpectedOnSimpleUnresolved.kt")
|
||||
public void testReportFunctionExpectedOnSimpleUnresolved() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/resolve/invoke/reportFunctionExpectedOnSimpleUnresolved.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("reportFunctionExpectedWhenOneInvokeExist.kt")
|
||||
public void testReportFunctionExpectedWhenOneInvokeExist() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user