My bad, I'm calling foo in yet another namespace: (ns c (:use b))
(def x (A. 1 2)) (bar x) and that's when I get: Throws: No single method: bar of interface: b.Foo found for function: bar of protocol: Foo [Thrown class java.lang.IllegalArgumentException] Cheers Andreas On 30/05/2011, at 10:23 PM, Meikel Brandmeyer wrote: > Hi, > > works for me in 1.2.0 and 1.3.0-alpha7. You might want to add a (:require a) > to the import, but I doubt that this is the cause of the problem. > > Sincerely > Meikel > > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en