aboutsummaryrefslogtreecommitdiff
path: root/src/compile/pointers.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-09-21 15:43:59 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-09-21 15:43:59 -0400
commit71f73d8b3ce63f9a3685bc1a1686ef4fab3294a6 (patch)
tree99fe1309fa4d24609867dcc62859caed909a76d9 /src/compile/pointers.c
parentf5612e38183dc20d18f207f8ab055574a4d93ad0 (diff)
Deprecate sets
Diffstat (limited to 'src/compile/pointers.c')
-rw-r--r--src/compile/pointers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compile/pointers.c b/src/compile/pointers.c
index 31687d78..11348330 100644
--- a/src/compile/pointers.c
+++ b/src/compile/pointers.c
@@ -44,7 +44,7 @@ Text_t compile_to_pointer_depth(env_t *env, ast_t *ast, int64_t target_depth, bo
}
if (needs_incref && t->tag == ListType) val = Texts("LIST_COPY(", val, ")");
- else if (needs_incref && (t->tag == TableType || t->tag == SetType)) val = Texts("TABLE_COPY(", val, ")");
+ else if (needs_incref && t->tag == TableType) val = Texts("TABLE_COPY(", val, ")");
return val;
}