Last active
April 23, 2019 03:49
-
-
Save souenzzo/e23944fac595077f372aa662cde5ff91 to your computer and use it in GitHub Desktop.
import do not search for cljc files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; should work, once it was required first | |
;; clj -Srepro -Sdeps '{:deps {import-bug {:git/url "https://gist.github.com/souenzzo/e23944fac595077f372aa662cde5ff91" :sha "fd49010c7fee88bc3fb705d5fd494718bbd16f18"}}}' -m ok | |
;; should fail, once import will not search for cljc files | |
;; clj -Srepro -Sdeps '{:deps {import-bug {:git/url "https://gist.github.com/souenzzo/e23944fac595077f372aa662cde5ff91" :sha "fd49010c7fee88bc3fb705d5fd494718bbd16f18"}}}' -m fail | |
{:paths ["."] | |
:deps {org.clojure/clojure {:mvn/version "1.10.1-beta2"}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns fail | |
(:import (record MyRecord))) | |
(defn -main [& _] (prn "fail?")) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns ok | |
(:require record) | |
(:import (record MyRecord))) | |
(defn -main [& _] (prn "fail?")) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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