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 136140

Summary: resolve operator *
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: Code ModelAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 134091    

Description Alexander Simon 2008-05-30 10:07:30 UTC
Test case:
-------------------------------------
template<typename T> struct List_iterator {
    typedef T* pointer;
    typedef T& reference;
    reference operator*() const { return node; }
    pointer operator->() const { return node; }
private:
    reference node;
};

struct Cust {
    int foo();
};

int main() {
    List_iterator<Cust> i2;
    i2->foo();
    (*i2).foo();
}
-------------------------------------
hyper link on method foo() does not work in context "(*i2).foo();"
Comment 1 Alexander Simon 2008-05-30 10:51:33 UTC
fixed
http://hg.netbeans.org/main/rev/2e1fa0c32d5b
Comment 2 Quality Engineering 2008-06-03 04:19:17 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #234 build
Changeset: http://hg.netbeans.org/main/rev/2e1fa0c32d5b
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed: IZ#136140:resolve operator *
Comment 3 Alexander Simon 2008-06-03 14:56:18 UTC
refactoring:
http://hg.netbeans.org/main/rev/ffff8b24b7f0
Comment 4 Quality Engineering 2008-06-04 04:18:55 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #236 build
Changeset: http://hg.netbeans.org/main/rev/ffff8b24b7f0
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed: IZ#136140:resolve operator * (refactoring)