summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--functions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.c b/functions.c
index 07e017b..9f23a43 100644
--- a/functions.c
+++ b/functions.c
@@ -537,7 +537,7 @@ Array *name(Array *left, Array *right){\
else\
res = duparray(left);\
for(int i = 0; i < left->size; i++)\
- switch(res->type){\
+ switch(left->type){\
default: throwerror(nil, EType); break;\
case AtypeArray:\
freearray(res->arraydata[i]);\