Good day everyone, I inadvertently passed a double to a timeout channel and discovered the following behavior:
user=> (require '[clojure.core.async :as a]) nil user=> (a/timeout 100.0) #<ManyToManyChannel clojure.core.async.impl.channels.ManyToManyChannel@1009d11d> user=> Exception in thread "clojure.core.async.timers/timeout-daemon" java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Long at java.lang.Long.compareTo(Long.java:50) at java.util.concurrent.ConcurrentSkipListMap.doRemove(ConcurrentSkipListMap.java:1064) at java.util.concurrent.ConcurrentSkipListMap.remove(ConcurrentSkipListMap.java:1896) at clojure.core.async.impl.timers$timeout_worker.invoke(timers.clj:61) at clojure.lang.AFn.run(AFn.java:24) at java.lang.Thread.run(Thread.java:722) user=> (.isAlive clojure.core.async.impl.timers/timeout-daemon) false I'm using 0.1.242.0-44b1e3-alpha. -- -- 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.