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.
C++11 -------------------- struct S { enum { A = 1, B = 2 }; struct T { enum { B = 102 }; enum class E1; enum E2 : int; }; }; enum class S::T::E1 { A1 = A, B1 = B, C1 }; -------------------------------- A and B are marked as errors
fixed: http://hg.netbeans.org/cnd-main/rev/414ac5d9d03a test: http://hg.netbeans.org/cnd-main/rev/358dc91384f5
Integrated into 'main-golden', will be available in build *201205250002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/414ac5d9d03a User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixed #212843 - external enum declaration can not resolve initializer constants - use scope class of external enum