[ 
https://issues.apache.org/jira/browse/NETBEANS-2852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ARUNAVA SINHA resolved NETBEANS-2852.
-------------------------------------
    Resolution: Fixed

Fixed as part of

https://issues.apache.org/jira/browse/NETBEANS-2917

> 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: Bug
>          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
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to