aboutsummaryrefslogtreecommitdiff
path: root/lux-js
diff options
context:
space:
mode:
Diffstat (limited to 'lux-js')
-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 0a723ec30..fca2ab4ad 100644
--- a/lux-js/source/program.lux
+++ b/lux-js/source/program.lux
@@ -80,7 +80,7 @@
(import: #long jdk/nashorn/internal/runtime/Undefined)
-(do-template [<name>]
+(template [<name>]
[(interface: <name>
(getValue [] java/lang/Object))
@@ -348,14 +348,14 @@
(#.Some _)
(exception.throw undefined-has-no-lux-representation [])
#.None)
- (~~ (do-template [<class>]
+ (~~ (template [<class>]
[(case (host.check <class> js-object)
(#.Some js-object)
(exception.return js-object)
#.None)]
[java/lang/Boolean] [java/lang/String]))
- (~~ (do-template [<class> <method>]
+ (~~ (template [<class> <method>]
[(case (host.check <class> js-object)
(#.Some js-object)
(exception.return (<method> js-object))