On Oct 11, 1:59 pm, Robert Stehwien <[email protected]> wrote:
> Using clojure 1.1.0-alpha-SNAPSHOT I get an unexpected error when compiling
> a ns with metadata but nothing else.  The same metadata with a require or
> use form works.  Should I be using something else or is this an actual bug?

Metadata goes before the symbol, not after it. So:

> (ns com.arcanearcade.clojure.utils.regex-utils
>   #^{:author "Robert Stehwien",
>      :doc "Clojure regular expression utilities"}
>   (:require [clojure.contrib.java-utils :as ju]))

Is actually putting the metadata on the (:require ...) list.

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

Reply via email to