Feedback on Sealed Types

forax at univ-mlv.fr forax at univ-mlv.fr
Wed May 1 15:58:23 UTC 2019


> De: "Brian Goetz" <brian.goetz at oracle.com>
> À: "Remi Forax" <forax at univ-mlv.fr>
> Cc: "Alan Malloy" <amalloy at google.com>, "amber-spec-experts"
> <amber-spec-experts at 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 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/amber-spec-experts/attachments/20190501/815916a7/attachment-0001.html>


More information about the amber-spec-experts mailing list