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 136165 - Parameter type is not resolved in contained class
Summary: Parameter type is not resolved in contained class
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: nnnnnk
URL:
Keywords:
Depends on:
Blocks: 134091
  Show dependency tree
 
Reported: 2008-05-30 14:03 UTC by Alexander Simon
Modified: 2008-08-15 19:15 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 14:03:21 UTC
Test case is litsql project file exampledatabase.cpp
-----------------------
const std::string PersonPersonRelationMother::table__("Person_Person_Mother");
const litesql::FieldType PersonPersonRelationMother::Person1("Person1","INTEGER",table__);
const litesql::FieldType PersonPersonRelationMother::Person2("Person2","INTEGER",PersonPersonRelationMother::table__);
-----------------------
Expected: hyper link on variable table__ should work in the both usages.
Actual: hyper link on table__ does not work in context ",table__);"
Comment 1 Vladimir Voskresensky 2008-07-10 09:27:02 UTC
simple testcase is:
class NewClass {
public:
    static int AAA;
    static int BBB;
private:

};

int NewClass::AAA = 10;
int NewClass::BBB(AAA);

====
when static variable is initialized, then static class elements could be used without prefix