aboutsummaryrefslogtreecommitdiff
path: root/lux-js/source
diff options
context:
space:
mode:
authorEduardo Julian2021-08-13 04:18:57 -0400
committerEduardo Julian2021-08-13 04:18:57 -0400
commite53c1a090eb9cfac3cb23d10d981648d02518ed1 (patch)
tree6c92c186525b6e73032ebea68765b791bcc27516 /lux-js/source
parent17629d66062b88b040a2397032f6c08361a5f3a7 (diff)
Made program: specify its bindings the same way as syntax:.
Diffstat (limited to 'lux-js/source')
-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 e81892170..03e673af9 100644
--- a/lux-js/source/program.lux
+++ b/lux-js/source/program.lux
@@ -633,7 +633,7 @@
@.js
(def: (extender phase_wrapper handler)
(-> platform.Phase_Wrapper Extender)
- (:assume handler))})
+ (:expected handler))})
(def: (declare_success! _)
(-> Any (Async Any))
@@ -644,7 +644,7 @@
(_.statement (_.apply/* (_.closure (list) body)
(list))))
-(program: [{service /cli.service}]
+(program: [service /cli.service]
(let [extension ".js"]
(exec (do async.monad
[_ (/.compiler {#/static.host @.js