[External] : Effectively final loop counter (was: Are templated string embedded expressions "method parameters" or "lambdas"?)

John Rose john.r.rose at oracle.com
Tue Nov 2 03:39:17 UTC 2021

On Nov 1, 2021, at 8:37 PM, John Rose <john.r.rose at oracle.com<mailto:john.r.rose at oracle.com>> wrote:

In this case, the magic declaration “final var i = i” switches

(There are two bikeshed colors shown here; it is very simply
“final i” in the desugaring example.  “final i” is very clearly
a super-narrow feature, another option to use alongside
the effectively-final rule.)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/amber-spec-experts/attachments/20211102/fc37f50a/attachment.htm>

More information about the amber-spec-experts mailing list