Skip to content

Commit fda0a08

Browse files
committed
Fix quoting for import.
1 parent 94b7a69 commit fda0a08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/boot/boot.janet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3077,7 +3077,7 @@
30773077
current environment.``
30783078
[path & args]
30793079
(def ps (partition 2 args))
3080-
(def argm (mapcat (fn [[k v]] [k (if (= k :as) (string v) v)]) ps))
3080+
(def argm (mapcat (fn [[k v]] [k (case k :as (string v) :only ~(quote ,v) v)]) ps))
30813081
(tuple import* (string path) ;argm))
30823082

30833083
(defmacro use

0 commit comments

Comments
 (0)