This appears to be a more general issue that can be reproduced by sending "<invalid form> <valid form>" as a single command to the REPL. I was able to get similar behavior by sending in other types of malformed expressions. When I hit enter the second time, the valid form came through.
user=> :) 1 RuntimeException Invalid token: : clojure.lang.Util.runtimeException (Util.java:221) RuntimeException Unmatched delimiter: ) clojure.lang.Util.runtimeException (Util.java:221) user=> 1 user=> :a/ :result RuntimeException Invalid token: :a/ clojure.lang.Util.runtimeException (Util.java:221) user=> :result On Sat, Sep 17, 2016 at 7:14 PM, craig worrall < [email protected]> wrote: > > nREPL server started on port 37885 on host 127.0.0.1 - nrepl:// > 127.0.0.1:37885 > REPL-y 0.3.7, nREPL 0.2.12 > Clojure 1.9.0-alpha11 > OpenJDK 64-Bit Server VM 1.8.0_91-8u91-b14-0ubuntu4~14.04-b14 > Docs: (doc function-name-here) > (find-doc "part-of-name-here") > Source: (source function-name-here) > Javadoc: (javadoc java-object-or-class-here) > Exit: Control+D or (exit) or (quit) > Results: Stored in vars *1, *2, *3, an exception in *e > > user=> (::foo/bar {}) > > RuntimeException Invalid token: ::foo/bar clojure.lang.Util.runtimeException > (Util.java:221) > RuntimeException Unmatched delimiter: ) clojure.lang.Util.runtimeException > (Util.java:221) > user=> #_(::foo/bar {}) > {} > user=> > > but: > > nREPL server started on port 39659 on host 127.0.0.1 - nrepl:// > 127.0.0.1:39659 > REPL-y 0.3.7, nREPL 0.2.12 > Clojure 1.9.0-alpha11 > OpenJDK 64-Bit Server VM 1.8.0_91-8u91-b14-0ubuntu4~14.04-b14 > Docs: (doc function-name-here) > (find-doc "part-of-name-here") > Source: (source function-name-here) > Javadoc: (javadoc java-object-or-class-here) > Exit: Control+D or (exit) or (quit) > Results: Stored in vars *1, *2, *3, an exception in *e > > user=> #_(::foo/bar {}) > > user=> > > > > Craig > > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > [email protected] > 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
