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

Ensure we had a valid class symbol.

parent a2cd5db6
Branches
Tags
No related merge requests found
...@@ -415,8 +415,8 @@ void LookupContext::expandClass(Scope *scope, ...@@ -415,8 +415,8 @@ void LookupContext::expandClass(Scope *scope,
} }
for (int j = 0; j < baseClassCandidates.size(); ++j) { for (int j = 0; j < baseClassCandidates.size(); ++j) {
Class *baseClassSymbol = baseClassCandidates.at(j)->asClass(); if (Class *baseClassSymbol = baseClassCandidates.at(j)->asClass())
expand(baseClassSymbol->members(), visibleScopes, expandedScopes); expand(baseClassSymbol->members(), visibleScopes, expandedScopes);
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment