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 22c10ba commit fcdca3dCopy full SHA for fcdca3d
src/main/clojure/cljs/core.cljc
@@ -2168,13 +2168,12 @@
2168
([x]
2169
(core/when *assert*
2170
`(when-not ~x
2171
- (throw (js/Error.
2172
- (cljs.core/str "Assert failed: " (cljs.core/pr-str '~x)))))))
+ (throw (js/Error. ~(core/str "Assert failed: " (core/pr-str x)))))))
2173
([x message]
2174
2175
2176
(throw (js/Error.
2177
- (cljs.core/str "Assert failed: " ~message "\n" (cljs.core/pr-str '~x))))))))
+ (cljs.core/str "Assert failed: " ~message "\n" ~(core/pr-str x))))))))
2178
2179
(core/defmacro for
2180
"List comprehension. Takes a vector of one or more
0 commit comments