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:40:20 UTC

[GitHub] [netbeans] qmegas opened a new issue, #4213: JS parsing bug: "this" not declared

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: 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 closed issue #4213: JS parsing bug: "this" not declared

Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing closed issue #4213: JS parsing bug: "this" not declared
URL: https://github.com/apache/netbeans/issues/4213


-- 
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] qmegas commented on issue #4213: JS parsing bug: "this" not declared

Posted by "qmegas (via GitHub)" <gi...@apache.org>.
qmegas commented on issue #4213:
URL: https://github.com/apache/netbeans/issues/4213#issuecomment-1501092950

   @matthiasblaesing problem fixed


-- 
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] KacerCZ commented on issue #4213: JS parsing bug: "this" not declared

Posted by GitBox <gi...@apache.org>.
KacerCZ commented on issue #4213:
URL: https://github.com/apache/netbeans/issues/4213#issuecomment-1179595766

   Reproducible also in NetBeans 14.
   Thanks for your report.


-- 
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 #4213: JS parsing bug: "this" not declared

Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing commented on issue #4213:
URL: https://github.com/apache/netbeans/issues/4213#issuecomment-1500981660

   Please have a look at the reference PR. That should fix the problem. A nightly build is available from the CI/CD summary page:
   
   https://github.com/apache/netbeans/actions/runs/4646997912
   
   or directly:
   
   https://github.com/apache/netbeans/suites/12111203659/artifacts/638179968


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