Tested this with Lein 2.0.0 and it works fine now. Thanks everybody for the 
quick response.

Thomas

On Friday, January 18, 2013 9:45:41 PM UTC, Andy Fingerhut wrote:
>
> Thanks, Chas.  Sorry for the noise. 
>
> I tested Thomas's bad case against the latest reply (version 0.1.8) 
> standalone, and the problem does not occur there or in version 0.1.7, but 
> it does in reply 0.1.6 standalone. 
>
> CCing Phil Hagelberg so he is aware of this for possible inclusion in 
> later versions of Leiningen. 
>
> Andy 
>
> On Jan 18, 2013, at 12:26 PM, Chas Emerick wrote: 
>
> > 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

Reply via email to