Skip to content

Commit f4d1df3

Browse files
mfikesswannodette
authored andcommitted
CLJS-2089: Warn message wrong for recur to protocol with nil
1 parent ba5e70a commit f4d1df3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/clojure/cljs/analyzer.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@
361361

362362
(defmethod error-message :protocol-impl-recur-with-target
363363
[warning-type info]
364-
(str "Ignoring target object \"" (:form info) "\" passed in recur to protocol method head"))
364+
(str "Ignoring target object \"" (pr-str (:form info)) "\" passed in recur to protocol method head"))
365365

366366
(defmethod error-message :multiple-variadic-overloads
367367
[warning-type info]

0 commit comments

Comments
 (0)