You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 21, 2022. It is now read-only.
clojure 1.9.0-alpha12 has broken a lot of old code that relied on "features" that didn't really exist, but worked anyway. Moving forward, it seems like spec is allowing clojure.core to become better at "seeing" when you use it in a non-conformant way, and will be vocal about it.
Right now if you try to make a blank lein project, import into lighttable and depend on [org.clojure/clojure "1.9.0-alpha12"]
and (ns whatever.core (:require [clojure.spec :as something]))
you will receive an error: lighttable.nrepl.handler does not conform to spec ... Reason: additional argument
I'm uncertain, but I think this is referring to line 12. I'm fairly sure that "hanging" requires like this isn't specifically allowed by ns, even though it appears to work fine. I could be mistaken though. One of the big motivators for introducing spec is to try to clean up code that is relying on incidental rather than documented behavior of core functions.