We're updating the issue view to help you get more done. 

protocol implementations do not support qualified method names

Description

src/proj/one.cljs
=================

1 2 3 4 (ns proj.one) (defprotocol Proc (meth [this]))

src/proj/two.cljs (correctly works)
=================

1 2 3 4 5 6 (ns proj.two (:require [proj.one] :as one)) (def ProcImpl (reify one/Proc (meth [_] nil))) ;; works but should not work as 'meth' is defined in ns: one.

src/proj/two.cljs (also correctly works)
=================

1 2 3 4 5 6 (ns proj.two (:require [proj.one] :as one)) (def ProcImpl (reify one/Proc (one/meth [_] nil))) ;; does not work but should work per the doc on 'defprotocol'.

Yields error:
"Caused by: clojure.lang.ExceptionInfo: set! target must be a field or a symbol naming a var at line..."

Environment

Mac OS X Mavericks. Java: (build 1.8.0_45-b14)

Status

Assignee

Sebastian Bensusan

Reporter

Jonathan Leonard

Labels

None

Approval

None

Patch

None

Fix versions

Affects versions

1.7.145

Priority

Minor