This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-12-08
Channels
- # adventofcode (15)
- # aleph (2)
- # announcements (1)
- # beginners (5)
- # biff (18)
- # cider (2)
- # clj-commons (13)
- # clj-kondo (7)
- # cljs-dev (7)
- # clojure-europe (23)
- # clojure-ireland (1)
- # clojure-nl (1)
- # clojure-norway (7)
- # clojure-spec (3)
- # clojure-uk (2)
- # cursive (21)
- # emacs (3)
- # honeysql (1)
- # humbleui (7)
- # hyperfiddle (6)
- # introduce-yourself (1)
- # london-clojurians (1)
- # nbb (8)
- # overtone (3)
- # re-frame (15)
- # shadow-cljs (12)
- # squint (12)
- # tools-deps (1)
- # xtdb (1)
does shadow-cljs
no longer support warnings
in the compiler opts?
:builds {:dev {:compiler {:optimizations :none
:warnings {:redef false}}}
this seems to do nothing
17:19:46 cljs.1 | ------ WARNING #1 - :redef -----------------------------------------------------
17:19:46 cljs.1 | Resource: no/en/core.cljc:131:1
17:19:46 cljs.1 | --------------------------------------------------------------------------------
17:19:46 cljs.1 | 128 | [s]
17:19:46 cljs.1 | 129 | (parse-number s #(#?(:clj Integer/parseInt :cljs js/parseInt) %1)))
17:19:46 cljs.1 | 130 |
17:19:46 cljs.1 | 131 | (defn parse-long
17:19:46 cljs.1 | -------^------------------------------------------------------------------------
17:19:46 cljs.1 | parse-long already refers to: cljs.core/parse-long being replaced by: no.en.core/parse-long
17:19:46 cljs.1 | --------------------------------------------------------------------------------
17:19:46 cljs.1 | 132 | "Parse `s` as a long number."
17:19:46 cljs.1 | 133 | [s]
17:19:46 cljs.1 | 134 | (parse-number s #(#?(:clj Long/parseLong :cljs js/parseInt) %1)))
17:19:46 cljs.1 | 135 |
17:19:46 cljs.1 | --------------------------------------------------------------------------------
✅ 1
shadow-cljs v 2.26.2
. trying to upgrade.
That did the trick. Thanks!