On Wed, Sep 16, 2015 at 12:28 AM, Jonathan Leonard <[email protected]> wrote:
> Per the documentation on defprotocol for Clojure itself, such a reference > (e.g., in a reify of a protocol defined in a separate file/namespace) does > require a fully qualified name (and will not accept unqualified name). > As far as I know this is not the case. If the documentation says so it is incorrect with respect to the implementation and code in the wild, https://github.com/clojure/core.async/blob/master/src/main/clojure/clojure/core/async/impl/channels.clj#L67 > Using the fully qualified name in ClojureScript produces the following > error: > Caused by: clojure.lang.ExceptionInfo: set! target must be a field or a > symbol naming a var at line 7 test/graphql-tlc/core.cljs {:file > "test/graphql-tlc/core.cljs", :line 7, :column 3, :tag :cljs/analysis-error} > > Is this a known/expected deviation from Clojure proper? > > Thanks! > The bug is that qualified protocol methods are not supported in ClojureScript. Please open a minor issue about this in JIRA with your minimal example. Thanks! David -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
