boot

:boot-clj: https://boot-clj.github.io/ — build tooling for Clojure. Dev chat in #boot-dev
2019-05-09T12:43:17.105200Z

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

2019-05-09T13:17:02.105700Z

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"

2019-05-09T13:21:30.106200Z

With leiningen and clojure 1.10 this is

(.getFileName (first (.getStackTrace (ex-info "foo" {}))))
"form-init8078393629915638095.clj"