Skip to content

Instantly share code, notes, and snippets.

Last active Apr 23, 2019
What would you like to do?
import do not search for cljc files
;; should work, once it was required first
;; clj -Srepro -Sdeps '{:deps {import-bug {:git/url "" :sha "fd49010c7fee88bc3fb705d5fd494718bbd16f18"}}}' -m ok
;; should fail, once import will not search for cljc files
;; clj -Srepro -Sdeps '{:deps {import-bug {:git/url "" :sha "fd49010c7fee88bc3fb705d5fd494718bbd16f18"}}}' -m fail
{:paths ["."]
:deps {org.clojure/clojure {:mvn/version "1.10.1-beta2"}}}
(ns fail
(:import (record MyRecord)))
(defn -main [& _] (prn "fail?"))
(ns ok
(:require record)
(:import (record MyRecord)))
(defn -main [& _] (prn "fail?"))
(ns record)
(defrecord MyRecord [] :load-ns true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment