From 6ee92c12a58637101e1cd54caea222630a2e9d4b Mon Sep 17 00:00:00 2001 From: mryouse Date: Wed, 6 Jul 2022 01:55:50 +0000 Subject: add a type to types called :type --- neb/__init__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'neb/__init__.py') 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 -- cgit v1.2.3