This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-08
Channels
- # aws (21)
- # beginners (62)
- # boot (29)
- # chestnut (1)
- # cider (110)
- # cljs-dev (37)
- # clojure (93)
- # clojure-berlin (1)
- # clojure-dev (10)
- # clojure-greece (4)
- # clojure-italy (5)
- # clojure-new-zealand (1)
- # clojure-spec (6)
- # clojure-uk (46)
- # clojurebridge (1)
- # clojurescript (54)
- # cryogen (1)
- # cursive (22)
- # datomic (72)
- # emacs (2)
- # events (3)
- # flambo (1)
- # hoplon (88)
- # jobs (6)
- # juxt (51)
- # lein-figwheel (1)
- # leiningen (3)
- # lumo (12)
- # mount (4)
- # off-topic (3)
- # onyx (3)
- # pedestal (4)
- # portkey (27)
- # re-frame (13)
- # reagent (1)
- # ring (4)
- # rum (2)
- # uncomplicate (1)
- # unrepl (3)
Huh, this inferrred extern problem is strange: https://dev.clojure.org/jira/browse/CLJS-2347
I haven't been able to reproduce it without boot-cljs, but if I provide extern with line var COMPILED;
I get the same exception with just Cljs compiler
and hadn’t had time to look into this more yet. I was wondering if this var COMPILED;
output is new since the latest clojurescript version
as blickly noted in the closure issue, the closure compiler hasn’t really changed in that area
Someone mentioned on Github issues that latest snapshot fixes this
Haven't yet had time to test myself
looks like the latest alpha 20's ##
reader breaks CLJS https://groups.google.com/d/msg/clojure/IB2CaORBMnM/10gbiiHUDAAJ
@john probably until tools.reader gets updated and released
that functionality was always speculative (imo should not have been in tools.reader)
@alexmiller agreed that it shouldn't have
@john I don’t really understand that report, since it doesn’t demonstrate how to reproduce
oh ok, I guess the original report was probably saying [NaN NaN]
is now maybe problematic.
there was an older patch on the CLJ-1074 ticket that speculatively introduced new special symbols Inf, -Inf, NaN. That was speculatively implemented in tools.reader, so probably worked in CLJS.
I didn't understand why this patch was rejected based on the comments. Is there somewhere for me to learn?
you mean the older patch on CLJ-1074?
I don’t think there was anything broken with it, just Rich decided it was better not to create any more “special” symbol values. The only three that exist in Clojure now are true, false, and nil.
based on what @alexmiller has said this sounds like a bug in tools.reader
The approach ultimately implemented for CLJ-1074 was to introduce new dispatch character and to use ##Inf, ##-Inf, ##NaN
for portability, I’d say CLJS should use those (and NOT use Inf, -Inf, NaN)