We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b54f27e commit 81fb24eCopy full SHA for 81fb24e
src/main/cljs/cljs/spec.cljs
@@ -288,7 +288,7 @@
288
(let [ed (assoc (explain-data* spec [role] [] [] data)
289
::args args)]
290
(throw (ex-info
291
- (str "Call to " v " did not conform to spec:\n" (with-out-str (explain-out ed)))
+ (str "Call to " (pr-str v) " did not conform to spec:\n" (with-out-str (explain-out ed)))
292
ed)))
293
conformed)))]
294
(doto
0 commit comments