[
https://issues.apache.org/jira/browse/NETBEANS-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ARUNAVA SINHA updated NETBEANS-1676:
------------------------------------
Summary: Syntax highlighting issue in switch expression (was: Synatx
highlighting issue in switch expression)
> Syntax highlighting issue in switch expression
> ----------------------------------------------
>
> Key: NETBEANS-1676
> URL: https://issues.apache.org/jira/browse/NETBEANS-1676
> Project: NetBeans
> Issue Type: Bug
> Reporter: ARUNAVA SINHA
> Assignee: ARUNAVA SINHA
> Priority: Major
> Labels: NB-JDK12
>
> enum Days{
> SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY;
> }
> public static void main(String[] args) {
> Days day = Days.SUNDAY;
> int j = switch (day) {
> case *MONDAY*, SUNDAY-> 6;
> default -> 0;
> }
> };
> The enum element 'SUNDAY' should be highlighted.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists