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 - resolve operator *
Summary: resolve operator *
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks: 134091
  Show dependency tree
 
Reported: 2008-05-30 10:07 UTC by Alexander Simon
Modified: 2008-06-04 04:18 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 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)