aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program
diff options
context:
space:
mode:
authorEduardo Julian2022-02-16 04:41:41 -0400
committerEduardo Julian2022-02-16 04:41:41 -0400
commitde8af6044d590354563f4ea8849d98e8637c034a (patch)
tree7ac4dc03830fc4f8154ec7e31a3971e5b7a5a923 /stdlib/source/program
parentb68f2b6aead6224c14902c80fc00c27705eece6c (diff)
FIXED loop binding initialization in several back-ends.
Diffstat (limited to 'stdlib/source/program')
-rw-r--r--stdlib/source/program/compositor.lux5
1 files changed, 4 insertions, 1 deletions
diff --git a/stdlib/source/program/compositor.lux b/stdlib/source/program/compositor.lux
index 4e0599859..b398f85e3 100644
--- a/stdlib/source/program/compositor.lux
+++ b/stdlib/source/program/compositor.lux
@@ -8,6 +8,7 @@
["[0]" monad {"+" do}]]
[control
["[0]" io {"+" IO io}]
+ ["[0]" maybe]
["[0]" try {"+" Try}]
[concurrency
["[0]" async {"+" Async} ("[1]#[0]" monad)]]]
@@ -174,7 +175,9 @@
host_dependencies (..load_host_dependencies (value@ platform.#&file_system platform) compilation_host_dependencies)
_ (..package! (for [@.old (file.async file.default)
@.jvm (file.async file.default)
- @.js file.default])
+ ... TODO: Handle this in a safer manner.
+ ... This would crash if the compiler was run on a browser.
+ @.js (maybe.trusted file.default)])
host_dependencies
packager,package
static