Skip to content

Commit f4be576

Browse files
committed
fix :refer-global spec
1 parent 8617794 commit f4be576

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/main/cljs/cljs/core/specs/alpha.cljc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,7 @@
190190

191191
(s/def ::ns-refer-global
192192
(s/spec (s/cat :clause #{:refer-global}
193-
:only #{:only}
194-
:symbols (s/+ symbol?))))
193+
:options (s/keys* :req-un [::only]))))
195194

196195
(s/def ::ns-require-global
197196
(s/spec (s/cat :clause #{:require-global}

0 commit comments

Comments
 (0)