Hi,
Hopefully this is useful feedback, but in spec2 I noticed that s/def's can't use :refer'd macros.
This is because clojure.alpha.spec/ns-qualify does not pick up on :refer'd vars.
eg.,
(ns one)
(defmacro my-spec ...)
(ns two
(:require [clojure.alpha.spec :as s]
[one :refer [my-spec]]))
; this blows up
(s/def ::foo (my-spec ...))
; (Approximate error msg)
; Unable to def ::foo, unknown spec op: two/my-spec
; this works fine
(s/register ::foo (my-spec ...))
Happy to provide more info if needed.
Thanks,
Ambrose