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.
Using C++11 in 7.3 RC1 this code compiles but the the code completion fails on the variable 'b': struct Foo { typedef int Bar; }; int main(int, char **) { Foo f; decltype(f)::Bar b; //Bar is found, but unable to resolve identifier b. b = 11; //Unable to resolve identifier b. return 0; } Using a class instead of a struct produces the exact same results.
Fixed in http://hg.netbeans.org/cnd-main/rev/e552cd758544
Integrated into 'main-silver', will be available in build *201308012300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/e552cd758544 User: Petr Kudryavtsev <petrk@netbeans.org> Log: Introduced dectype statements. Fixed #225611 - decltype, unable to resolve identifier