We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9874ba commit 56848c7Copy full SHA for 56848c7
src/cljs/cljs/core.cljs
@@ -7364,7 +7364,7 @@ Maps become Objects. Arbitrary keys are encoded to by key->js."
7364
(-dispatch [mf args]))
7365
7366
(defn- do-dispatch
7367
- [mf dispatch-fn args]
+ [mf name dispatch-fn args]
7368
(let [dispatch-val (apply dispatch-fn args)
7369
target-fn (-get-method mf dispatch-val)]
7370
(when-not target-fn
@@ -7415,7 +7415,7 @@ Maps become Objects. Arbitrary keys are encoded to by key->js."
7415
(-methods [mf] @method-table)
7416
(-prefers [mf] @prefer-table)
7417
7418
- (-dispatch [mf args] (do-dispatch mf dispatch-fn args))
+ (-dispatch [mf args] (do-dispatch mf name dispatch-fn args))
7419
7420
IHash
7421
(-hash [this] (goog/getUid this)))
0 commit comments