This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-03
Channels
- # bangalore-clj (2)
- # beginners (29)
- # boot (52)
- # cider (4)
- # clara (3)
- # cljs-dev (34)
- # cljsjs (7)
- # cljsrn (3)
- # clojure (71)
- # clojure-austin (1)
- # clojure-dev (5)
- # clojure-france (20)
- # clojure-russia (51)
- # clojure-spec (9)
- # clojure-uk (20)
- # clojurescript (131)
- # core-async (56)
- # core-logic (6)
- # cursive (50)
- # datascript (19)
- # datomic (16)
- # dirac (118)
- # emacs (100)
- # events (4)
- # hoplon (14)
- # incanter (1)
- # jobs (7)
- # jobs-discuss (96)
- # jobs-rus (21)
- # lein-figwheel (5)
- # leiningen (21)
- # off-topic (11)
- # om (45)
- # onyx (42)
- # pamela (1)
- # pedestal (22)
- # portland-or (3)
- # re-frame (8)
- # reagent (5)
- # ring (9)
- # robots (1)
- # spacemacs (14)
- # specter (28)
- # sql (2)
- # untangled (165)
Just replaced the patch in http://dev.clojure.org/jira/browse/CLJS-1960 with one containing this fix ^ /cc @spinningtopsofdoom
I wonder if this is only place where full analyze result is included in warning extra data: https://github.com/clojure/clojurescript/blob/a3a242236e7757a179fd16dd9b86767a73a8cb5d/src/main/clojure/cljs/analyzer.cljc#L2823
I hit problems in boot-cljs as I need to move the warning data between classpaths and printing that value doesn't seem to work
specifically it is analyze result :env
which is unprintable (perhaps it is just very large, or maybe it contains some circular references)
@juhoteperi yeah :env
can have a lot of redundant info (there may be cases where it’s circular but I don’t remember)
For now I fixed this by dissocing :env
from :fexpr
(in boot-cljs)
I wonder if it would make sense to change :fn-deprecated
and :invoke-ctor
extra data from analyze result to only include :info
?
@anmonteiro With the new patch I can't run module_deps.js
since Object.values
is not available for node v6.10.0
but is available for v7.7.1
The fix you made works once Object.values
is worked around
@spinningtopsofdoom ah interesting, I didn't know about that Object.values
limitation
I can get that fixed, we definitely wanna support Node.js v6.x
@spinningtopsofdoom the patch in http://dev.clojure.org/jira/browse/CLJS-1960 should now be Node v.6.x compatible!
as always, any feedback appreciated
Works for me with node v6+ and a mixture of manual dependencies and npm-deps
. Great job, thanks for all your work.
that’s awesome!
@spinningtopsofdoom just deployed a little performance optimization to the patch, would you mind testing it’s still backwards compatible to Node v6?
by “deployed” I mean attached a new patch to CLJS-1960
Sure testing right now
It still works
great. I’m quite satisfied with where the patch is at right now
I’d say
and then I'd work on the upstream deps.cljs
integration during the weekend
@anmonteiro is this also taking into consideration the npm
"browser"
issue ?
I fixed that yesterday I think
or the day before
ok so I'll try it again on the repro repl thanks!
@richiardiandrea you’ll probably get a Closure Compiler error with aws-sdk
. https://github.com/google/closure-compiler/issues/2345
if you can narrow it down, I appreciate it
for me it has only ever happened with that package, which is huge
Yeah that is why I wanted to try it 😀
yeah, any help narrowing that one down appreciated