Commit 608c29a9 authored by Xavier Thompson's avatar Xavier Thompson

Fix qualified cypclass scope adaptation

parent 41c102b0
......@@ -3315,7 +3315,9 @@ class QualifiedCypclassScope(Scope):
alternatives = []
for e in base_entry.all_alternatives():
entry = self.adapt(e)
if entry is None:
if entry is e:
entry = copy.copy(e)
elif entry is None:
continue
entry.overloaded_alternatives = alternatives
alternatives.append(entry)
......
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