new inference: check provided lower bounds on type parameters, in case of fresh variables they declare the type hierarchy and otherwise constrains won't agree (IDEA-153642)

This commit is contained in:
Anna.Kozlova
2016-03-29 16:51:50 +02:00
parent 5d59c19733
commit f139c4cef4
3 changed files with 32 additions and 16 deletions
@@ -502,6 +502,10 @@ public class NewMethodRefHighlightingTest extends LightDaemonAnalyzerTestCase {
doTest();
}
public void testFreshVariableLowerBoundsDuringSuptypeChecks() throws Exception {
doTest();
}
private void doTest() {
doTest(false);
}