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 2018/11/14 06:44:00 UTC
[jira] [Updated] (NETBEANS-1676) Syntax highlighting issue in
switch expression
[ 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: 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