aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compile.c b/src/compile.c
index e09474a2..ebd7b6ba 100644
--- a/src/compile.c
+++ b/src/compile.c
@@ -1683,7 +1683,7 @@ static CORD _compile_statement(env_t *env, ast_t *ast)
stop);
}
- type_t *iter_t = value_type(get_type(env, for_->iter));
+ type_t *iter_t = get_type(env, for_->iter);
type_t *iter_value_t = value_type(iter_t);
switch (iter_value_t->tag) {