aboutsummaryrefslogtreecommitdiff
path: root/lux-js/source
diff options
context:
space:
mode:
authorEduardo Julian2022-06-12 00:38:20 -0400
committerEduardo Julian2022-06-12 00:38:20 -0400
commitb48ea68a83d01903554c7696c77eedaaf1035680 (patch)
treec342d8094c3158de16526f874ca9624418cd2dd2 /lux-js/source
parent7abf2d0ac55c229a8793bbff31f132596ffcb275 (diff)
De-sigil-ification: suffix : [Part 3]
Diffstat (limited to 'lux-js/source')
-rw-r--r--lux-js/source/program.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/lux-js/source/program.lux b/lux-js/source/program.lux
index ec49efe41..3f824826f 100644
--- a/lux-js/source/program.lux
+++ b/lux-js/source/program.lux
@@ -140,7 +140,7 @@
(import org/openjdk/nashorn/internal/runtime/Undefined
"[1]::[0]")
- (template [<name>]
+ (with_template [<name>]
[(ffi.interface: <name>
(getValue [] java/lang/Object))
@@ -400,7 +400,7 @@
(exception.except ..undefined_has_no_lux_representation [])
{.#None})
- (~~ (template [<class>]
+ (~~ (with_template [<class>]
[(case (ffi.is <class> js_object)
{.#Some js_object}
{try.#Success js_object}
@@ -408,7 +408,7 @@
{.#None})]
[java/lang/Boolean] [java/lang/String]))
- (~~ (template [<class> <method>]
+ (~~ (with_template [<class> <method>]
[(case (ffi.is <class> js_object)
{.#Some js_object}
{try.#Success (<method> js_object)}