hello 👋
I'm runing tests with lein doo and I'm getting this error
clojure.lang.ExceptionInfo: failed compiling file:out/clojure/core/rrb_vector/trees.cljs {:file #object[java.io.File 0x5b71ccf2 "out/clojure/core/rrb_vector/trees.cljs"], :clojure.error/phase :compilation}
....
Caused by: clojure.lang.ExceptionInfo: Wrong number of args (1) passed to: clojure.core.rrb-vector.nodes/ranges at line 25 out/clojure/core/rrb_vector/trees.cljs {:file "out/clojure/core/rrb_vector/trees.cljs", :line 25, :column 24, :tag :cljs/analysis-error}
at cljs.analyzer$error.invokeStatic(analyzer.cljc:719)
at cljs.analyzer$error.invoke(analyzer.cljc:715)
... 325 more
Caused by: clojure.lang.ArityException: Wrong number of args (1) passed to: clojure.core.rrb-vector.nodes/ranges
at cljs.analyzer$macroexpand_1_STAR_$fn__2736.invoke(analyzer.cljc:3930)
at cljs.analyzer$macroexpand_1_STAR_.invokeStatic(analyzer.cljc:3926)
at cljs.analyzer$macroexpand_1_STAR_.invoke(analyzer.cljc:3913)
... 325 more
Subprocess failed (exit code: 1)here's my cljsbuild test config
:test
{:source-paths ["src/ona/client"
"src/ona/plugins"
"src/ona/utils"
"test"
"test/ona/client"
"test/ona/plugins"
"test/ona/utils"]
:compiler {:output-to ~(cljs-target "main-test.js")
:output-dir ~(cljs-target "out-test")
:main ona.utils.test-runner
:optimizations :none
:language-in :ecmascript-next
:language-out :ecmascript-next
:pretty-print true
:source-map true
:asset-path ~(cljs-target "out-test")
:compiler-stats true
:foreign-libs
[{:file ~(js-dir "vendor/polyfill.js")}
{:file ~(js-dir "vendor/leaflet.js")}
{:file ~(js-dir "vendor/intro-1.0.0.min.js")}
{:file ~(js-dir "vendor/dropbox.js")
:provides ["Dropbox"]}
{:file ~(js-dir "vendor/osmtogeojson.js")}]}don't cross-post (#leiningen), please delete/edit at least one of the posts thanks!
cool
actually I found the solution to this one
something in by lein profile
sorry about cross-posting; when feeling stuck a person finds themself acting a little erratic
any idea what could be causing this?