Fork me on GitHub
#cursive
<
2020-02-25
>
thumbnail07:02:19

I am seeing some unexpected behaviour with leiningen in cursive witht the following project.clj. Using lein repl writes java-file.txt and clj-file.txt both with the PWD. Using the cursive repl java-file.txt contains "/Applications/IntelliJ IDEA " , wherease clj-file.txt still contains the PWD. :thinking_face:

vemv08:02:30

it crossed my mind, maybe Cursive has its own String protocol implementation, overriding Clojure's?

cfleming08:02:36

The short answer here is to use jio/file instead of (File.) because Cursive can do magic to the first to make things like this work.

👍 8