From 60daee098f92a44c3b404a9f5801f2e8126ad650 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Tue, 5 Apr 2022 18:32:42 -0400 Subject: No longer depending on the ASM library for JVM bytecode generation. --- lux-python/source/program.lux | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lux-python/source') diff --git a/lux-python/source/program.lux b/lux-python/source/program.lux index 25a2131c5..d12ea355c 100644 --- a/lux-python/source/program.lux +++ b/lux-python/source/program.lux @@ -157,7 +157,7 @@ {try.#Success value} (case (read value) {try.#Success lux_value} - (again (++ idx) (array.write! idx lux_value output)) + (again (++ idx) (array.has! idx lux_value output)) failure failure) @@ -314,7 +314,7 @@ org/python/core/PyObject (case (|> it (as (Array Any)) - (array.read! (|> index' ffi.int_to_long (as Nat)))) + (array.item (|> index' ffi.int_to_long (as Nat)))) {.#None} (::super! [index']) -- cgit v1.2.3