aboutsummaryrefslogtreecommitdiff
path: root/lux-jvm/source
diff options
context:
space:
mode:
Diffstat (limited to 'lux-jvm/source')
-rw-r--r--lux-jvm/source/program.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/lux-jvm/source/program.lux b/lux-jvm/source/program.lux
index 351c132ff..37992bb61 100644
--- a/lux-jvm/source/program.lux
+++ b/lux-jvm/source/program.lux
@@ -68,7 +68,7 @@
(import (java/lang/Class c)
"[1]::[0]"
- (getMethod [java/lang/String [(java/lang/Class java/lang/Object)]] "try" java/lang/reflect/Method))
+ (getMethod [java/lang/String [(java/lang/Class [? < java/lang/Object])]] "try" java/lang/reflect/Method))
(import java/lang/Object
"[1]::[0]"
@@ -98,7 +98,7 @@
[apply_method (|> macro
(as java/lang/Object)
(java/lang/Object::getClass)
- (java/lang/Class::getMethod "apply" _apply2_args))]
+ (java/lang/Class::getMethod (ffi.as_string "apply") _apply2_args))]
(as (Try (Try [Lux (List Code)]))
(java/lang/reflect/Method::invoke
(as java/lang/Object macro)
@@ -146,7 +146,7 @@
[method (|> handler
(as java/lang/Object)
(java/lang/Object::getClass)
- (java/lang/Class::getMethod "apply" _apply4_args))]
+ (java/lang/Class::getMethod (ffi.as_string "apply") _apply4_args))]
(java/lang/reflect/Method::invoke
(as java/lang/Object handler)
(|> (ffi.array java/lang/Object 4)