Draft JLS Spec about unnamed patterns and variables

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Thu Feb 23 19:27:58 UTC 2023


On 23/02/2023 18:46, Brian Goetz wrote:
> but we really wanted the case merging.

Gotcha.

I just wanted to point out that there are two questions here (one about 
fall-through and one about domination), and when reading the emails it 
was not obvious to me that a change in how fall-through was defined was 
being proposed.

If merging unrelated type tests is a goal, I think there should be an 
example for it in the JEP under "Motivation".

Maurizio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-spec-observers/attachments/20230223/c6d11f5d/attachment.htm>


More information about the amber-spec-observers mailing list