Skip to content
Snippets Groups Projects
Commit 5134206e authored by Roberto Raggi's avatar Roberto Raggi
Browse files

We need a valid name to resolve namespace symbols.

parent 59003042
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment