You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@groovy.apache.org by Paul King <pa...@asert.com.au> on 2026/10/21 11:24:48 UTC
GEP-19 (Structural Pattern Matching in switch)
GEP-19 and the proposed PR have been updated:
https://groovy.apache.org/wiki/GEP-19.html
https://github.com/apache/groovy/pull/2933
Feedback welcome!
Cheers, Paul.
Re: GEP-19 (Structural Pattern Matching in switch)
Posted by Daniel Sun <su...@apache.org>.
Hi Paul,
Thanks for updating GEP-19 and #2933. Structural pattern matching in switch is a strong Groovy 7 candidate, and having a re-ported reference implementation on current master makes the feature boundary and performance discussion concrete.
I will read the updated GEP and the PR more carefully and leave comments there (especially around exhaustiveness, interaction with existing switch/isCase, and static compilation). Happy to help review as it lands.
Cheers,
Daniel Sun