aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/boot/boot.janet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/boot.janet b/src/boot/boot.janet
index f04ee01a..66f9ff9e 100644
--- a/src/boot/boot.janet
+++ b/src/boot/boot.janet
@@ -3077,7 +3077,7 @@
current environment.``
[path & args]
(def ps (partition 2 args))
- (def argm (mapcat (fn [[k v]] [k (if (= k :as) (string v) v)]) ps))
+ (def argm (mapcat (fn [[k v]] [k (case k :as (string v) :only ~(quote ,v) v)]) ps))
(tuple import* (string path) ;argm))
(defmacro use