Meikel,
Adding import A to ns c did the trick! Thanks a lot.
Andreas
On 30/05/2011, at 10:42 PM, Meikel Brandmeyer wrote:
> Hi,
>
> still works for me, although your c has a missing (:import a.A). Would you
> mind posting the actual code with the true types stripped-down to the
> minimum? Or
Hi,
still works for me, although your c has a missing (:import a.A). Would you
mind posting the actual code with the true types stripped-down to the
minimum? Or some other minimal example, which verifyably fails for you?
Sincerely
Meikel
--
You received this message because you are subscribed
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:
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