This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-02-22
Channels
- # architecture (9)
- # beginners (90)
- # cider (98)
- # cljs-dev (23)
- # cljsrn (4)
- # clojure (101)
- # clojure-brasil (3)
- # clojure-dev (48)
- # clojure-italy (15)
- # clojure-losangeles (3)
- # clojure-russia (12)
- # clojure-uk (17)
- # clojured (1)
- # clojurescript (141)
- # community-development (15)
- # core-async (1)
- # datascript (12)
- # datomic (18)
- # docker (3)
- # emacs (1)
- # events (1)
- # figwheel (1)
- # fulcro (57)
- # graphql (4)
- # javascript (9)
- # jobs (1)
- # lein-figwheel (1)
- # leiningen (1)
- # lumo (1)
- # off-topic (68)
- # om (9)
- # om-next (3)
- # onyx (4)
- # parinfer (6)
- # pedestal (14)
- # portkey (2)
- # proton (1)
- # protorepl (19)
- # re-frame (57)
- # reagent (46)
- # ring-swagger (12)
- # shadow-cljs (167)
- # slack-help (5)
- # specter (18)
- # sql (1)
- # uncomplicate (3)
- # unrepl (1)
@bronsa Another appealing argument: If the established bindings are only in effect in the scope of binding
's body then some code can become more easy to reason about.
An illustrative example: The call to current-alias-map
here is currently affected by the env/*compiler*
and ana/*cljs-ns*
bindings being established a few lines earlier, even though those bindings are not really intended to be in effect until the body starts executing.
The above happens with normal compilation tooling FWIW
@richiardiandrea -c
is a main option, it must come last
so there was a :reload-all
in the ns
declaration, taking it out solved
cool yes I figured that out 😉
I will try to repro
^ I added a minimal repro that complies with https://clojurescript.org/community/reporting-issues
I wonder if it is a valid defect; it is not normal to put :reload-all
in an ns
form. Hrm.
agree, I mainly use it at the repl...at least we should emit a warning or something
today is either my unlucky day or I am doing very wrong things, this time I get a pg
not found error with the following: https://github.com/arichiardi/cljs-pg-error/blob/master/scripts/cljs_build.clj#L27
So, another Java 9 (Nashorn) issue to add to the list: https://dev.clojure.org/jira/browse/CLJS-2542 (AFAIKT, all the unresolved Java 9 issues are related to Nashorn.)
@richiardiandrea yeah :reload-all
is a REPL convenience (though technically I think this might work in Clojure)
kk cool, I am ok with that, it was still good reporting it
I am about to open another one for the pg
package, which compiles fine under lumo
, but not under cljs vanilla unless I am doing something very wrong
https://dev.clojure.org/jira/browse/CLJS-2544 btw sorry if it is not adhering to reporting, but I am isolating stuff as fast as I can from my actual project