qmegas opened a new issue, #4213:
URL: https://github.com/apache/netbeans/issues/4213
### Apache NetBeans version
Apache NetBeans 13
### What happened
In some cases parser alert about the error in JS code when it's not actually
there.
Code example:
```js
class Test {
state = {
test: null
};
setCategory(url) {
this.state.test = {url};
}
}
```
That code produce an alert on line 7: `The global variable "this" is not
declared`, however that is absolutely correct code.
### 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 bug was reported by me 2 years ago:
https://issues.apache.org/jira/browse/NETBEANS-3948
### 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