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/environment.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/environment.c') diff --git a/src/environment.c b/src/environment.c index 045cf6d7..603a04d9 100644 --- a/src/environment.c +++ b/src/environment.c @@ -610,15 +610,6 @@ env_t *for_scope(env_t *env, ast_t *ast) { } return scope; } - case SetType: { - if (for_->vars) { - if (for_->vars->next) code_err(for_->vars->next->ast, "This is too many variables for this loop"); - type_t *item_type = Match(iter_t, SetType)->item_type; - const char *name = Match(for_->vars->ast, Var)->name; - set_binding(scope, name, item_type, Texts("_$", name)); - } - return scope; - } case TableType: { const char *vars[2] = {}; int64_t num_vars = 0; -- cgit v1.2.3