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.
Steps: - Create Quote sample - Open quote.cc file - Select "fetchCustomersList", "outCustomersList" or "getDiscountFor" functions in "main" function (104, 110, 113 lines) - Press Alt-G (hyperlink) ==> 'Cannot open element "fetchCustomersList"' message appears Or other sample: ------------------------------------------- #include <iostream> using namespace std; namespace { void f() { cout << "Hello!!!" << endl; } } int main() { f(); return 0; } ------------------------------------------- Hyperlink on "f" function doesn't work
fixed + tests are added - correctly handle visibility of unnamed namespaces the necessary part of modelimpl was fixed by adding CsmUsingResolver service cvs log: Checking in cplusplus/ext/CsmCompletionQuery.java; /shared/data/ccvs/repository/cnd/completion/src/org/netbeans/modules/cnd/completion/cplusplus/ext/CsmCompletionQuery.java,v <-- CsmCompletionQuery.java new revision: 1.2.2.15.2.23.4.13; previous revision: 1.2.2.15.2.23.4.12 done Checking in csm/CompletionResolverImpl.java; /shared/data/ccvs/repository/cnd/completion/src/org/netbeans/modules/cnd/completion/csm/CompletionResolverImpl.java,v <-- CompletionResolverImpl.java new revision: 1.2.2.12.4.12.4.3; previous revision: 1.2.2.12.4.12.4.2 done
Closed. Verified in build 20070622