You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on some OSS projects that are a mono-repo and the version is shared into the microservices. Below is an example project.clj
(defn ver [] "1.10.1") ; originally (defn ver [] (-> "../ver/project.version" slurp .trim)))
(defproject error "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
:url "https://www.eclipse.org/legal/epl-2.0/"}
:dependencies [[org.clojure/clojure #=(ver)]]
:repl-options {:init-ns error.core})
You won't be able to jack-in as the cljs.tools.reader library does not support read-eval
So you will get Error: read-eval not supported while trying to parse-forms
I propose to change the following parse.cljs#L36 to (let [pbr (rt/string-push-back-reader (str/replace s #"#=\(" "#_("))] ultimately ignoring the eval.
Please let me know if you are happy with this approach and I will open a PR for this change.
The text was updated successfully, but these errors were encountered:
If this works for you it seems fine to change, but I don't know what other implications there could be (if it would affect parsing negatively in any scenarios, but likely not). I'll defer to @PEZ to decide.
Hi
I am working on some OSS projects that are a mono-repo and the version is shared into the microservices. Below is an example project.clj
You won't be able to jack-in as the
cljs.tools.reader
library does not support read-evalSo you will get
Error: read-eval not supported
while trying toparse-forms
I propose to change the following parse.cljs#L36 to
(let [pbr (rt/string-push-back-reader (str/replace s #"#=\(" "#_("))]
ultimately ignoring the eval.Please let me know if you are happy with this approach and I will open a PR for this change.
The text was updated successfully, but these errors were encountered: