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 84200 - enumerated type defined within class
Summary: enumerated type defined within class
Status: CLOSED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-05 10:57 UTC by soldatov
Modified: 2007-12-21 14:06 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 soldatov 2006-09-05 10:57:46 UTC
Open this code:
----------------------------------
struct X
{
   enum E { z=16};
   static void f1(void) ; 
};


void X::f1(void)
{
   X ox;

}

int main()
{
   X::f1();

   return(0);
}

----------------------------------
Code completion listbox in 'main' function contain 'E' and 'z' items. But it is
wrong.
Comment 1 Alexander Pepin 2007-12-21 14:05:16 UTC
Is not reproducible any more.