Ensure ::type spec has its own sequence

This commit is contained in:
Joshua Suskalo 2021-09-23 12:27:22 -05:00
parent 3f6203b5d3
commit 8ea6c27b38

View file

@ -1050,10 +1050,11 @@
:ret (s/map-of keyword? any?))
(s/def ::type
(s/nonconforming
(s/or :simple-type qualified-keyword?
:complex-type (s/cat :base-type qualified-keyword?
:type-args (s/* any?)))))
(s/spec
(s/nonconforming
(s/or :simple-type qualified-keyword?
:complex-type (s/cat :base-type qualified-keyword?
:type-args (s/* any?))))))
(s/def ::defcfn-args
(s/and