Unnamed Classes with Initializers

Brian Goetz brian.goetz at oracle.com
Tue Jul 4 13:06:25 UTC 2023


What part of the feature do you think is missing?

The compiler is behaving correctly in that it is rejecting an invalid program; static and instance initializers are not allowed in unnamed classes.  However, the error messages could be more helpful.  

Sent from my iPad

> On Jul 3, 2023, at 9:08 PM, David Alayachew <davidalayachew at gmail.com> wrote:
> 
> 
> If I had to guess, they simply implemented part of the feature thus far. The rest will probably come some point soon.


More information about the amber-dev mailing list