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 243087

Summary: static variables are unresolved when accessed with scope ("::")
Product: cnd Reporter: Vladimir Voskresensky <vv159170>
Component: Code ModelAssignee: petrk
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Voskresensky 2014-03-20 12:46:31 UTC
static const int ValueS = 10;

bool mainaaa() {
    return ::ValueS;  // unresolved ValueS
}

struct AAAAA {
    int Val;

    AAAAA() {
        Val = ::ValueS; // unresolved ValueS
    }

};
Comment 1 petrk 2014-04-14 12:20:25 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/b40b404decaa
Comment 2 Quality Engineering 2014-04-18 02:41:28 UTC
Integrated into 'main-silver', will be available in build *201404180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b40b404decaa
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #243087 - static variables are unresolved when accessed with scope ("::")
Comment 3 Quality Engineering 2014-04-24 02:15:07 UTC
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/a8bef0a83614
User: Ilia Gromov <ilia@netbeans.org>
Log: Fixed #243087 - static variables are unresolved when accessed with scope ("::") [ Merge of 282680:b40b404decaa from cnd-main ]