aboutsummaryrefslogtreecommitdiff
path: root/lux-python
diff options
context:
space:
mode:
Diffstat (limited to 'lux-python')
-rw-r--r--lux-python/source/program.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/lux-python/source/program.lux b/lux-python/source/program.lux
index 3b01242ef..029d9d4f0 100644
--- a/lux-python/source/program.lux
+++ b/lux-python/source/program.lux
@@ -319,7 +319,7 @@
(as (Array Any))
(array.item (|> index' ffi.int_to_long (as Nat))))
{.#None}
- (ffi.super index')
+ (ffi.super [index'] self)
{.#Some it}
(<| (case (ffi.as [java/lang/Object] (as java/lang/Object it))
@@ -332,7 +332,7 @@
(pseudo_function to_host it)
{.#None})
- (ffi.super index'))))
+ (ffi.super [index'] self))))
)))
(def (to_host it)