diff options
author | Eduardo Julian | 2023-01-16 03:14:45 -0400 |
---|---|---|
committer | Eduardo Julian | 2023-01-16 03:14:45 -0400 |
commit | a7f2679f1372f222c1610ed4d1226b1b893fcc1a (patch) | |
tree | 5743222c78bcab68b70493d54555d4b14510de09 /lux-jvm/source | |
parent | 33188f943329296ff4c19ad3fcf717194e3b237e (diff) |
Can now compile the JVM back-end using itself.
Diffstat (limited to 'lux-jvm/source')
-rw-r--r-- | lux-jvm/source/program.lux | 6 |
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) |