cljs-dev

dnolen 2025-03-17T13:44:30.869739Z

@borkdude https://clojure.atlassian.net/browse/CLJS-3430 - let me know if this captures the issue

borkdude 2025-03-17T14:03:06.052399Z

yes!

p-himik 2025-03-17T14:47:34.970459Z

It seems that protocol definitions like

(defprotocol Linkable
  (-href [_ _ _]))
work in Clojure but don't work in CLJS. Apparently, _ just override each other from left to right, and the dispatch happens on the last argument instead. The initial question with a link to an MRE: https://clojurians.slack.com/archives/C03S1L9DN/p1742221669534609 A corresponding "ask": https://ask.clojure.org/index.php/14469/protocol-function-with-placeholder-arguments-doesnt-clojure

dnolen 2025-03-17T16:37:15.924739Z

Thanks, https://clojure.atlassian.net/browse/CLJS-3431