aboutsummaryrefslogtreecommitdiff
path: root/lux-js
diff options
context:
space:
mode:
Diffstat (limited to 'lux-js')
-rw-r--r--lux-js/source/program.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/lux-js/source/program.lux b/lux-js/source/program.lux
index 72e08d9f5..6d13abf41 100644
--- a/lux-js/source/program.lux
+++ b/lux-js/source/program.lux
@@ -400,7 +400,7 @@
(exception.except ..undefined_has_no_lux_representation [])
{.#None})
- (~~ (with_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]))
- (~~ (with_template [<class> <method>]
+ (,, (with_template [<class> <method>]
[(case (ffi.is <class> js_object)
{.#Some js_object}
{try.#Success (<method> js_object)}