diff options
author | Eduardo Julian | 2022-06-12 00:38:20 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-06-12 00:38:20 -0400 |
commit | b48ea68a83d01903554c7696c77eedaaf1035680 (patch) | |
tree | c342d8094c3158de16526f874ca9624418cd2dd2 /lux-lua | |
parent | 7abf2d0ac55c229a8793bbff31f132596ffcb275 (diff) |
De-sigil-ification: suffix : [Part 3]
Diffstat (limited to '')
-rw-r--r-- | lux-lua/source/program.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lux-lua/source/program.lux b/lux-lua/source/program.lux index 9c424e5df..26731f23e 100644 --- a/lux-lua/source/program.lux +++ b/lux-lua/source/program.lux @@ -230,7 +230,7 @@ Translator (`` (<| (if (ffi.null? host_object) (exception.except ..nil_has_no_lux_representation [])) - (~~ (template [<class> <post_processing>] + (~~ (with_template [<class> <post_processing>] [(case (ffi.as <class> host_object) {.#Some typed_object} (|> typed_object <post_processing>) @@ -299,7 +299,7 @@ (pattern (list)) (in self) - (~~ (template [<arity>] + (~~ (with_template [<arity>] [(pattern (list (~~ (static.literals function.identity (..input/* <arity>))))) (in (to_host ((as (~~ (static.literal function.identity (..function/* <arity>))) lux_function) @@ -336,7 +336,7 @@ (<| (..return %) self)) - (~~ (template [<arity>] + (~~ (with_template [<arity>] [(net/sandius/rembulan/runtime/LuaFunction [] (invoke self [% net/sandius/rembulan/runtime/ExecutionContext (~~ (static.literals function.identity (..declaration/* <arity>)))]) @@ -784,7 +784,7 @@ (with_expansions [<jvm> (these (def: (to_host it) (-> Any java/lang/Object) - (`` (<| (~~ (template [<jvm> <lua>] + (`` (<| (~~ (with_template [<jvm> <lua>] [(case (ffi.as <jvm> (as java/lang/Object it)) {.#Some it} (as java/lang/Object |