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.
Have a simple code: var MyLib = new function MyLib() { var functions = { fn1: function MyLib_fn1(data, id) { var xxx = data[id]; this.xxx = xxx; // <- here is the second xxx marked as global } }; }; The second xxx indent is marked as global variable, but is declared the line above.
Caused by the line this.xxx = xxx. If the filed name would be different, then it works correctly -> problem in the same name of field and variable.