new inference: stop inference if false was inferred

This commit is contained in:
Anna Kozlova
2014-02-12 09:46:33 +01:00
parent b5e1b382c8
commit 021c0c891e
17 changed files with 101 additions and 73 deletions
@@ -34,7 +34,7 @@ class Test1111 {
}
public void test(I<?> i) {
bar<error descr="'bar(Test1111.I<? super java.lang.Object>)' in 'Test1111' cannot be applied to '(Test1111.I<capture<?>>)'">(i)</error>;
bar<error descr="'bar(Test1111.I<? super A>)' in 'Test1111' cannot be applied to '(Test1111.I<capture<?>>)'">(i)</error>;
}
public static <A> void bar(I<? super A> i) {}