Community
Participate
Working Groups
I20060131-1200 In the code below, the identifier xxx is not defined. Still, the first call 'called(xxx)' gets a method binding for the matching method, and codeSelect (F3) works to jump to the declaration. The same unfortunately does not work from inside an inner class. It would be convenient if we could get a guessed binding there too, so that the user can still jump to the declaration even with incomplete code. void user() { called(xxx); new Runnable(){ public void run() { called(xxx); // 'called' has no binding, codeSelect doesn't work } }; } void called(String arg) { }
David - pls investigate, and show it to me.
Fixed and test added ResolveTests#testMethodWithIncorrectParameter2() Scope.resolveType(BlockScope) didn't find methods in enclosing type when arguments can't be resolved.
Verified for 3.2 M5 using build I20060215-0010.