Yep, and there is a patch ready to go in JIRA: http://dev.clojure.org/jira/browse/CLJ-902
Andy On Feb 20, 2012, at 3:17 PM, Frank Siebenlist wrote: > When I request the doc for a namespace, an exception gets thrown (clojure > 1.3): > > > user=> (doc clojure.core) > ClassNotFoundException clojure.core java.net.URLClassLoader$1.run > (URLClassLoader.java:202) > > > I was looking at the source code, and noticed that in the (cond... first the > symbol resolved to a var, and if that doesn't work find-ns is tried next. > However, trying to resolve a namespace symbol to a var throws an exception. > > When you reverse the sequence, like in gist: https://gist.github.com/1872000, > and eval that gist, you get: > > > user=> (doc clojure.core) > ------------------------- > clojure.core > Fundamental library of the Clojure language > nil > user=> > > > which is what you want to see. > > Smells like a bug… maybe change order in (cond… as in the gist-code, or > catch exception in (resolve… > > -FrankS. > > > > > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group, send email to > [email protected] > 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 [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
