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 248159 - Referenced export caused function to be resolved as property
Summary: Referenced export caused function to be resolved as property
Status: RESOLVED DUPLICATE of bug 246729
Alias: None
Product: javascript
Classification: Unclassified
Component: Node.js (show other bugs)
Version: 8.1
Hardware: PC Linux
: P4 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-23 21:01 UTC by Vladimir Riha
Modified: 2015-05-05 15:54 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2014-10-23 21:01:13 UTC
Please try:

var qs = require('querystring');
qs.

=> cc offers "parse" from querystring.js but it has blue icon and it is completed without braces. The problem seems to be in querystring declaration:

var QueryString = exports;
QueryString.parse = function(){}


I think this is rather minor pattern

Thank you


Product Version: NetBeans IDE Dev (Build web-main-1441-on-20141022)
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)
Comment 1 Roman Svitanic 2015-05-05 15:54:00 UTC

*** This bug has been marked as a duplicate of bug 246729 ***