aboutsummaryrefslogtreecommitdiff
path: root/lux-js
diff options
context:
space:
mode:
authorEduardo Julian2020-07-11 19:23:29 -0400
committerEduardo Julian2020-07-11 19:23:29 -0400
commit6346bc55f8b62b48253369fa1f28b93d6500e885 (patch)
treec286664d4b3571736fe9f8fe0ee11271a05273a0 /lux-js
parentd48c3ff75f23a62c7f13ff411c25073e618b19de (diff)
Got the JS compiler to compile fully.
Diffstat (limited to 'lux-js')
-rw-r--r--lux-js/source/program.lux5
1 files changed, 2 insertions, 3 deletions
diff --git a/lux-js/source/program.lux b/lux-js/source/program.lux
index 3ecd9891b..bd7dded23 100644
--- a/lux-js/source/program.lux
+++ b/lux-js/source/program.lux
@@ -481,9 +481,8 @@
(_.and (|> @process (_.the "argv"))))
(|> @process (_.the "argv"))
(_.array (list)))]
- (_.statement (_.apply/2 program
- (runtime.lux//program-args raw-inputs)
- _.null))))
+ (_.statement (_.apply/1 (_.apply/1 program (runtime.lux//program-args raw-inputs))
+ (_.string "")))))
(def: extender
Extender