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 - static variables are unresolved when accessed with scope ("::")
Summary: static variables are unresolved when accessed with scope ("::")
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0
Hardware: PC Solaris
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-20 12:46 UTC by Vladimir Voskresensky
Modified: 2014-04-24 02: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 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 ]