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.
How to reproduce: 1. Create new JavaScript file 2. Paste following code: function a1(){}; var b1 = function(){}; 3. Notice that only a1 function appears in JavaScript Navigator. Product Version = NetBeans IDE 6.9.1 (Build 201007282301) Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.6.0_21 Runtime = Java HotSpot(TM) Client VM 17.0-b17
Please evaluate : if you do not plan to fix it for NB 7.0 ask for waiver ASAP.
Reproducibe even in 7.0 dev. I seriously doubt it ever worked as requested. The navigator does show the b1 as variable which is actually not wrong. In any case I do not see a single argument for this being P2.
AFAIK Navigator does not reflect state of the program after program execution / assignments. Enhancement if not invalid.
(In reply to comment #3) > AFAIK Navigator does not reflect state of the program after program execution > / assignments. > > Enhancement if not invalid. I believe there was at least an attempt to do so. For example the refactoring does some type analysis on the code and AFAIK uses the type from the last assignment.