Two remarks. First, I'm not sure what you mean by "static lambda". Of
course it is already possible for a lambda to be declared as a static
member of some class (static Runnable r = () -> {};), so you must mean
something else, but I don't know what that is. Do you imagine a
special declarati
Yes, good catch. Type parameters for a class X or method X are in
NC(X); done.
On 1/7/2020 4:27 PM, Remi Forax wrote:
Hi Brian,
Nice sump-up, i like it very much.
I believe we also need to think about type parameters, they are also
impacted by the nesting/static context so should be in NC(X)
Hi Brian,
Nice sump-up, i like it very much.
I believe we also need to think about type parameters, they are also impacted
by the nesting/static context so should be in NC(X).
Rémi
> De: "Brian Goetz"
> À: "amber-spec-experts"
> Envoyé: Mardi 7 Janvier 2020 21:30:27
> Objet: Towards clean
Everything about nesting in Java is a mess. The terminology is a mess
(top level classes, nested classes, inner classes, local classes,
anonymous classes); the set of restrictions on what can nest in what is
ad-hoc (can have local classes but not local interfaces; inner classes
cannot have sta