Looks like a reply issue. The expression in question evals fine in ccw with the latest nREPL, and in lein 2.0.0-beta10 (which used some beta of reply 0.1.0) with the latest nREPL. Lein 2.0.0-RC2 with reply 0.1.6 is affected, though.
- Chas On Jan 18, 2013, at 3:13 PM, Andy Fingerhut wrote: > This issue appears to be unique to using a Leiningen version 2 REPL. > > It does not occur if using "java -cp clojure.jar clojure.main" to get a REPL, > nor with Leiningen version 1.7.1. > > CCing nrepl developer Chas Emerick in case this might be an issue with nrepl, > but I haven't attempted to localize the problem any further than mentioned > above. > > Andy > > On Jan 18, 2013, at 11:32 AM, Thomas wrote: > >> Hi, >> >> When I run this in my REPL I get an exception and the REPL exits: >> >> user=> (clojure.string/split "asdfsa;asdf;asdf" #";" ) >> Exception Ambiguous match for ";\" )" by #<Object[] >> [Ljava.lang.Object;@77237723> >> net.cgrand.parsley.lrplus/array-union/fn--4060 (lrplus.clj:91) >> net.cgrand.parsley.lrplus/matchers-union/fn--4072 (lrplus.clj:118) >> net.cgrand.parsley.lrplus/step1 (lrplus.clj:166) >> net.cgrand.parsley.lrplus/step (lrplus.clj:190) >> net.cgrand.parsley/stepper/self--4854 (parsley.clj:39) >> net.cgrand.parsley/stepper/self--4854 (parsley.clj:36) >> reply.eval-modes.nrepl/parsed-forms (nrepl.clj:72) >> reply.eval-modes.nrepl/parsed-forms (nrepl.clj:66) >> reply.eval-modes.nrepl/run-repl (nrepl.clj:103) >> reply.eval-modes.nrepl/main (nrepl.clj:189) >> reply.main/launch-nrepl/fn--5375 (main.clj:60) >> clojure.core/with-redefs-fn (core.clj:6585) >> Bye for now! >> >> If I do use #"\;" (note the \ in there) it works as expected. >> >> Surely this is unexpected (the REPL ending that is), but what about escaping >> the ; It is after all in a string and I wouldn't expect it to be seen as a >> comment. >> >> REPL-y 0.1.6 >> Clojure 1.4.0 >> >> Are my versions. >> >> TIA, >> Thomas >> >> -- >> 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 -- 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