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 159248

Summary: Unresolved ids in case of operator -> usage
Product: cnd Reporter: nnnnnk <nnnnnk>
Component: Code ModelAssignee: issues@cnd <issues>
Status: RESOLVED WORKSFORME    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: Sun   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description nnnnnk 2009-02-26 18:53:41 UTC
Example:
struct B {
    int i;
};
struct A {
    int i;
    A operator++() {
        i++;
        return *this;
    }
    B* operator->() {
        i++;
        return 0;
    }
};
int main() {
    A a;
    ++a->i; // ok
    ++a -> i; // unresolved
    return 0;
}
Comment 1 nnnnnk 2009-03-03 12:23:40 UTC
Less than 20 unresolved ids on Boost 
Comment 2 nnnnnk 2010-04-22 17:30:34 UTC
Was fixed somewhere in time.