Fix AssignmentCollection.{free_symbols,bound_symbols,defined_symbols} for non-Assignments
Compare changes
@@ -3,6 +3,7 @@ from typing import Any, Dict, Iterable, Iterator, List, Optional, Sequence, Set,
@@ -3,6 +3,7 @@ from typing import Any, Dict, Iterable, Iterator, List, Optional, Sequence, Set,
@@ -100,15 +101,29 @@ class AssignmentCollection:
@@ -100,15 +101,29 @@ class AssignmentCollection:
"""All symbols used in the assignment collection, which do not occur as left hand sides in any assignment."""
@@ -124,7 +139,11 @@ class AssignmentCollection:
@@ -124,7 +139,11 @@ class AssignmentCollection: