JEP draft: Concise Method Bodies - extend this to local functions?
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Thu Sep 20 20:08:26 UTC 2018
On 20/09/18 17:32, Remi Forax wrote:
> There is also a potential confusion between
> Function<A,B> fun() = Utils::bar;
> and
> Function<A,B> fun() -> Utils::bar;
>
You meant between
Function<A,B> fun() = Utils::bar;
and
Function<A,B> fun = Utils::bar;
?
(first is method body, second is variable initializer)
Maurizio
More information about the amber-spec-experts
mailing list