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.
[#200709150000, jdk1.5.0] to reproduce: ------------- 1) have a .js like: var x; var y; 2) rename x to y ERROR: user is not warned that the name y is already used. Eg Java does not allow this.
We will look at it.
Fixed, rev. 22f70095392c.
[Build 200806180005, JDK 1.6.0] Doesn't look like fixed to me. In case of the example in the first post, it works (highlighting name collisions in red), but this doesn't: 1) Have a .js file like: var b=2; var c=4; b=5; c=6; 2) Rename b to c ERROR: There is no warning or red highlight either on the declaration or the usage. Reopening...
This is a 'regression' of the GSF based javascript support written by Tor. The original code where the issue was fixes has been deleted. This is IMHO a low priority issue anyway.