ClojureScript: can't (:use) protocol in another namespace

2012-04-27 Thread Stuart Campbell
Hello, I'm not sure if what I'm doing is supported or whether I'm doing it incorrectly. I have two ClojureScript namespaces: (ns foo) (defprotocol SomeProtocol (some-function [this])) (ns bar (:use [foo :only (SomeProtocol)])) (defrecord SomeRecord SomeProtocol (some-function [_] :quu

Re: ClojureScript: can't (:use) protocol in another namespace

2012-04-27 Thread David Nolen
Does this work in Clojure? If so file a ticket in JIRA. David On Fri, Apr 27, 2012 at 5:09 AM, Stuart Campbell wrote: > Hello, > > I'm not sure if what I'm doing is supported or whether I'm doing it > incorrectly. > > I have two ClojureScript namespaces: > > (ns foo) > > (defprotocol SomeProtoc

Re: ClojureScript: can't (:use) protocol in another namespace

2012-04-29 Thread Stuart Campbell
It does. Ticket opened: http://dev.clojure.org/jira/browse/CLJS-216 Cheers, Stuart On 28 April 2012 01:30, David Nolen wrote: > Does this work in Clojure? If so file a ticket in JIRA. > > David > > On Fri, Apr 27, 2012 at 5:09 AM, Stuart Campbell wrote: > >> Hello, >> >> I'm not sure if what I