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 - A name of arrow function is not recognized
Summary: A name of arrow function is not recognized
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-17 13:40 UTC by Petr Pisl
Modified: 2016-06-20 12:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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