Permalink
Browse files

CLJS-777: multimethods are not IFn

  • Loading branch information...
1 parent 0c7b31a commit 525154f2a4874cf3b88ac3d5755794de425a94cb @swannodette swannodette committed Mar 1, 2014
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/cljs/cljs/core.cljs
View
2 src/cljs/cljs/core.cljs
@@ -7620,6 +7620,8 @@ Maps become Objects. Arbitrary keys are encoded to by key->js."
(deftype MultiFn [name dispatch-fn default-dispatch-val hierarchy
method-table prefer-table method-cache cached-hierarchy]
+ IFn
+
IMultiFn
(-reset [mf]
(swap! method-table (fn [mf] {}))

0 comments on commit 525154f

Please sign in to comment.