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 190782 - enum based variables are not resolved (top issue in driver)
Summary: enum based variables are not resolved (top issue in driver)
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-05 19:12 UTC by Vladimir Voskresensky
Modified: 2010-10-08 03:20 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 2010-10-05 19:12:11 UTC
simplified test case is:
#include <iostream>

enum STATE {
    START,
    MEDIUM,
    LAST
           
};
int main(int argc, char**argv) {

    for (enum STATE i = START; i < LAST; i++) {
        std::cout << i;
    }
    
    return 0;
}
Comment 1 Vladimir Voskresensky 2010-10-06 03:06:11 UTC
fixed
http://hg.netbeans.org/cnd-main?cmd=changeset;node=43918a514f37
Comment 2 Vladimir Voskresensky 2010-10-06 08:11:09 UTC
test
http://hg.netbeans.org/cnd-main/rev/3c02ea7848e3
Comment 3 Quality Engineering 2010-10-07 03:13:57 UTC
Integrated into 'main-golden', will be available in build *201010070000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/43918a514f37
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #190782 -  enum based variables are not resolved (top issue in driver)
Comment 4 Quality Engineering 2010-10-08 03:20:14 UTC
Integrated into 'main-golden', will be available in build *201010080000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/3c02ea7848e3
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: test for #190782 -  enum based variables are not resolved (top issue in driver)