> De: "Brian Goetz" <brian.go...@oracle.com> > À: "Remi Forax" <fo...@univ-mlv.fr> > Cc: "Alan Malloy" <amal...@google.com>, "amber-spec-experts" > <amber-spec-experts@openjdk.java.net> > Envoyé: Mercredi 1 Mai 2019 14:37:23 > Objet: Re: Feedback on Sealed Types
>> It may solve the enclosing issue because the ';' syntactically separate A, B >> and >> C from the content of I which is declared after the ';', so A, B and C can be >> top-level. > Trying to make these top level has the same “how do I find the source file” > problem that aux classes have. I was thinking that those components are something new so you can 'tweak' import for them import akeyword Foo; // automatically import the component names too if it's an enum interface. given that no enum interface exists now, it's compatible. Rémi