Fix [_ _] inline method field binding + Var protocol dispatch
Two gaps reitit-core surfaced (now 322/0/1 -> 327/0/0): - A deftype/defrecord inline method with two _ params, (m [_ _] field), read the field as nil: mk-clause bound fields off (get _ :field) where _ was the first param, but the second _ shadowed it. Each _ param is now renamed to a fresh symbol so the instance is unambiguous. - A var did not dispatch to a protocol's clojure.lang.Var extension (reitit extends Expand to Var for a #'handler route): value-host-tags gained a var arm (Var/clojure.lang.Var/IDeref/IFn) and host-type-set gained Var/IDeref so the extension keys under Var. deftype/defrecord is a seed source, re-minted.
This commit is contained in:
parent
9404512b97
commit
6b99591266
5 changed files with 633 additions and 621 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue