diff options
author | Eduardo Julian | 2019-03-03 14:32:34 -0400 |
---|---|---|
committer | Eduardo Julian | 2019-03-03 14:32:34 -0400 |
commit | 412cbffb0e8d127b4f22733b9151c9e738fe7809 (patch) | |
tree | ca80d2caea8166c669ecb2c41e0845eed5dfb0f6 /new-luxc/source/luxc/lang | |
parent | f4bb7ff1455659a766a074506b54129e0037db64 (diff) |
Some refactoring around statements.
Diffstat (limited to 'new-luxc/source/luxc/lang')
3 files changed, 4 insertions, 4 deletions
diff --git a/new-luxc/source/luxc/lang/translation/jvm.lux b/new-luxc/source/luxc/lang/translation/jvm.lux index 01bc2b36f..d1d1a9f4c 100644 --- a/new-luxc/source/luxc/lang/translation/jvm.lux +++ b/new-luxc/source/luxc/lang/translation/jvm.lux @@ -135,7 +135,6 @@ (def: #export runtime-class "LuxRuntime") (def: #export function-class "LuxFunction") (def: #export runnable-class "LuxRunnable") -(def: #export unit "") (def: #export $Variant jvm.Type (type.array 1 ..$Object)) (def: #export $Tuple jvm.Type (type.array 1 ..$Object)) diff --git a/new-luxc/source/luxc/lang/translation/jvm/procedure/common.jvm.lux b/new-luxc/source/luxc/lang/translation/jvm/procedure/common.jvm.lux index f63c82108..55cf8a644 100644 --- a/new-luxc/source/luxc/lang/translation/jvm/procedure/common.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/jvm/procedure/common.jvm.lux @@ -15,7 +15,7 @@ ["s" syntax (#+ syntax:)]] [tool [compiler - [synthesis (#+ Synthesis)] + ["." synthesis (#+ Synthesis)] ["." phase ["." extension ["." bundle]]]]] @@ -99,7 +99,7 @@ (_.label @end) ))) -(def: unitI Inst (_.string ///.unit)) +(def: unitI Inst (_.string synthesis.unit)) ## Extensions ### Lux diff --git a/new-luxc/source/luxc/lang/translation/jvm/runtime.jvm.lux b/new-luxc/source/luxc/lang/translation/jvm/runtime.jvm.lux index 0dbef1563..ae984baa9 100644 --- a/new-luxc/source/luxc/lang/translation/jvm/runtime.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/jvm/runtime.jvm.lux @@ -11,6 +11,7 @@ [tool [compiler [analysis (#+ Arity)] + ["." synthesis] ["." phase ["." translation]]]]] [luxc @@ -72,7 +73,7 @@ Inst (|>> (_.int +0) _.NULL - (_.string //.unit) + (_.string synthesis.unit) variantI)) (def: (try-methodI unsafeI) |