overload resolution: apply site substitution before potential compatibility check (IDEA-150807)

This commit is contained in:
Anna Kozlova
2016-01-25 18:52:15 +03:00
parent ec2c691cbf
commit 883f7f3f39
3 changed files with 38 additions and 1 deletions
@@ -188,6 +188,10 @@ public class OverloadResolutionTest extends LightDaemonAnalyzerTestCase {
doTest();
}
public void testPotentiallyCompatibleShouldCheckAgainstSubstitutedWithSiteSubstitutor() throws Exception {
doTest(false);
}
private void doTest() {
doTest(true);
}