[NREPL-51] Pretty-printing reference returned by clojure.tools.nrepl.server/start-server causes multimethod exception Created: 12/Apr/14 Updated: 18/Apr/14 Resolved: 18/Apr/14
|Reporter:||Michael Nygard||Assignee:||Chas Emerick|
I was accidentally printing the reference returned by start-server by calling it as the final function in my main method, which causes this error:
java.lang.IllegalArgumentException: Multiple methods in multimethod 'print-method' match dispatch value: class clojure.tools.nrepl.server.Server -> interface clojure.lang.IDeref and interface clojure.lang.IRecord, and neither is preferred
|Comment by Michael Nygard [ 12/Apr/14 12:09 PM ]|
I cloned this from
Basically, this is the same dispatch problem as
Version affected is 0.2.3.
|Comment by Chas Emerick [ 12/Apr/14 12:21 PM ]|
Thanks, should have thought of this when I fixed the related issue.
|Comment by Chas Emerick [ 18/Apr/14 10:04 AM ]|
Committed, will be available in 0.2.4-SNAPSHOT momentarily.