Skip to content

Commit 81fb24e

Browse files
committed
CLJS-1654: cljs.spec: var name in s/fdef non-conformance
1 parent b54f27e commit 81fb24e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/cljs/cljs/spec.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@
288288
(let [ed (assoc (explain-data* spec [role] [] [] data)
289289
::args args)]
290290
(throw (ex-info
291-
(str "Call to " v " did not conform to spec:\n" (with-out-str (explain-out ed)))
291+
(str "Call to " (pr-str v) " did not conform to spec:\n" (with-out-str (explain-out ed)))
292292
ed)))
293293
conformed)))]
294294
(doto

0 commit comments

Comments
 (0)