aboutsummaryrefslogtreecommitdiff
path: root/builtin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'builtin.cpp')
-rw-r--r--builtin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin.cpp b/builtin.cpp
index 72efb37..56ed81c 100644
--- a/builtin.cpp
+++ b/builtin.cpp
@@ -1282,7 +1282,7 @@ BUILTIN_PROC_DEF(is_equal) {
return new BoolObj(false);
if (a == empty_list)
continue;
- if (otype & CLS_CONS_OBJ)
+ if (otype & CLS_PAIR_OBJ)
{
*r1 = TO_PAIR(a)->car;
INC1(r1);