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.
Summary: | Instance from exported constructor not resolved unless constructor saved in variable | ||
---|---|---|---|
Product: | javascript | Reporter: | Vladimir Riha <vriha> |
Component: | Node.js | Assignee: | Petr Pisl <ppisl> |
Status: | NEW --- | ||
Severity: | normal | CC: | tmysik |
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | sample project |
Created attachment 150357 [details] sample project Please check the attached project and open cc3.js: - at the end of file, type "oo." and invoke cc => ale, ale2, bar() etc. should be offered, but it is not It works if I save reference to the constructor in different variable: var e = modul.constr; var pes = new e(); pes. => cc works fine Thank you Product Version: NetBeans IDE Dev (Build 201411070002) Updates: Updates available Java: 1.7.0_67; Java HotSpot(TM) Client VM 24.65-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_67-b01 System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)