I guess the line numbers aren't missing, just ... behaving weirdly.

If I make a file "test.clj"  with just one line:

(defrecord foo [bar] :as this)

and start up a fresh, bare REPL:

user=> (use 'test)
java.lang.IllegalArgumentException: Unsupported option(s) - :as
(test.clj:1)
user=> (use 'test)
java.lang.IllegalArgumentException: Unsupported option(s) - :as
(test.clj:2)
user=> (use 'test)
java.lang.IllegalArgumentException: Unsupported option(s) - :as
(test.clj:3)
user=> (use 'test)
....

Line numbers for some other exceptions seem to be behaving properly.

-Jason


On Jul 30, 5:38 pm, Jason Wolfe <jawo...@berkeley.edu> wrote:
> I'm converting my ~30Kloc project to 1.2 RC1 from a months-old
> snapshot, and so far it's been smooth sailing.  One thing I've
> noticed, however, is that defrecord "parse error" exceptions seem to
> be missing line numbers.
>
> The example I ran into was
> user> (defrecord foo [bar] :as this )
> ; Evaluation aborted.
>
> but I think there may be other similar cases.
>
> Loving the great new features, thanks!
>
> -Jason

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