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

Summary: Parameter type is not resolved in contained class
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: Code CompletionAssignee: nnnnnk <nnnnnk>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 134091    

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