Potential Compiler Bug

Rémi Forax forax at univ-mlv.fr
Thu Nov 24 14:46:04 PST 2011


On 11/24/2011 11:35 PM, Richard Warburton wrote:

[...]

>
> I hope this is helpful. I noted that an trying to force an unboxed
> lambda to be converted to a boxed SAM type (eg Function<Integer,Integer>
> unboxed = (int x) ->  (int) (x + 1);) generated a compiler error, and I
> presume this should be the case with method references as well?

This issue is still open.

>
> regards,
>
>     Richard
>

cheers,
Rémi



More information about the lambda-dev mailing list