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:05:00 UTC
[jira] [Updated] (NETBEANS-3948) Javascript parsing error for
Object.assign function
[ https://issues.apache.org/jira/browse/NETBEANS-3948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lobzek updated NETBEANS-3948:
-----------------------------
Affects Version/s: 11.0
12.0
> Javascript parsing error for Object.assign function
> ---------------------------------------------------
>
> Key: NETBEANS-3948
> URL: https://issues.apache.org/jira/browse/NETBEANS-3948
> Project: NetBeans
> Issue Type: Bug
> Components: javascript - Editor
> Affects Versions: 11.0, 12.0
> Reporter: Lobzek
> Priority: Major
>
> Example code:
> {code:javascript}
> class Test {
> test(config) {
> this.conig = {};
> Object.assign(this.config, config);
> }
> }
> {code}
> IDE marks `this` in line 4 and shows warning "The global variable "this" not declared", at the same time it shows no warning in line 3.
> Expected behavior:
> No warning should be shown, that is completely correct code.
--
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