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.
Error reproduced on following system: Product Version: NetBeans IDE 6.5 (Build 200811100001) Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22 System: Windows XP version 5.1 running on x86; Cp1252; sv_SE (nb) Userdir: C:\Documents and Settings\stpe\.netbeans\6.5 When writing JavaScript code the warning "missing ) after argument list" is displayed incorrectly. By triggering a re-evaluation of the file (by inserting a space somewhere) it goes away. Steps to reproduce: Open an empty file named test.js (for example). Write the following code: function foo() { new Hello(bar, baz); } All should be fine. Now remove the space, or insert an additional space, between to two variables. Any change at that position seem to trigger the error: function foo() { new Hello(bar,baz); } Note "missing ) after argument list" warning. The warning will go away once the file is "re-evaluated" (i.e. simply enter any character (like a space) anywhere in the file. Doing exactly the same but outside a function will not trigger the error. Please see screenshot linked to in the URL field for visual explanation.
I'm not able to reproduce this issue in 6.7 M2 (Build 200902231810).
Already fixed in trunk builds.