camsaul / methodical

Functional and flexible multimethods for Clojure. Nondestructive multimethod construction, CLOS-style aux methods and method combinations, partial-default dispatch, easy next-method invocation, helpful debugging tools, and more.
Eclipse Public License 2.0
295 stars 19 forks source link

Ambiguous primary method errors should tell you WHAT method has the ambiguity #126

Closed camsaul closed 2 years ago

camsaul commented 2 years ago

Right now the error message does not list the multimethod name, which makes it hard to debug. We definitely have this metadata around somewhere, so we should use it. We might also consider including the place where those methods are implemented