JEP draft: Concise Method Bodies - extend this to local functions?
Brian Goetz
brian.goetz at oracle.com
Fri Sep 21 00:30:53 UTC 2018
>
> There is also have an issue with method references because a local
> function has no owner type (from the Java POV, obviously there is an
> owner class once desugared by the compiler),
Yes, unqualified method references have been on our radar since Java 8,
and yes, we know that local methods would need them, and yes, the rules
would parallel those for unqualified method invocations. (I didn't
raise these in response to Lukas' suggestion about local methods,
because I want to keep the discussion focused on the feature in front of
us.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/amber-spec-experts/attachments/20180920/0f1eef80/attachment.html>
More information about the amber-spec-experts
mailing list