On Fri, Mar 16, 2012 at 6:11 PM, Aaron <aaroncrael...@gmail.com> wrote:
> Is there any reason why ClojureScript does not return a source file and > line number when there are reader errors? All I get is a long stack trace > that only has line numbers for the clojure/clojurescript code that threw - > not very helpful. > > Looking at the source for cljs.compiler/compile-file* and > clojure.lang.LispReader, it seems like this information is readily > available. A simple catch clause could be added to compile-file* that > would wrap the exception with that information. I'd be willing a make a > patch and submit it Please do! David -- 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