You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "ARUNAVA SINHA (JIRA)" <ji...@apache.org> on 2019/08/06 10:48:00 UTC
[jira] [Updated] (NETBEANS-2852) Fomatting Issue in Yield Statement
of Switch Expression(JDK-13)
[ https://issues.apache.org/jira/browse/NETBEANS-2852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ARUNAVA SINHA updated NETBEANS-2852:
------------------------------------
Issue Type: Task (was: Bug)
> Fomatting Issue in Yield Statement of Switch Expression(JDK-13)
> ---------------------------------------------------------------
>
> Key: NETBEANS-2852
> URL: https://issues.apache.org/jira/browse/NETBEANS-2852
> Project: NetBeans
> Issue Type: Task
> Components: java - Editor
> Affects Versions: 11.2
> Reporter: ARUNAVA SINHA
> Assignee: ARUNAVA SINHA
> Priority: Major
> Fix For: 11.2
>
>
> In JDK-13 break with-a -value will be replaced with yield statement.
> Currently formatting of yield statement is not supported in NB
> {{int result = switch (s) {}}
> {{ case "Foo": yield 1;}}
> {{ case "Bar": yield 2; }}
> {{default: yield 0; }}
> {{};}}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists