What I meant was that you can spec the defmulti, and code runs just fine, but you can't instrument it. As then you end up with the instrumentation wrapper not being a multimethod, so things break. That's how I read the stack trace. It'd seem possible for instrument to wrap the multimethod with a multimethod stub, so perhaps that's a change to consider.
On Thursday, August 18, 2016 at 6:27:08 PM UTC+1, Alex Miller wrote: > > I should mention that a half step is to spec the dispatch function used by > the multimethod. That covers the front-end. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.