summaryrefslogtreecommitdiffhomepage
path: root/compiler.c
diff options
context:
space:
mode:
Diffstat (limited to 'compiler.c')
-rw-r--r--compiler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler.c b/compiler.c
index 5c31409..15c8f8e 100644
--- a/compiler.c
+++ b/compiler.c
@@ -1118,7 +1118,7 @@ uc_compiler_compile_arrowfn(uc_compiler *compiler, json_object *args, bool resta
}
}
else {
- uc_compiler_compile_expression(&fncompiler);
+ uc_compiler_parse_precedence(&fncompiler, P_ASSIGN);
uc_compiler_emit_insn(&fncompiler, 0, I_RETURN);
}