Skip to content
Snippets Groups Projects
Commit 2757642c authored by Ladislav Lhotka's avatar Ladislav Lhotka
Browse files

Fix wrong receiver name.

parent 08231f90
No related branches found
No related tags found
No related merge requests found
......@@ -201,7 +201,7 @@ class Instance:
@property
def is_top(self):
"""Is the receiver the top-level instance?"""
return inst.crumb.parent is None
return self.crumb.parent is None
@property
def top(self) -> "Instance":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment