Fork me on GitHub
#clojure-spec
<
2016-11-09
>
erwin14:11:07

user => (defn foo [] :clojure.spec/invalid)

ExceptionInfo Call to clojure.core/defn did not conform to spec:
:clojure.spec/args  (foo [] :clojure.spec/invalid)
  clojure.core/ex-info (core.clj:4725)
user => (defn foo [] (do :clojure.spec/invalid))
#'user/foo

erwin14:11:25

this is maybe a repl only problem?

erwin14:11:52

nope also fails in source code

dominicm15:11:02

I think this is a known bug.

dominicm15:11:31

I seem to remember mention of there not being much of a good solution to it in spec though.

Alex Miller (Clojure team)15:11:14

@bbloom We will have some better solution for regex ops in vectors - comes up a lot in macro dsls

yonatanel21:11:36

What is a good example of using tags other than human-readable s/explain result?