Community
Participate
Working Groups
Now that we got rid of SCOPED_REFERENCE as a CompletionKind, SINGLE_NAME_REFERENCE is used in significantly more places. Although I have updated the parser to do the proper thing for scoped references, I am unable to get CompletionFailedTest_ScopedReference_NoPrefix_Bug50152 to pass, as within the Method, we lookup THIS & LOCAL_VARIABLES and not nested classes within namespaces. Likewise, ASTNode.lookup() assumes that the context provided is a class when that is now not true ... if( !thisContainer.isVisible( s, qualification ) ) I had to hack ParserSymbolTable.getVisibility() to not throw an Error() when it tried to check a method's visibility to a namespace (exclusively an IContainerSymbol).
Add dependency upon https://bugs.eclipse.org/bugs/show_bug.cgi?id=51841 as they are related (we need to get more specific contexts in the completion node and we need to have both Lookup() and CompletionEngine asking very precise questions.
Fixed in HEAD.
John/Hoda, can you please verify this bug as fixed and mark it as such?