From 5232f0701cd95f260005a65d220a361dd71b6b96 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Wed, 29 Jun 2022 02:28:21 -0400 Subject: Better syntax for calling virtual methods when defining JVM classes. --- lux-python/source/program.lux | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lux-python') 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) -- cgit v1.2.3