aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--structs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/structs.py b/structs.py
index d6b0b67..6dea1d5 100644
--- a/structs.py
+++ b/structs.py
@@ -150,6 +150,7 @@ class List(T.List):
def __init__(self, args, data=False):
self.args = args
self.data = data
+ self.type_ = T.List
def __str__(self):
return "(" + " ".join(f"{arg}" for arg in self.args) + ")"