We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ca0f7e commit ec80266Copy full SHA for ec80266
src/clj/clojure/core.clj
@@ -3800,6 +3800,8 @@
3800
to-do (if (= :all (:refer fs))
3801
(keys nspublics)
3802
(or (:refer fs) (:only fs) (keys nspublics)))]
3803
+ (when-not (instance? clojure.lang.Sequential to-do)
3804
+ (throw (new Exception ":only/:refer value must be a sequential collection of symbols")))
3805
(doseq [sym to-do]
3806
(when-not (exclude sym)
3807
(let [v (nspublics sym)]
0 commit comments