From e53c1a090eb9cfac3cb23d10d981648d02518ed1 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Fri, 13 Aug 2021 04:18:57 -0400 Subject: Made program: specify its bindings the same way as syntax:. --- lux-js/source/program.lux | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lux-js/source') 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 -- cgit v1.2.3