overload resolution: encapsulate overload guard checks + eliminate additional applicability predicate

GitOrigin-RevId: 41c411466ef8def32fb15535dc639a7f7dc29285
This commit is contained in:
Anna Kozlova
2019-05-03 21:21:57 +02:00
committed by intellij-monorepo-bot
parent c4eb244441
commit e26bb55130
22 changed files with 69 additions and 84 deletions

View File

@@ -22,7 +22,7 @@ class MyTest {
{
Bar1 b1 = MyTest :: foo;
bar<error descr="Ambiguous method call: both 'MyTest.bar(Bar1)' and 'MyTest.bar(Bar2)' match">(MyTest :: foo)</error>;
bar(MyTest :: <error descr="Cannot resolve method 'foo'">foo</error>);
}
}