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.
In the following function, the "data" parameter is marked as Unused, even though it isn't: function foo(data) { var data = data.substring(2); return data; } Product Version: NetBeans IDE Dev (Build 201507150001) Updates: Updates available Java: 1.8.0_51; Java HotSpot(TM) 64-Bit Server VM 25.51-b03 Runtime: Java(TM) SE Runtime Environment 1.8.0_51-b16 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
This seems to be a duplicate of issue #246239. *** This bug has been marked as a duplicate of bug 246239 ***