From 651c7afff45f7f6c6b16d873d699ef0f7c890246 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Mon, 8 Nov 2021 03:21:42 -0400 Subject: Used new Function interface to fix directives bug in JVM compiler. --- stdlib/source/test/lux/extension.lux | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'stdlib') 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))) -- cgit v1.2.3