Ensure ::type spec has its own sequence
This commit is contained in:
parent
3f6203b5d3
commit
8ea6c27b38
1 changed files with 5 additions and 4 deletions
|
|
@ -1050,10 +1050,11 @@
|
||||||
:ret (s/map-of keyword? any?))
|
:ret (s/map-of keyword? any?))
|
||||||
|
|
||||||
(s/def ::type
|
(s/def ::type
|
||||||
(s/nonconforming
|
(s/spec
|
||||||
(s/or :simple-type qualified-keyword?
|
(s/nonconforming
|
||||||
:complex-type (s/cat :base-type qualified-keyword?
|
(s/or :simple-type qualified-keyword?
|
||||||
:type-args (s/* any?)))))
|
:complex-type (s/cat :base-type qualified-keyword?
|
||||||
|
:type-args (s/* any?))))))
|
||||||
|
|
||||||
(s/def ::defcfn-args
|
(s/def ::defcfn-args
|
||||||
(s/and
|
(s/and
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue