Bug 61800 - [Parser] Lookup failing on the definition of a static field
Summary: [Parser] Lookup failing on the definition of a static field
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-parser (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Andrew Niefer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-11 16:32 EDT by John Camelon CLA
Modified: 2004-08-10 13:22 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Camelon CLA 2004-05-11 16:32:52 EDT
There is a failed junit test case for SelectionSearch that demonstrates the 
following:

class ABCDEF{ public:
  static int x;
};
int ABCDEF::x = 5; // lookup of ABCDEF::x throws an exception from the symbol 
table
Comment 1 Kleo Hapitas CLA 2004-07-07 16:56:24 EDT
PR was not targeted to any particular release. Changing target milestone to 2.1
Comment 2 Andrew Niefer CLA 2004-07-07 18:03:23 EDT
fixed 
Comment 3 John Camelon CLA 2004-07-08 09:36:53 EDT
in HEAD?
Comment 4 Andrew Niefer CLA 2004-07-08 10:21:08 EDT
yes, in HEAD.  I've put this on a list of things I'm doing in head that will in 
the end go to 2.0.1
Comment 5 Andrew Niefer CLA 2004-08-10 13:22:11 EDT
fix is now in 2.0.1