From c44f647461cde3be5ee431ad32bbd3f238266db6 Mon Sep 17 00:00:00 2001 From: mryouse Date: Mon, 11 Jul 2022 02:10:37 +0000 Subject: bugfix: Type and TypeWrap don't have the same name --- neb/std/boolean.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'neb/std/boolean.py') diff --git a/neb/std/boolean.py b/neb/std/boolean.py index e480656..1c8b8ae 100644 --- a/neb/std/boolean.py +++ b/neb/std/boolean.py @@ -7,7 +7,7 @@ def interpretEq(symbol, args, env, ns): # TODO this is a bit hacky if (isinstance(args[0], Type) or isinstance(args[0], TypeWrap)) and \ (isinstance(args[1], Type) or isinstance(args[1], TypeWrap)): - if args[0].name == args[1].name: + if f"{args[0]}" == f"{args[1]}": return Bool(True) else: return Bool(False) -- cgit v1.2.3