Filter out equivalent calls before reporting "none applicable"
If a module is configured in such a way that the same function appears multiple times via different dependencies, it's not helpful to report "none of the following functions can be called", listing the same function multiple times
This commit is contained in:
@@ -12311,6 +12311,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("incompleteCodeNoNoneApplicable.kt")
|
||||
public void testIncompleteCodeNoNoneApplicable() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/multimodule/duplicateMethod/incompleteCodeNoNoneApplicable.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("noGenericsInParams.kt")
|
||||
public void testNoGenericsInParams() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/multimodule/duplicateMethod/noGenericsInParams.kt");
|
||||
|
||||
Reference in New Issue
Block a user