aboutsummaryrefslogtreecommitdiff
path: root/src/environment.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/environment.c')
-rw-r--r--src/environment.c9
1 files changed, 0 insertions, 9 deletions
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;