Welcome! Please see the About page for a little more info on how this works.

0 votes
in tools.analyzer by

The following code will throw an exception:

(ana.jvm/analyze '(reify
                    (close [_])
                    (close [_])))
                    ;; => clojure.lang.ExceptionInfo: Ambiguous method signature for method: close

...where example.foo/EventClient is a a real, resolvable defprotocol that does in fact define a close [_] method.

Here is a reproducible patch that can be applied over https://github.com/clojure/tools.analyzer.jvm/commit/f00d92317307c3e9e326fd99d337292925dc9db1 :


Please log in or register to answer this question.