You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2021/01/14 21:48:00 UTC
[jira] [Commented] (GROOVY-9272) Support switch expression
[ https://issues.apache.org/jira/browse/GROOVY-9272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17265380#comment-17265380 ]
Paul King commented on GROOVY-9272:
-----------------------------------
Useful summary about treatment of {{yield}} and when limited lookahead for variables called {{yield}} is needed:
https://bugs.openjdk.java.net/browse/JDK-8223305
> 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)