ensure potential compatible for pertinent to applicability: when number of parameters is wrong methods which are not potentially compatible are not filtered (IDEA-149103)

This commit is contained in:
Anna Kozlova
2015-12-09 19:28:03 +01:00
parent 92487fe273
commit c81d887251
3 changed files with 28 additions and 3 deletions
@@ -187,6 +187,10 @@ public class OverloadResolutionTest extends LightDaemonAnalyzerTestCase {
doTest(false);
}
public void testPotentialCompatibilityInCaseWhenNoMethodHasValidNumberOfParameters() throws Exception {
doTest(false);
}
private void doTest() {
doTest(true);
}