Anyone know the origin of this difference between leiningen and boot?
lein repl
(.getFileName (first (.getStackTrace (ex-info "foo" {})))))
=> "NO_SOURCE_FILE"
boot repl
(.getFileName (first (.getStackTrace (ex-info "foo" {}))))
=> nil
Actually it's different per clojure version BOOT_CLOJURE_VERSION=1.10.0
(.getFileName (first (.getStackTrace (ex-info "foo" {}))))
nil
BOOT_CLOJURE_VERSION=1.9.0
(.getFileName (first (.getStackTrace (ex-info "foo" {}))))
"core.clj"
With leiningen and clojure 1.10 this is
(.getFileName (first (.getStackTrace (ex-info "foo" {}))))
"form-init8078393629915638095.clj"