Welcome! Please see the About page for a little more info on how this works.

+2 votes
in Spec by

It should be possible to do (s/def ::a ::b) before declaring ::b.

Currently this throws an "Unable to resolve" error.

Alex indicated that everything should have delays but that they are missing in some cases. This seems like one of those cases.

Examples where things work fine are (s/def ::a (s/and ::b)) and (s/def ::a (s/keys :req (link: ::b))).

1 Answer

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJ-2067 (reported by olivergeorge)
...