summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/clj/clojure/core_deftype.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clj/clojure/core_deftype.clj b/src/clj/clojure/core_deftype.clj
index efde3022..470535c4 100644
--- a/src/clj/clojure/core_deftype.clj
+++ b/src/clj/clojure/core_deftype.clj
@@ -312,7 +312,7 @@
sigs (reduce (fn [m s]
(let [mname (with-meta (first s) nil)
arglists (if (vector? (second s)) (list (second s)) (second s))
- fx (nth s 2)
+ fx (nth s 2 nil)
doc (when (string? fx) fx)
mopts (apply hash-map (nthnext s (if (string? fx) 3 2)))]
(assoc m (keyword mname)