aboutsummaryrefslogtreecommitdiff
path: root/src/clojure/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'src/clojure/contrib')
-rw-r--r--src/clojure/contrib/json/write.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clojure/contrib/json/write.clj b/src/clojure/contrib/json/write.clj
index d197f5cb..c7b985b7 100644
--- a/src/clojure/contrib/json/write.clj
+++ b/src/clojure/contrib/json/write.clj
@@ -112,7 +112,7 @@ Within strings, all non-ASCII characters are hexadecimal escaped.
(recur nxt)))))
(print \}))
-(defmethod print-json java.lang.CharSequence [s]
+(defmethod print-json java.lang.CharSequence [#^CharSequence s]
(print \")
(dotimes [i (count s)]
(let [cp (Character/codePointAt s i)]