aboutsummaryrefslogtreecommitdiff
path: root/lux-ruby/source
diff options
context:
space:
mode:
Diffstat (limited to 'lux-ruby/source')
-rw-r--r--lux-ruby/source/program.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/lux-ruby/source/program.lux b/lux-ruby/source/program.lux
index 2b9831d04..5f308c0ca 100644
--- a/lux-ruby/source/program.lux
+++ b/lux-ruby/source/program.lux
@@ -240,7 +240,7 @@
(if (n.< size idx)
(case (org/jruby/RubyArray::get (.int idx) host_object)
{.#None}
- (recur (++ idx) output)
+ (again (++ idx) output)
{.#Some value}
(case (read value)
@@ -248,7 +248,7 @@
{try.#Failure error}
{try.#Success lux_value}
- (recur (++ idx) (array.write! idx lux_value output))))
+ (again (++ idx) (array.write! idx lux_value output))))
{try.#Success output}))))
(exception: (unknown_kind_of_object [object java/lang/Object])