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.
struct AAA { struct Iterator { AAA& operator*(); Iterator& operator++(); bool operator!=(const Iterator &other); }; Iterator begin() const; Iterator end() const; void foo() const { for (const auto &var : *this) { var.foo(); // foo is unresolved } } };
304702:8f8e169a5194
Integrated into 'main-silver', will be available in build *201512030002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/f2f0eea5a023 User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #256739 - IDE cannot find type of (*this) in initializer (transplanted from 8f8e169a519411fa16e3d67527c3c875c3092a8a)
Verified in NetBeans 8.1 with latest internal patches