On Dec 20, 2011, at 12:11 PM, David Nolen wrote: > 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)
Thanks! > 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. Yes. I was just adding 1.4 to the backwards-compatibility suite and noticed a bug. The change-clojure-version script wasn't changing part of the suite - the part I put the Long->Int regression test in. Sigh. ----- 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