10 abstract void foo(A j);
11 abstract void foo(B i);
17 <error descr="Ambiguous method call: both 'Test.foo(A)' and 'Test.foo(B)' match">foo</error>(x -> <error descr="Incompatible types. Found: 'int', required: '<lambda parameter>'">x += 1</error>);
19 foo(x -> <error descr="Operator '!' cannot be applied to 'int'">!x</error>);
20 <error descr="Ambiguous method call: both 'Test.foo(A)' and 'Test.foo(B)' match">foo</error>(x -> <error descr="Operator '++' cannot be applied to '<lambda parameter>'">++x</error>);
21 foo(x -> o instanceof String ? 1 : 0);