If you look at the Compiler.java at the specified line in the exception it
shouldn't be too hard to see what's going on. The Compiler looks for :line
in the metadata on the form. In 1.3 literals are long so it seems likely
that Longs are being attached to the form. Just make sure if you are attach
:line metadata that you wrap with (Integer. n)

I'm skeptical this affects 1.2. As far as why you don't see any compiler
errors with the fully macroexpanded form I suspect that the metadata
swizzling is happening during expansion.

David

On Tue, Dec 20, 2011 at 12:46 PM, Brian Marick <mar...@exampler.com> wrote:

> On Dec 20, 2011, at 11:44 AM, David Nolen wrote:
>
> > Are you attaching line metadata yourself?
>
> Yes... What type should it be?
>
>
>
> -----
> Brian Marick, Artisanal Labrador
> Now working at http://path11.com
> Contract programming in Ruby and Clojure
> Occasional consulting on Agile
>
>
> --
> 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 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