This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-02-08
Channels
- # announcements (2)
- # aws (1)
- # beginners (134)
- # calva (26)
- # cider (48)
- # cljdoc (41)
- # cljs-dev (12)
- # clojure (178)
- # clojure-brasil (1)
- # clojure-europe (16)
- # clojure-italy (30)
- # clojure-nl (13)
- # clojure-spec (118)
- # clojure-uk (81)
- # clojurescript (209)
- # community-development (77)
- # cursive (7)
- # datomic (23)
- # duct (6)
- # emacs (15)
- # events (2)
- # figwheel (13)
- # figwheel-main (18)
- # fulcro (4)
- # jackdaw (4)
- # jobs (6)
- # jobs-discuss (6)
- # kaocha (2)
- # lein-figwheel (3)
- # off-topic (4)
- # other-languages (22)
- # pathom (2)
- # pedestal (9)
- # perun (10)
- # portkey (1)
- # re-frame (41)
- # reagent (6)
- # reitit (4)
- # remote-jobs (1)
- # ring-swagger (6)
- # rum (5)
- # shadow-cljs (300)
- # sql (3)
- # test-check (6)
- # testing (7)
- # vim (1)
- # yada (9)
@magnars @john It would be interesting to know if the spurious warnings go away if the patch in this PR is applied https://github.com/bhauman/figwheel-core/pull/2
@mfikes running into this warning as well. thanks for the pointer, will give it a try as soon as i can
@mfikes I wiped a bunch of things and rebuilt things from scratch and it's humming right now and I'm testing things. If it pops back up, I'll see if that patch reverses the behavior.
How should I do this? Fork fighweel-core, then use my local repo as a :local/root
dep, and then do an exclusion in the figwheel-main coordinate?
Yeah, this seems to have worked:
com.bhauman/figwheel-core {:local/root "../figwheel-core"}
com.bhauman/figwheel-main {:mvn/version "0.2.0"
:exclusions [com.bhauman/figwheel-core]}
@john The root problem is that, with the defect in figwheel-core
, the ClojureScript compiler's internal use of cljs.analyzer/no-warn
doesn't really suppress warnings that it is intending to suppress. So, it may speculatively analyze something (with warnings intentionally suppressed), and with the defect, those warnings are actually not suppressed, but emitted.
@mfikes as this seems to only happen with the most recent clojurescript release, do you have some change between 1.10.439 and 516 in mind which could have brought this issue forward?
@kommen The new loop
/ recur
inference can cause an additional analysis pass to occur https://clojurescript.org/news/news#_improved_loop_recur_inference