What about (use 'clojure.test.user) ?

On Jul 6, 6:37 pm, Pedro Teixeira <pedr...@gmail.com> wrote:
> Hi,
>
> The following seems like it was not intended, please let me know if it
> is intended.
>
> user> (use 'clojure.test)
> user> (testing (defrecord R []) (new R) )
>
> [exception: Unable to resolve classname: R]
>
> user> (defrecord R []) (new R)
>
> [ok]
>
> now, if we use the full class name, it works:
> (testing (defrecord R []) (new user.R) )
>
> is the namespace resolution affected by a macro or binding context?
>
> thanks,
> Pedro

-- 
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

Reply via email to