aboutsummaryrefslogtreecommitdiff
path: root/neb/__init__.py
diff options
context:
space:
mode:
authormryouse2022-07-06 01:55:50 +0000
committermryouse2022-07-06 01:55:50 +0000
commit6ee92c12a58637101e1cd54caea222630a2e9d4b (patch)
tree137c3589a5b560f015e02562e6dc356fde5fa354 /neb/__init__.py
parent8b2996445fb91125d8c367ddac246ea3d2d05adc (diff)
add a type to types called :type
Diffstat (limited to 'neb/__init__.py')
-rw-r--r--neb/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/neb/__init__.py b/neb/__init__.py
index 7296c58..dd7245a 100644
--- a/neb/__init__.py
+++ b/neb/__init__.py
@@ -174,6 +174,7 @@ class TypeWrap:
self.name = name
self.parent = parent
self.is_func = is_func
+ self.type_ = TypeEnum.TYPE
def validate_type(self, target, env, ns):
# if it's an any type, it's valid