You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Lobzek (Jira)" <ji...@apache.org> on 2020/07/15 10:44:00 UTC

[jira] [Created] (NETBEANS-4584) ES6 paring errors

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