Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Field notation returns garbage suggestion #31

kumarshantanu opened this Issue · 2 comments

2 participants


For the s-expr (. Thread (sleep (read-string sleep-time))) Kibit 0.0.3 suggests (.clojure.lang.LazySeq@7bcd9a98 Thread)


The suggestion should be (Thread/sleep (read-string sleep-time)). I'll try to fix this, thanks for the report!


You may also like to consider this:

Thread/sleep can potentially throw InterruptedException. It is a very common error not to catch that exception. Ideally, the sleep usage should look like this:

(try (Thread/sleep number-of-milliseconds)
  (catch InterruptedException e
    (.interrupt (Thread/currentThread))))
@jonase jonase referenced this issue from a commit
@jonase fixed issue #31 0f6bbc6
@jonase jonase closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.