summaryrefslogtreecommitdiffstats
path: root/lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib.c')
-rw-r--r--lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib.c b/lib.c
index 81f3d06d..b6f22971 100644
--- a/lib.c
+++ b/lib.c
@@ -10081,6 +10081,8 @@ val copy(val seq)
return make_random_state(seq, nil);
if (seq->co.cls == carray_s)
return copy_carray(seq);
+ if (seq->co.cls == tree_s)
+ return copy_search_tree(seq);
if (obj_struct_p(seq))
return copy_struct(seq);
/* fallthrough */