hg: lambda/lambda/langtools: Bug fixes:
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Fri Aug 27 01:20:03 PDT 2010
On 27/08/10 01:02, Neal Gafter wrote:
> On Thu, Aug 26, 2010 at 4:15 AM, <maurizio.cimadamore at oracle.com
> <mailto:maurizio.cimadamore at oracle.com>> wrote:
>
> Bug fixes:
> *) lambda return type should not be inferred to 'void' if lambda
> expression cannot return normally
>
>
> The specification defines the return type to be 'void' if the lambda
> body cannot complete normally. Has that changed?
Hi Neal,
what I've done goes a bit outside the spec here. Since now we have
target typing I think there could be some value in leaving the return
type 'open' (so that it can be inferred from the target type) when the
lambda body cannot complete normally.
Maurizio
More information about the lambda-dev
mailing list