I thought I'd put this note out in case anyone happens to run into spec functions freezing (e.g conform, valid?).
I had a large namespace of specs, where one spec was just an alias of another: (s/def ::a int?) ;; other definitions (s/def ::b ::a) At a later point, I no longer needed the specificity of the ::b key, so I did a rename refactoring of ::b to ::a. I was a bit careless and didn't notice that my namespace now looked like: (s/def ::a int?) ;; other definitions (s/def ::a ::a) Any usage of ::a caused spec to hang: (s/conform ::a 10) ;; get coffee and contemplate the meaning of life, the universe, and everything I'm not sure if makes sense to add any checks to prevent this from happening, but hopefully it helps if anyone accidentally does this. Cheers, Shaun -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
