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 269761 - "Find usages" working incorrectly with an overloaded operator (C++)
Summary: "Find usages" working incorrectly with an overloaded operator (C++)
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 8.2
Hardware: Macintosh (x86) Mac OS X
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-06 17:29 UTC by thermostat
Modified: 2017-04-05 11:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Complete code (797 bytes, application/octet-stream)
2017-02-06 17:29 UTC, thermostat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description thermostat 2017-02-06 17:29:10 UTC
Created attachment 163581 [details]
Complete code

In the attached C++ example code, the expected result of "find usages of X" in main would be the three assignment occurences and the print method (as in the code snippet below).

MyVector X(3);
X(0) = 2.3;
X(1) = 5.7;
X(2) = 10.9;
X.print();

However, find usages only identifies X.print().
Navigate -> Go to declaration/definition in the three assignment lines goes to the () operator definition, not to the declaration of X.