[ 
https://issues.apache.org/jira/browse/NETBEANS-4677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17297224#comment-17297224
 ] 

Christian Lenz commented on NETBEANS-4677:
------------------------------------------

It is just about the missing update of the JavaScript lexer/parser. As you can 
see it was just updated to ES 7 (experimental). So I guess `?.` will aoso throw 
an error.

> Nullish coalescing operator (??) in JavaScript reported as an error in 
> NetBeans.
> --------------------------------------------------------------------------------
>
>                 Key: NETBEANS-4677
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4677
>             Project: NetBeans
>          Issue Type: Bug
>          Components: javascript - Editor
>    Affects Versions: 12.0.1
>            Reporter: Nghia Nguyen
>            Priority: Minor
>              Labels: bug, ide, syntax
>         Attachments: image-2020-08-04-02-46-28-677.png
>
>
> The following code is showing as an error in the IDE when it has a valid 
> syntax in JavaScript:
>  
> {{let myVariable = null ?? 'hello world';}}
>  
> !image-2020-08-04-02-46-28-677.png!
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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