Skip to content
Snippets Groups Projects
Commit 7163fca0 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Add missing `property` to `AssignmentCollection.free_fields`

parent 40d720a9
No related branches found
No related tags found
1 merge request!69Small fixes
...@@ -111,6 +111,7 @@ class AssignmentCollection: ...@@ -111,6 +111,7 @@ class AssignmentCollection:
"Not in SSA form - same symbol assigned multiple times" "Not in SSA form - same symbol assigned multiple times"
return bound_symbols_set return bound_symbols_set
@property
def free_fields(self): def free_fields(self):
"""All fields accessed in the assignment collection, which do not occur as left hand sides in any assignment.""" """All fields accessed in the assignment collection, which do not occur as left hand sides in any assignment."""
return {s.field for s in self.free_symbols if hasattr(s, 'field')} return {s.field for s in self.free_symbols if hasattr(s, 'field')}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment