aboutsummaryrefslogtreecommitdiff
path: root/lux-js/source
diff options
context:
space:
mode:
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)}