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.
Created attachment 123238 [details] screenshot Try following: var Player = function(){ this.name = "better player"; this.b = new Bar(); function Bar(){ this.tp =1; }; } var a = new Player(); Now navigator show property "tp" as if it belongs to Player, which is incorrect (see screenshot) Product Version: NetBeans IDE Dev (Build EaselCSS-512-on-20120816) Java: 1.7.0_06; Java HotSpot(TM) Client VM 23.2-b09 System: Linux version 3.2.0-29-generic-pae running on i386; UTF-8; en_US (nb)
This is probably related: - if you invoke completion for "a." then "tp" is listed (wrong) and for "a.b." the "tp" is not listed (wrong)
Still valid.
Fixed in the webmain: http://hg.netbeans.org/web-main/rev/7d46dec29a6a
Integrated into 'main-golden', will be available in build *201212200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/7d46dec29a6a User: Petr Pisl <ppisl@netbeans.org> Log: #217011 - Wrong context of nested function
Thanks, issue with Navigator is fixed, but code completion for Player offers tp property, I created separate issue 224071 for this. Product Version: NetBeans IDE Dev (Build web-main-9571-on-20121219) Java: 1.7.0_10; Java HotSpot(TM) Client VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-b18 System: Linux version 3.2.0-34-generic-pae running on i386; UTF-8; en_US (nb)