diff options
author | Eduardo Julian | 2022-06-26 00:50:32 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-06-26 00:50:32 -0400 |
commit | cfdc546e6834ceeb78cb692d17fd5c60695be982 (patch) | |
tree | 3a76dbbcedec800bba566cc573c8547309d5e5e4 /lux-python/source | |
parent | fb46beb8bd784ba92949bf2c535dc13c2f003ef0 (diff) |
(Even) better syntax for invoking super methods inside overriden methods.
Diffstat (limited to 'lux-python/source')
-rw-r--r-- | lux-python/source/program.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lux-python/source/program.lux b/lux-python/source/program.lux index 9b47b79f9..9da4f8e57 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} - (pyget "super" [index']) + (ffi.super index') {.#Some it} (<| (case (ffi.as [java/lang/Object] (as java/lang/Object it)) @@ -330,9 +330,9 @@ (case (ffi.as library/lux/Function (as java/lang/Object it)) {.#Some it} (pseudo_function to_host it) - + {.#None}) - (pyget "super" [index'])))) + (ffi.super index')))) ))) (def (to_host it) |