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

Summary: Formatter breaks array.filter(i => i.val == compVal)
Product: javascript Reporter: mikedevcrew
Component: Formatting & IndentationAssignee: Petr Hejl <phejl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 8.1   
Hardware: PC   
OS: Windows 10 x64   
Issue Type: DEFECT Exception Reporter:

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