This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 257338

Summary: ES6 Imported variables are declared global
Product: javascript Reporter: jockeeriksson <jockeeriksson>
Component: EditorAssignee: Petr Hejl <phejl>
Status: RESOLVED FIXED    
Severity: normal CC: dusty
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
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.