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.
NetBeans 7.4 trigger error and warnings on JavaScript (.js) file that contain unassigned anonymous objects. See the code bellow: -------------------------------------------------------------- //bellow code trigger warning { hello:function(msg){ } } //but the following code does not { flag: true; } ---------------------------------------------------------- Product Version = NetBeans IDE 7.4 Beta (Build 201307092200) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_21 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.21-b01
Created attachment 139970 [details] screnshot with warning
Running this script in console (Rhino) did not generate any issue.
*** This bug has been marked as a duplicate of bug 226037 ***