From 371a407a49ddf0f2fe1d977018fcd0a009c86043 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Tue, 3 Jul 2018 20:35:42 -0400 Subject: - Re-named "import" to "import:". --- new-luxc/source/luxc/lang/translation/lua/eval.jvm.lux | 10 +++++----- .../source/luxc/lang/translation/lua/procedure/common.jvm.lux | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'new-luxc/source/luxc/lang/translation/lua') 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) -- cgit v1.2.3