Commit a5dd0809 authored by gsamain's avatar gsamain

Make a specialized scope correctly set the parent type

parent 811e8ef6
......@@ -2523,6 +2523,7 @@ class CppClassScope(Scope):
def specialize(self, values, type_entry):
scope = CppClassScope(self.name, self.outer_scope)
scope.type = type_entry
type_entry.set_scope(scope)
for entry in self.entries.values():
if entry.is_type:
scope.declare_type(entry.name,
......
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