mirror of
https://github.com/janet-lang/janet
synced 2024-11-24 01:17:16 +00:00
Fix quoting for import.
This commit is contained in:
parent
94b7a69741
commit
fda0a081f5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user