[ https://issues.apache.org/jira/browse/GROOVY-9272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17346928#comment-17346928 ]
Eric Milles commented on GROOVY-9272: ------------------------------------- It sounds like there was a prototype for the {{ClosureExpression}} option. Does that still exist? That first option does still have the benefit of simplicity. It may give Groovy most of what the Java switch expression provides. > 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 > > See 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)