From 71f73d8b3ce63f9a3685bc1a1686ef4fab3294a6 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 21 Sep 2025 15:43:59 -0400 Subject: Deprecate sets --- src/compile/conditionals.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compile/conditionals.c') 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))); -- cgit v1.2.3