From 8ea6c27b38f69319a85979072f4146d388b82579 Mon Sep 17 00:00:00 2001 From: Joshua Suskalo Date: Thu, 23 Sep 2021 12:27:22 -0500 Subject: [PATCH] Ensure ::type spec has its own sequence --- src/clj/coffi/ffi.clj | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/clj/coffi/ffi.clj b/src/clj/coffi/ffi.clj index 1230a32..387af8c 100644 --- a/src/clj/coffi/ffi.clj +++ b/src/clj/coffi/ffi.clj @@ -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