qmegas opened a new issue, #4214:
URL: https://github.com/apache/netbeans/issues/4214

   ### Apache NetBeans version
   
   Apache NetBeans 13
   
   ### What happened
   
   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:
   
   ```js
   class A {
   }
   class B extends A {
   }
   ```
   
   When extending class there is incorrect warning "_Expected semicolon ; after 
}_" on line 4
   
    
   **Problem 2**
   Example code:
   
   ```js
   const a = {
        foo: 1,
        bar: 2,
   };
   ```
   On line 3 there is incorrect warning "_Unexpected ','_" however the syntax 
is correct.
   
   ### How to reproduce
   
   _No response_
   
   ### Did this work correctly in an earlier version?
   
   No
   
   ### Operating System
   
   Windows 10
   
   ### JDK
   
   16.0.1
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   That issue was reported by me 2 years ago 
https://issues.apache.org/jira/browse/NETBEANS-4584
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to