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.
2 parents 702c120 + 67227e3 commit 2962d41Copy full SHA for 2962d41
src/lambdaisland/deep_diff/diff.clj
@@ -100,7 +100,7 @@
100
(defn- val-type [val]
101
(let [t (type val)]
102
(if (class? t)
103
- (symbol (.getName t))
+ (symbol (.getName ^Class t))
104
t)))
105
106
(defn- diff-map [exp act]
@@ -143,7 +143,7 @@
143
(extend Object
144
Diff
145
{:diff-similar (fn [exp act]
146
- (if (.isArray (.getClass exp))
+ (if (.isArray (.getClass ^Object exp))
147
(diff-seq exp act)
148
(diff-atom exp act)))})
149
src/lambdaisland/deep_diff/printer.clj
@@ -75,7 +75,7 @@
75
(puget/format-doc printer v)]))))})
76
77
(defn- print-handler-resolver [extra-handlers]
78
- (fn [klz]
+ (fn [^Class klz]
79
(and klz (get (merge @#'print-handlers extra-handlers)
80
(symbol (.getName klz))))))
81
0 commit comments