Thanks Nicola,

I don't think this is the reason. clojure.test is also explicitly adding
docs. Also I encountered it in riemann in a namespace that is not AOT at
all.


On Wed, Oct 29, 2014 at 3:03 PM, Nicola Mometto <brobro...@gmail.com> wrote:

>
> Might be an instance of http://dev.clojure.org/jira/browse/CLJ-130
>
> Haim Ashkenazi writes:
>
> > Sorry, I pressed "send" too soon :) Here it is from the start:
> >
> >
> > When I first wrote ayler <https://github.com/babysnakes/ayler/wiki> (a
> > simple namespace browser) I used to get the doc for namespace by running
> > something like this:
> >
> > (:doc (meta (find-ns 'some.namespace)))
> >
> > It used to work on all namespaces (IIRC I was working on clojure 1.4).
> >
> > Lately I noticed that it doesn't get the metadata. e.g.:
> >
> > user=> (require 'clojure.test)
> > nil
> > user=> (meta (find-ns 'clojure.test))
> > nil
> >
> > I'm not sure if it started on clojure 1.5 or 1.6, but the clojure.test
> > source does contain metadata doc.
> >
> > Did something change in the way we access namespace metadata?
> >
> > Thanks in advance
> >
> > Haim Ashkenazi
> >
> > On Wed, Oct 29, 2014 at 2:38 PM, Haim Ashkenazi <
> haim.ashken...@gmail.com>
> > wrote:
> >
> >> Hi
> >>
> >> When I first wrote ayler <https://github.com/babysnakes/ayler/wiki> (a
> >> simple namespace browser) I used to get the doc for namespace by running
> >> something like this:
> >>
> >> (:doc (meta (find-ns 'some.namespace)))
> >>
> >> It used to work on all namespaces (IIRC I was working on clojure 1.4).
> >>
> >> Lately I noticed that it doesn't get the metadata. e.g.:
> >>
> >> user=> (require 'clojure.test)
> >> nil
> >> user=> (meta (find-ns 'clojure.test))
> >> nil
> >>
> >> I'm not sure if it started on clojure 1.5 or 1.6.
> >>
> >> --
> >> Haim
> >>
> >
> >
> >
> > --
> > Haim
>
> --
>
> --
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Haim

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to