Bug 257338 - ES6 Imported variables are declared global
ES6 Imported variables are declared global
Status: RESOLVED FIXED
Product: javascript
Classification: Unclassified
Component: Editor
8.2
PC Linux
: P3 with 2 votes (vote)
: 8.2
Assigned To: Petr Hejl
issues@javascript
ecma6
:
Depends on:
Blocks: 242387
  Show dependency treegraph
 
Reported: 2015-12-30 12:01 UTC by jockeeriksson
Modified: 2016-04-14 09:24 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jockeeriksson 2015-12-30 12:01:31 UTC

    
Comment 1 jockeeriksson 2015-12-30 12:03:50 UTC
No imported variable should get warning about a global directive.

ex

import log from "Live/logger/LoggerFactory";

log.error(error); 

Generates a warning.
Comment 2 Petr Hejl 2016-04-14 09:24:43 UTC
Seems to be fixed.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo