[ 
https://issues.apache.org/jira/browse/GROOVY-9272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17350441#comment-17350441
 ] 

Eric Milles commented on GROOVY-9272:
-------------------------------------

Thanks for working through this.  Having the parser changes in place will allow 
for experiments on the AST side without having duplicate effort in antlr4.  I 
like the closure translation as a low-impact first step.

> Support switch expression
> -------------------------
>
>                 Key: GROOVY-9272
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9272
>             Project: Groovy
>          Issue Type: New Feature
>            Reporter: Daniel Sun
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> See JEP 354( [https://openjdk.java.net/jeps/354] )
>  
> The following reference is a bit outdated:
> JEP 325( [https://openjdk.java.net/jeps/325] )
> [https://blog.codefx.org/java/switch-expressions/]
> [https://dzone.com/articles/jdk-12-switch-statementsexpressions-in-action]
> [https://blog.idrsolutions.com/2019/03/java-12-switch-expressions-explained-in-5-minutes/]
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to