Closed divs1210 closed 2 months ago
(def location [:tuple {:title "location"} number? number?]) (m/=> location->str [:=> [:cat location] string?]) (defn location->str [[x y]] (str "(" x ", " y ")")) ((requiring-resolve 'malli.clj-kondo/emit!)) (location->str [0 0]) ;; Expected: number, received: vector
This should get fixed by #851
Just checked again, this works now! 🎉