Thanks Nicola, I stand corrected :)

However, It did work on 1.4 so there's something strange. Anyway, hope it
will be solved.

On Wed, Oct 29, 2014 at 3:20 PM, Nicola Mometto <[email protected]> wrote:

>
> I just tested for clojure.test and I'm getting nil with clojure
> 1.7.0-master-SNAPSHOT but the correct metadata when using master w/
> clj-130 patch.
>
> Haim Ashkenazi writes:
>
> > 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 <[email protected]>
> 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 <
> >> [email protected]>
> >> > 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 [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 unsubscribe from this group and stop receiving emails from it, send
> an
> >> email to [email protected].
> >> 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 [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 unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> 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 [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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to