Welcome! Please see the About page for a little more info on how this works.

0 votes
in ClojureScript by

find-and-cache-best-method was pretty messy and confusing. cache reset is done in -get-method fn itself and it was basically a dead code. find-best-method is the replacement of it and operates with immutable data instead of internal multimethod's mutable state.
prefers* function didn't mutate the atom too, so now it takes an immutable value.
dominates is now an internal helper of find-best-method since it is private and not used by anything else.

2 Answers

0 votes
by

Comment made by: mfikes

Patch no longer applies; needs re-baseline.

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJS-1810 (reported by jetzajac)
...