diff options
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/lua')
-rw-r--r-- | new-luxc/source/luxc/lang/translation/lua/eval.jvm.lux | 10 | ||||
-rw-r--r-- | new-luxc/source/luxc/lang/translation/lua/procedure/common.jvm.lux | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/new-luxc/source/luxc/lang/translation/lua/eval.jvm.lux b/new-luxc/source/luxc/lang/translation/lua/eval.jvm.lux index 0330f79c2..18ae10e0a 100644 --- a/new-luxc/source/luxc/lang/translation/lua/eval.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/lua/eval.jvm.lux @@ -20,22 +20,22 @@ [Cannot-Evaluate] ) -(host.import java/lang/Object +(host.import: java/lang/Object (toString [] String) (getClass [] (Class Object))) -(host.import java/lang/Long +(host.import: java/lang/Long (intValue [] Integer)) -(host.import net/sandius/rembulan/ByteString +(host.import: net/sandius/rembulan/ByteString (decode [] String)) -(host.import net/sandius/rembulan/Table +(host.import: net/sandius/rembulan/Table (rawget #as get-idx [long] #? Object) (rawget #as get-key [Object] #? Object) (rawlen [] long)) -(host.import net/sandius/rembulan/impl/DefaultTable) +(host.import: net/sandius/rembulan/impl/DefaultTable) (def: (variant lux-object host-object) (-> (-> Object (Error Any)) DefaultTable (Maybe Any)) diff --git a/new-luxc/source/luxc/lang/translation/lua/procedure/common.jvm.lux b/new-luxc/source/luxc/lang/translation/lua/procedure/common.jvm.lux index 50fe74f58..b49d4951c 100644 --- a/new-luxc/source/luxc/lang/translation/lua/procedure/common.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/lua/procedure/common.jvm.lux @@ -181,7 +181,7 @@ lua.length) ## [[Numbers]] -(host.import java/lang/Double +(host.import: java/lang/Double (#static MIN_VALUE Double) (#static MAX_VALUE Double) (#static NaN Double) |