aboutsummaryrefslogtreecommitdiff
path: root/lux-scheme
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lux-scheme/source/program.lux2
1 files changed, 1 insertions, 1 deletions
diff --git a/lux-scheme/source/program.lux b/lux-scheme/source/program.lux
index f16b8cdcc..16d1ebcaa 100644
--- a/lux-scheme/source/program.lux
+++ b/lux-scheme/source/program.lux
@@ -289,7 +289,7 @@
(#try.Failure error)
(#try.Success lux_value)
- (recur (inc idx) (array.write! idx (: Any lux_value) output)))
+ (recur (++ idx) (array.write! idx (: Any lux_value) output)))
(#try.Success output)))))
(def: (read host_object)