Commit 819d0886 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Fixes: Possible crash while resolving qualified name ids.

There is no need to "expand" again the scope we get from invoking `resolve'.
(cherry picked from commit c72c84d8)
parent d3bc2aab
......@@ -176,7 +176,7 @@ QList<Symbol *> LookupContext::resolve(Name *name, const QList<Scope *> &visible
foreach (Symbol *candidate, candidates) {
if (ScopedSymbol *scoped = candidate->asScopedSymbol()) {
expand(scoped->members(), visibleScopes, &scopes);
Supports Markdown
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