diff options
| author | mryouse | 2022-07-14 01:54:25 +0000 | 
|---|---|---|
| committer | mryouse | 2022-07-14 01:54:25 +0000 | 
| commit | 00c5c7e2c043949ee8b3d6c32b01d338102da51f (patch) | |
| tree | 05ce30fa3c178b23798185a3eee55f91f3b81837 /neb/structs.py | |
| parent | 8484dbac7b5bd85e4a25705a9346647ec4d1ab8b (diff) | |
exprs are of type list
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) + ")" | 
