This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-11-07
Channels
- # aleph (15)
- # beginners (186)
- # boot (11)
- # bristol-clojurians (1)
- # clara (1)
- # cljdoc (2)
- # cljs-dev (5)
- # clojure (57)
- # clojure-austin (1)
- # clojure-dev (87)
- # clojure-italy (7)
- # clojure-spec (5)
- # clojure-uk (56)
- # clojurescript (18)
- # cursive (29)
- # data-science (10)
- # datomic (84)
- # duct (83)
- # figwheel-main (4)
- # fulcro (42)
- # jobs (3)
- # lambdaisland (2)
- # off-topic (28)
- # parinfer (3)
- # portkey (3)
- # re-frame (28)
- # reitit (7)
- # remote-jobs (8)
- # shadow-cljs (29)
- # spacemacs (30)
- # specter (6)
- # sql (8)
- # tools-deps (60)
Hello. With latest shadow-cljs and clojurescript I am getting theese warnings:
------ WARNING #1 --------------------------------------------------------------
File: com/rpl/specter.cljc:1275:19
--------------------------------------------------------------------------------
1272 | ns (namespace structure)]
1273 | (cond (keyword? structure) (keyword ns new-name)
1274 | (symbol? structure) (symbol ns new-name)
1275 | :else (i/throw-illegal "NAME can only be used on symbols or keywords - " structure)
-------------------------^------------------------------------------------------
Use of undeclared Var com.rpl.specter/java
--------------------------------------------------------------------------------
1276 | ))))
1277 |
1278 | (defnav ^{:doc "Navigates to the namespace portion of the keyword or symbol"}
1279 | NAMESPACE
--------------------------------------------------------------------------------
------ WARNING #2 --------------------------------------------------------------
File: com/rpl/specter.cljc:1288:19
--------------------------------------------------------------------------------
1285 | new-ns (next-fn (namespace structure))]
1286 | (cond (keyword? structure) (keyword new-ns name)
1287 | (symbol? structure) (symbol new-ns name)
1288 | :else (i/throw-illegal "NAMESPACE can only be used on symbols or keywords - " structure)
-------------------------^------------------------------------------------------
Use of undeclared Var com.rpl.specter/java
--------------------------------------------------------------------------------
1289 | ))))
1290 |
1291 | (defdynamicnav
1292 | ^{:doc "Adds the result of running select with the given path on the
--------------------------------------------------------------------------------
I had some warnings about js
in my project, so I think it is connected to the new type interence in latest clojurescript
@pepe the cljs throw-illegal
is:
(defn throw-illegal [& args]
(throw (js/Error. (apply str args)))))
there's no var named java
in the specter source
sounds like a cljs issue