Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!

Bug 257338

Summary: ES6 Imported variables are declared global
Product: javascript Reporter: jockeeriksson <jockeeriksson>
Component: EditorAssignee: Petr Hejl <phejl>
Status: RESOLVED FIXED QA Contact: issues <issues.netbeans.org>
Priority: P3 CC: dusty
Version: 8.2   
Target Milestone: 8.2   
Hardware: PC   
OS: Linux   
Whiteboard: ecma6
Issue Type: DEFECT Exception Report:
Bug Depends on:    
Bug Blocks: 242387    

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