Commit 03fe61e3 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Improved lookup of class bindings.

Unmark the visited nodes when searching bindings in class or namespace scopes.
parent 2c17c756
......@@ -676,6 +676,8 @@ ClassBinding *Binder::findClassBinding(Name *name)
if (classBinding) {
if (ClassBinding *k = classBinding->findClassBinding(name, &processed))
return k;
if (namespaceBinding)
......@@ -718,8 +720,6 @@ bool Binder::visit(UsingNamespaceDirective *u)
bool Binder::visit(Class *classSymbol)
Overview oo;
ClassBinding *binding = findOrCreateClassBinding(classSymbol);
ClassBinding *previousClassBinding = switchClassBinding(binding);
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