new inference: method refs: accept qualifier substitutor when nothing more could be inferred

This commit is contained in:
Anna Kozlova
2014-02-27 18:32:43 +01:00
parent e0f2061c1c
commit 66a8dedb8c
4 changed files with 21 additions and 1 deletions
@@ -29,7 +29,7 @@ class MyTest {
}
public static void main(String[] args) {
foo<error descr="Ambiguous method call: both 'MyTest.foo(I1)' and 'MyTest.foo(I2)' match">(Foo::m)</error>;
foo<error descr="Ambiguous method call: both 'MyTest.foo(I2)' and 'MyTest.foo(I3)' match">(Foo::m)</error>;
}
}