blob: 348108fc34434cde6ad798af6ba8a7e500b6fd1a [file] [log] [blame]
abstract class PertinentToApplicabilityOfExplicitlyTypedLambdaTest {
interface A {
B m(int a);
}
interface B {
int m(int b);
}
abstract void foo(A a);
abstract void foo(B b);
{
foo<error descr="Ambiguous method call: both 'PertinentToApplicabilityOfExplicitlyTypedLambdaTest.foo(A)' and 'PertinentToApplicabilityOfExplicitlyTypedLambdaTest.foo(B)' match">(x -> y -> 42)</error>;
}
}