Using up-to-date clojure and swank-clojure, I've not been able to use
read-line:

- In Emacs (with Slime / swank-clojure), (read-line) never stops
consuming inputs

- Running clojure directly from a terminal console, (read-line) always
returns ""

This exception is also thrown when starting Swank:
user=> Exception in thread "Call-on-write Stream"
java.lang.RuntimeException: java.lang.IllegalArgumentException: No
matching method found: sleep for class java.lang.Class
        at clojure.lang.AFn.run(AFn.java:42)
        at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.IllegalArgumentException: No matching method
found: sleep for class java.lang.Class
        at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:48)
        at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28)
        at swank.util.io$call_on_flush_stream__153$fn__164.invoke(io.clj:31)
        at clojure.lang.AFn.run(AFn.java:38)
        ... 1 more

These might be two unrelated bugs: one in Clojure and one in Swank.
Has anyone encountered them before?

Thanks,

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