Hi, I don't know if this is "serious" enough to open an issue, maybe I am doing something wrong. My build is failing because of this spec:
clojure.lang.ExceptionInfo: Spec assertion failed
{:publics ()} - failed: (contains? % :name) in: [:analysis "cljs" 1 0] at: [:analysis 1] spec: :cljdoc.analysis/namespace
{:author "Adam Helinski", :publics ()} - failed: (contains? % :name) in: [:analysis "cljs" 1 1] at: [:analysis 1] spec: :cljdoc.analysis/namespace
It is weird, I don't think I have changed anything in the ns form relative to the previous version of this project. Anyway, on my end of things everything works.@adam678 Link to the project in question?
I assume it's this https://github.com/dvlopt/dsim.cljc/blob/master/src/dvlopt/dsim.cljc (or at least, one of the namespaces in that project)?
Hi Sean, no it's dvlopt/fdat
: https://cljdoc.org/builds/29873
I reckon I did add a conditional reader in (:require)
on cljs.analyzer.api
but it shouldn't make a difference. And the package works fine.
https://github.com/dvlopt/fdat.cljc/blob/develop/src/dvlopt/fdat.cljc
Ah, so for the cljs case, you end up with (:require)
which is illegal.
That's not a http://cljdoc.org problem, as far as I know, that's just ClojureScript rejecting your code.
(if cljs accepts that, I'd be surprised -- but it certainly doesn't look valid to me)
Right, I see how that could be a problem. I added the second reader without thinking about it. However, it works! That is why I didn't get alarmed and didn't notice the obvious. Nonetheless I'll change it