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 151530 - Variable is resolved as function
Summary: Variable is resolved as function
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: nnnnnk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-27 21:08 UTC by nnnnnk
Modified: 2009-03-18 22:46 UTC (History)
0 users

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 nnnnnk 2008-10-27 21:08:33 UTC
In some cases variable is resolved as function.

Example:
class T {
public:
    int i;
    T(int) {}
};
template <class P> P foo() {
    return 0;
};
T v(foo<int>()); // resolved as function declaration
int main() {
    v.i = 0; // unresolved i
    return 0;
}
Comment 2 Quality Engineering 2009-03-18 22:46:45 UTC
Integrated into 'main-golden', will be available in build *200903181604* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/8d3375a833fc
User: Nick N. Krasilnikov <nnnnnk@netbeans.org>
Log: fixed IZ#151530 : Variable is resolved as function