diff options
| author | 2024-06-16 10:57:14 -0500 | |
|---|---|---|
| committer | 2024-06-16 10:57:14 -0500 | |
| commit | fda0a081f59c03d851658bf8f6d12371631f08f1 (patch) | |
| tree | 7fe7f1fe8f3967ff2d16dd5a225cf161744de145 | |
| parent | More fixes for patch release. (diff) | |
Fix quoting for import.v1.35.2
| -rw-r--r-- | src/boot/boot.janet | 2 |
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 |
