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.

Bug 112625

Summary: functions not recognized
Product: javascript Reporter: Radim Roska <rroska>
Component: EditorAssignee: issues@ide <issues>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 99630    
Attachments: navigator - function node

Description Radim Roska 2007-08-13 12:15:06 UTC
Product Version: NetBeans IDE Dev (Build 200708130000) 
Java: 1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02 System: 
Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb)

put into file following lines:
----------
var var1 = "asd";

function f(var1){
    var var2 = var1;
}
----------
1. look in navigator...there is "?" instead of function node. 
2. try to use CC and look for function f. Its not there..
Comment 1 Radim Roska 2007-08-13 12:18:39 UTC
Created attachment 46499 [details]
navigator - function node
Comment 2 Jan Jancura 2007-08-14 13:18:57 UTC
fixed in trunk:
IDE:-------------------------------------------------
IDE: [8/14/07 2:18 PM] Committing "JavaScript.nbs" started
Checking in JavaScript.nbs;
/cvs/scripting/javascript/src/org/netbeans/modules/languages/javascript/JavaScript.nbs,v  <--  JavaScript.nbs
new revision: 1.47; previous revision: 1.46
done
IDE: [8/14/07 2:18 PM] Committing "JavaScript.nbs" finished
Comment 3 Jan Jancura 2007-08-14 13:32:19 UTC
*** Issue 99630 has been marked as a duplicate of this issue. ***
Comment 4 Radim Roska 2007-08-16 10:29:02 UTC
VERIFIED