Commit 5134206e authored by Roberto Raggi's avatar Roberto Raggi
Browse files

We need a valid name to resolve namespace symbols.

parent 59003042
......@@ -299,7 +299,7 @@ protected:
virtual bool visit(UsingDirectiveAST *ast)
{
if (ast->symbol && _globalNamespaceBinding) {
if (ast->symbol && ast->symbol->name() && _globalNamespaceBinding) {
const Location loc = Location(ast->symbol);
NamespaceBinding *binding = _globalNamespaceBinding.data();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment