We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9ffbee commit aa9fd3dCopy full SHA for aa9fd3d
1 file changed
src/main/cljs/cljs/spec/test.cljc
@@ -106,12 +106,11 @@ Returns a collection of syms naming the vars instrumented."
106
(cond-> ret# sym# (conj sym#))))
107
[]
108
(->> (zipmap
109
- (collectionize ~sym-or-syms)
110
- ~(into []
111
- (map
+ (collectionize '~sym-or-syms)
+ [~@(map
112
(fn [sym]
113
- `(fn [] (instrument-1 '~sym ~opts-sym))))
114
- (collectionize sym-or-syms)))
+ `(fn [] (instrument-1 '~sym ~opts-sym)))
+ (collectionize sym-or-syms))])
115
(filter #((instrumentable-syms ~opts-sym) (first %)))
116
(distinct-by first)))))))
117
0 commit comments