ARUNAVA SINHA created NETBEANS-1676:
---------------------------------------
Summary: Synatx 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
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