Community
Participate
Working Groups
Build Identifier: 20100218-1602 If a javascript file declares a const and an associative array is declared inside a function that declares a local variable, the javascript validator gives a "missing semicolon" warning on the associative array. Reproducible: Always Steps to Reproduce: 1. Create a javascript source file with the following code: const c = 0; function f() { var v; a = { k: 0 }; } 2. The validator now gives a "missing semicolon" warning on the "k: 0" line.
One way to ignore the annoying errors is that : 1.remove javascript -> validator -> errors/warning. 2.remove project -> .project file -> javascript command 3.It is important,too! delete js file and import again.
I am not able to reproduce this error with VJET JS IDE[1] [1] http://eclipse.org/vjet