ARUNAVA SINHA created NETBEANS-2852:
---------------------------------------

             Summary: 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
             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-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