diff options
Diffstat (limited to 'neb/structs.py')
| -rw-r--r-- | neb/structs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/neb/structs.py b/neb/structs.py index 45e69a7..db74106 100644 --- a/neb/structs.py +++ b/neb/structs.py @@ -119,14 +119,14 @@ class Symbol: def __init__(self, name, line): self.name = name self.line = line - self.type_ = TypeEnum.ANY # TODO no it's not + self.type_ = ALL_TYPES[":any"] # TODO no it's not def __str__(self): return f"{self.name}" class Expr: def __init__(self, args): self.args = args - self.type_ = TypeEnum.ANY # TODO no it's not + self.type_ = ALL_TYPES[":[]"] # TODO no it's not def __str__(self): return "(" + " ".join(f"{arg}" for arg in self.args) + ")" |
