This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-12-15
Channels
- # adventofcode (121)
- # bangalore-clj (5)
- # beginners (46)
- # boot-dev (9)
- # cider (20)
- # cljs-dev (7)
- # cljsrn (1)
- # clojure (341)
- # clojure-austin (7)
- # clojure-greece (144)
- # clojure-india (3)
- # clojure-italy (5)
- # clojure-spain (1)
- # clojure-spec (34)
- # clojure-sweden (3)
- # clojure-uk (90)
- # clojurescript (24)
- # core-async (1)
- # core-logic (7)
- # cursive (108)
- # datascript (2)
- # datomic (39)
- # events (1)
- # fulcro (225)
- # graphql (8)
- # hoplon (86)
- # instaparse (12)
- # jobs-discuss (2)
- # jvm (4)
- # keechma (1)
- # lein-figwheel (2)
- # leiningen (12)
- # off-topic (26)
- # onyx (35)
- # other-languages (1)
- # pedestal (3)
- # planck (11)
- # re-frame (12)
- # reagent (12)
- # reitit (5)
- # spacemacs (48)
- # specter (29)
- # sql (2)
- # test-check (1)
- # unrepl (71)
Is it valid for cljs.analyzer/all-ns
to return a set containing nil
?
Somehow I end up with this:
(prn (get-in @state [::ana/namespaces nil]))
{:cljs.spec/registry-ref [], :cljs.spec/speced-vars []}
(This is a big project and most likely something is just wrong but it would be nice if the compiler gave a more informative error message at a point in time where it has more context)I’ve tried figuring out how this happens but haven’t had any success really. The value of the nil
key seems to indicate that the state is inserted in cljs.analyzer/dump-specs
but I put a println there and it seems that it’s only called once for cljs.core
.
Any other suggestions how I can figure out where this is added to the analyzer state?
For global caching, including the JAR name in cache path calculation would prevent, for example, cached items from core.async-0.3.465.jar
colliding with andare-0.8.0.jar
. (The latter has namespaces that purposefully match the former.)
I’ve tried figuring out how this happens but haven’t had any success really. The value of the nil
key seems to indicate that the state is inserted in cljs.analyzer/dump-specs
but I put a println there and it seems that it’s only called once for cljs.core
.
Any other suggestions how I can figure out where this is added to the analyzer state?
Is there a way to delete attachments from JIRA? I uploaded like 5 broken patches 🙈