Commit 51645710 authored by Roberto Raggi's avatar Roberto Raggi

Add the class to its enclosing scope.

parent abadf320
......@@ -2186,6 +2186,8 @@ bool Bind::visit(ClassSpecifierAST *ast)
Class *klass = control()->newClass(sourceLocation, className);
Scope *previousScope = switchScope(klass);
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