On Wed, Sep 16, 2015 at 3:40 PM, Jonathan Leonard <[email protected]>
wrote:

>
> I do think that under the skin what's happening here is that the vars
> associated with the methods inside the declared protocol are being defined
> on the global namespace (which is fine in JavaScript since everything ends
> up in the same file most likely anyway). I doubt that this bug would even
> be possible in Clojure proper since it compiles things into Java namespaces
> and classes.
>
> --Jonathan
>

There are no global names involved here with respect to ClojureScript
semantics. Even if you do not qualify the method names, they will be
correctly resolved because you already qualified the protocol - no more
information is necessary as they have to come from the same namespace
anyhow. The bug is purely a syntactical one - if you do decide to qualify
the method names, it should _also_ work!

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.

Reply via email to