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.
Snippet: --------- var foo = bar || function ($row) { return baz($row); }; --------- And "$row" is marked as unused. The problem is that the function is in expression, this works well: --------- var foo = function ($row) { return baz($row); }; --------- Thanks! Product Version: NetBeans IDE 8.1 (Build 201510222201) Java: 1.8.0_66; Java HotSpot(TM) 64-Bit Server VM 25.66-b17 Runtime: Java(TM) SE Runtime Environment 1.8.0_66-b17 System: Linux version 3.13.0-74-generic running on amd64; UTF-8; cs_CZ (nb)
This is already work on ecma6_dev branch. Marking as fixed. Added test for it. http://hg.netbeans.org/web-main/rev/a346c3ef8e57