aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program
diff options
context:
space:
mode:
authorEduardo Julian2022-04-06 05:24:14 -0400
committerEduardo Julian2022-04-06 05:24:14 -0400
commit0494295b95c5c44ef389f1259e408f9445cfe0a1 (patch)
treea02dc1341cb31f1e2eccf023db3d01ae15ac70ac /stdlib/source/program
parent60daee098f92a44c3b404a9f5801f2e8126ad650 (diff)
Got documentation back in working condition.
Diffstat (limited to '')
-rw-r--r--stdlib/source/program/compositor.lux13
1 files changed, 7 insertions, 6 deletions
diff --git a/stdlib/source/program/compositor.lux b/stdlib/source/program/compositor.lux
index aaf9e27f4..0d59c7dd5 100644
--- a/stdlib/source/program/compositor.lux
+++ b/stdlib/source/program/compositor.lux
@@ -68,13 +68,14 @@
failure_description text.new_line
error text.new_line)]
(do !
- [_ (with_expansions [<else> (in (debug.log! report))]
- (for @.js (case console.default
- {.#None}
- <else>
+ [_ (with_expansions [<else> (in {try.#Success (debug.log! report)})]
+ (for @.js (is (Async (Try Any))
+ (case console.default
+ {.#None}
+ <else>
- {.#Some console}
- (console.write_line report console))
+ {.#Some console}
+ (console.write_line report console)))
<else>))]
(io.run! (# world/program.default exit +1))))