diff options
author | Eduardo Julian | 2022-04-05 18:32:42 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-04-05 18:32:42 -0400 |
commit | 60daee098f92a44c3b404a9f5801f2e8126ad650 (patch) | |
tree | 7b58d0f6f937b8be5dcb46eaf0411f7961907c8a /lux-python/source | |
parent | a2d994a3f7a39964452df7523f69e16b10b266f9 (diff) |
No longer depending on the ASM library for JVM bytecode generation.
Diffstat (limited to 'lux-python/source')
-rw-r--r-- | lux-python/source/program.lux | 4 |
1 files changed, 2 insertions, 2 deletions
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']) |