diff options
Diffstat (limited to '')
-rw-r--r-- | lux-r/source/program.lux | 2 | ||||
-rw-r--r-- | lux-ruby/source/program.lux | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lux-r/source/program.lux b/lux-r/source/program.lux index 4ca0480ed..991fd68dd 100644 --- a/lux-r/source/program.lux +++ b/lux-r/source/program.lux @@ -395,7 +395,7 @@ {try.#Failure error} {try.#Success member} - (recur (++ idx) (array.write! idx (:as Any member) output))) + (again (++ idx) (array.write! idx (:as Any member) output))) {try.#Success output})))) (def: (field_class field host_object) 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]) |