aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source
diff options
context:
space:
mode:
authorEduardo Julian2021-11-08 03:21:42 -0400
committerEduardo Julian2021-11-08 03:21:42 -0400
commit651c7afff45f7f6c6b16d873d699ef0f7c890246 (patch)
tree3c7fd419c58ab0aa276c017614c2b9fbf305b62e /stdlib/source
parentdf6cf0d3c980e3d7240eec6cb38d86af61037725 (diff)
Used new Function interface to fix directives bug in JVM compiler.
Diffstat (limited to '')
-rw-r--r--stdlib/source/test/lux/extension.lux12
1 files changed, 7 insertions, 5 deletions
diff --git a/stdlib/source/test/lux/extension.lux b/stdlib/source/test/lux/extension.lux
index 8a4d58f25..1fcec22de 100644
--- a/stdlib/source/test/lux/extension.lux
+++ b/stdlib/source/test/lux/extension.lux
@@ -143,11 +143,13 @@
(do !
[[module_id artifact_id] (generation.context archive)
.let [commentary (format "Successfully installed directive " (%.text self) "!")]
- _ (generation.save! artifact_id {.#None}
- (for [@.js (js.comment commentary
- (js.statement (js.string commentary)))
- @.ruby (ruby.comment commentary
- (ruby.statement (ruby.string commentary)))]))]
+ _ (for [@.jvm (in [])
+ @.js (generation.save! artifact_id {.#None}
+ (js.comment commentary
+ (js.statement (js.string commentary))))
+ @.ruby (generation.save! artifact_id {.#None}
+ (ruby.comment commentary
+ (ruby.statement (ruby.string commentary))))])]
(generation.log! commentary))))]
(in directive.no_requirements)))