aboutsummaryrefslogtreecommitdiff
path: root/src/compile/conditionals.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compile/conditionals.c')
-rw-r--r--src/compile/conditionals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compile/conditionals.c b/src/compile/conditionals.c
index 7fcd6cc8..caebdbde 100644
--- a/src/compile/conditionals.c
+++ b/src/compile/conditionals.c
@@ -18,7 +18,7 @@ Text_t compile_condition(env_t *env, ast_t *ast) {
return Texts("(", compile(env, ast), ").length");
} else if (t->tag == ListType) {
return Texts("(", compile(env, ast), ").length");
- } else if (t->tag == TableType || t->tag == SetType) {
+ } else if (t->tag == TableType) {
return Texts("(", compile(env, ast), ").entries.length");
} else if (t->tag == OptionalType) {
return Texts("!", check_none(t, compile(env, ast)));