diff options
Diffstat (limited to 'lux-js')
-rw-r--r-- | lux-js/source/program.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lux-js/source/program.lux b/lux-js/source/program.lux index 22e12f197..2bc4f4a49 100644 --- a/lux-js/source/program.lux +++ b/lux-js/source/program.lux @@ -327,18 +327,18 @@ (#.Some member) (case (ffi.check org/openjdk/nashorn/internal/runtime/Undefined member) (#.Some _) - (recur (inc idx) output) + (recur (++ idx) output) #.None (case (lux_object member) (#try.Success parsed_member) - (recur (inc idx) (array.write! idx (:as java/lang/Object parsed_member) output)) + (recur (++ idx) (array.write! idx (:as java/lang/Object parsed_member) output)) (#try.Failure error) #.None)) #.None - (recur (inc idx) output)) + (recur (++ idx) output)) (#.Some output)))) #.None)) |