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 268526 - Formatter breaks array.filter(i => i.val == compVal)
Summary: Formatter breaks array.filter(i => i.val == compVal)
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 8.1
Hardware: PC Windows 10 x64
: P2 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-14 09:49 UTC by mikedevcrew
Modified: 2016-10-14 10:21 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 mikedevcrew 2016-10-14 09:49:47 UTC
array.filter(i => i.val == compVal)

is formatted to

array.filter(i = > i.val == compVal)

This breaks javascripts.
Comment 1 mikedevcrew 2016-10-14 10:21:25 UTC
I see this is fixed in 8.2