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 269259

Summary: ES6 "export default" gives wrong warning
Product: javascript Reporter: dusty <dusty>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description dusty 2016-12-07 10:33:14 UTC
The following JS source:

import Ember from 'ember'

export default Ember.Controller.extend({

  actions: {
    search(text) { }
  }
})

Gives a warning on the "export" line with the text "The global variable *default* is not declared", and the corresponding underlined text (meaning that is wrong) is only on "Ember.Con".
Comment 1 dusty 2017-03-28 08:03:30 UTC
I've checked current trunk development snapshot and the wrong behavior is still there.