user=> (defn foo []
  ; 2*a/b
)
NumberFormatException Invalid number: 2*a
clojure.lang.LispReader.readNumber (LispReader.java:258)
RuntimeException Unmatched delimiter: )  clojure.lang.Util.runtimeException
(Util.java:219)
RuntimeException Unmatched delimiter: )  clojure.lang.Util.runtimeException
(Util.java:219)
RuntimeException Unmatched delimiter: )  clojure.lang.Util.runtimeException
(Util.java:219)
RuntimeException Unmatched delimiter: )  clojure.lang.Util.runtimeException
(Util.java:219)
#'mercator.core/foo
RuntimeException Unmatched delimiter: )  clojure.lang.Util.runtimeException
(Util.java:219)
RuntimeException Unmatched delimiter: )  clojure.lang.Util.runtimeException
(Util.java:219)
user=>

This happens at the REPL in clooj 0.4.0 but not clooj 0.2.8. It also
affects loading from a source window. Any semicolon comment containing a
whitespace-delimited substring that starts with a digit and contains a
forward slash seems to trigger it, even though it should not be trying to
read anything on a line after ; with the LispReader at all.

This might not be confined to clooj; it could be a problem with one or
another version of clojure.core's REPL and/or lein repl and/or nrepl. It's
easy to test by pasting the above dummy function definition into any REPL
that has a paste capability, and short enough to just type at one that
doesn't.

I'm aware that there's a clooj 0.4.1; but it hangs on startup on my machine
so I can't test on it.

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to