diff options
author | Eduardo Julian | 2021-11-08 02:02:27 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-11-08 02:02:27 -0400 |
commit | df6cf0d3c980e3d7240eec6cb38d86af61037725 (patch) | |
tree | 6654307936eeeb0947bb7e8db8e9e94430c8c2dd /lux-jvm/source | |
parent | 305a3b5bca562601ee37b4cac69dd02f245830db (diff) |
Sharing the same Function class between bootsrapper and JVM compiler.
Diffstat (limited to '')
-rw-r--r-- | lux-jvm/source/luxc/lang/translation/jvm.lux | 3 | ||||
-rw-r--r-- | lux-jvm/source/luxc/lang/translation/jvm/runtime.lux | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/lux-jvm/source/luxc/lang/translation/jvm.lux b/lux-jvm/source/luxc/lang/translation/jvm.lux index 7642a6952..0d4f493bb 100644 --- a/lux-jvm/source/luxc/lang/translation/jvm.lux +++ b/lux-jvm/source/luxc/lang/translation/jvm.lux @@ -200,4 +200,5 @@ (type.class (..class_name [0 0]) (list))) (def: .public $Function - (type.class (..class_name [0 1]) (list))) + (type.class "library.lux.Function" ... (..class_name [0 1]) + (list))) diff --git a/lux-jvm/source/luxc/lang/translation/jvm/runtime.lux b/lux-jvm/source/luxc/lang/translation/jvm/runtime.lux index 6058ba138..dc2cb5053 100644 --- a/lux-jvm/source/luxc/lang/translation/jvm/runtime.lux +++ b/lux-jvm/source/luxc/lang/translation/jvm/runtime.lux @@ -408,11 +408,13 @@ (Operation [Registry Output]) (do phase.monad [runtime_payload ..translate_runtime - function_payload ..translate_function] + ... function_payload ..translate_function + ] (in [(|> artifact.empty artifact.resource product.right artifact.resource product.right) (sequence.sequence runtime_payload - function_payload)]))) + ... function_payload + )]))) |