You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/06/09 08:48:39 UTC
[GitHub] [netbeans] qmegas opened a new issue, #4214: ES6 paring errors
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: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] matthiasblaesing commented on issue #4214: ES6 paring errors
Posted by GitBox <gi...@apache.org>.
matthiasblaesing commented on issue #4214:
URL: https://github.com/apache/netbeans/issues/4214#issuecomment-1158056115
To be clear: These are not parsing errors, these are errors in the hints module. The parse happily returns the AST for these constructs, it is just the analysis, that fails to properly handle these cases.
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] matthiasblaesing closed issue #4214: Wrong semicolon hints for JS files
Posted by GitBox <gi...@apache.org>.
matthiasblaesing closed issue #4214: Wrong semicolon hints for JS files
URL: https://github.com/apache/netbeans/issues/4214
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] matthiasblaesing commented on issue #4214: Wrong semicolon hints for JS files
Posted by GitBox <gi...@apache.org>.
matthiasblaesing commented on issue #4214:
URL: https://github.com/apache/netbeans/issues/4214#issuecomment-1158082464
Ok - here is only one bug. Problem 2 is just a misconfiguration - just deactivate the hint:
![image](https://user-images.githubusercontent.com/2179736/174154603-34016532-a123-4d7f-9627-1d08a3740384.png)
Problem 1 should be solved in the referenced PR #4232 and there is also a test build linked. Please test it.
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists