The seed copies of inst?/inst-ms and the multimethod table ops (get-method/methods/remove-method/remove-all-methods/prefer-method) are dead code — the overlay redefines all of them (20-coll.clj, 30-macros.clj) — so they're deleted along with duplicate bindings-table entries (unreduced, eduction, unchecked-inc/dec/add/subtract). New spec rows for methods/remove-all-methods caught two real bugs in the evaluator's setup fns: methods-setup returned the live host table (count rejected it, and callers could mutate dispatch state), and remove-all-methods-setup swapped in a fresh table the dispatch closure never saw. methods now returns a phm snapshot; remove-all-methods clears in place. |
||
|---|---|---|
| .. | ||
| bench | ||
| clojure-stdlib/clojure | ||
| integration | ||
| spec | ||
| support | ||
| unit | ||