Lobzek created NETBEANS-4584:
--------------------------------
Summary: ES6 paring errors
Key: NETBEANS-4584
URL: https://issues.apache.org/jira/browse/NETBEANS-4584
Project: NetBeans
Issue Type: Bug
Components: javascript - Editor
Affects Versions: 12.0, 11.0
Reporter: Lobzek
There are 2 small ES6 paring errors. I decided to report them in a single
ticket, but can split if required.
*Probem #1*
Example code:
{code:javascript}
class A {
}
class B extends A {
}
{code}
When extending class there is incorrect warning "_Expected semicolon ; after
}_" on line 4
*Problem #2*
Example code:
{code:javascript}
const a = {
foo: 1,
bar: 2,
};{code}
On line 3 there is incorrect warning "_Unexpected ','_" however the syntax is
correct
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
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