new inference: method refs: potentially compatible condition

This commit is contained in:
Anna Kozlova committed 2014-02-11 14:20:50 +01:00
1 parent dd66d26554
commit 9466bd9bde
5 files changed
+103 -31

No files matched your search

@@ -118,7 +118,7 @@ class MyTest2 {
call3(MyTest2::m1);
call3<error descr="Ambiguous method call: both 'MyTest2.call3(I1)' and 'MyTest2.call3(I2)' match">(MyTest2::m2)</error>;
call3(MyTest2::m3);
call3<error descr="Cannot resolve method 'call3(<method reference>)'">(MyTest2::m4)</error>;
call3<error descr="'call3(MyTest2.I2)' in 'MyTest2' cannot be applied to '(<method reference>)'">(MyTest2::m4)</error>;
}
}