planck-repl / planck

Stand-alone ClojureScript REPL
https://planck-repl.org
Eclipse Public License 1.0
1.03k stars 68 forks source link

Show error for inline deps issues #976

Open mfikes opened 5 years ago

mfikes commented 5 years ago

Compare

$ plk -Sdeps '{:deps {cljc.java-time {:mvn/version "0.1.1"}}'
$ clj -Sdeps '{:deps {cljc.java-time {:mvn/version "0.1.1"}}'
Error while parsing option "--config-data {:deps {cljc.java-time {:mvn/version \"0.1.1\"}}": java.lang.RuntimeException: EOF while reading
pyrmont commented 5 years ago

Just to be clear, the error is that there's a missing closing brace?

mfikes commented 5 years ago

@pyrmont In this case, the inline edn is indeed missing a closing brace, but if you try that plk line, it silently fails, whereas clj gives more detail.