Code refuses to compile when using comparator with lambda
forax at univ-mlv.fr
Wed Mar 20 05:39:10 PDT 2013
On 03/20/2013 01:04 PM, Maurizio Cimadamore wrote:
> On 20/03/13 11:17, Remi Forax wrote:
>> bitten by the wildcard capture, again
> It's not that this time.
> Juts the fact that the two methods are like:
> <A> m(Function<? super A, ...>)
> <B> m(Function<? super B, ...>)
> Which means the two descriptors are:
> So, does the first descriptor accept the same argument type as the
> second? No. (Or yes, but after alpha-renaming).
appear obvious now,
More information about the lambda-dev