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 262469

Summary: A name of arrow function is not recognized
Product: javascript Reporter: Petr Pisl <ppisl>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Petr Pisl 2016-06-17 13:40:38 UTC
Simple code:

(function () {
    var service = () => {};
    
    test(service);
}());

The usage of service, is marked as global and mark occurrences doesn't work as expected.
Comment 1 Petr Pisl 2016-06-20 12:13:31 UTC
Should be fixed now in trunk. Please check it in the next dev build. Thanks