Do not expand the list of candidates when resolving fully qualified ids

Crashes, Roberto will fix properly later.
This commit is contained in:
Thorbjørn Lindeijer
2009-03-26 11:15:20 +01:00
parent 272830f315
commit 84ba24ac71

View File

@@ -176,7 +176,7 @@ QList<Symbol *> LookupContext::resolve(Name *name, const QList<Scope *> &visible
scopes.clear();
foreach (Symbol *candidate, candidates) {
if (ScopedSymbol *scoped = candidate->asScopedSymbol()) {
expand(scoped->members(), visibleScopes, &scopes);
scopes.append(scoped->members());
}
}
}