From 4de5f767e97bde766050802ff77efff709eb6d0e Mon Sep 17 00:00:00 2001 From: Simon Forman Date: Fri, 19 Nov 2021 10:47:13 -0800 Subject: [PATCH] OMG bug! This lingered awhile eh? --- joy/library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/joy/library.py b/joy/library.py index 8bd38f1..2cf2b03 100644 --- a/joy/library.py +++ b/joy/library.py @@ -226,7 +226,7 @@ def BinaryBuiltinWrapper(f): if (not isinstance(a, int) or not isinstance(b, int) or isinstance(a, bool) # Because bools are ints in Python. - or isinstance(a, bool) + or isinstance(b, bool) ): raise NotAnIntError result = f(b, a)