This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-05-25
Channels
- # beginners (27)
- # boot (49)
- # cider (51)
- # cljs-dev (29)
- # cljsjs (1)
- # cljsrn (19)
- # clojure (59)
- # clojure-austin (2)
- # clojure-belgium (19)
- # clojure-china (1)
- # clojure-dev (14)
- # clojure-dusseldorf (7)
- # clojure-russia (8)
- # clojure-spec (115)
- # clojure-uk (45)
- # clojurescript (118)
- # css (6)
- # cursive (8)
- # datascript (20)
- # datomic (32)
- # emacs (5)
- # events (2)
- # flambo (21)
- # hoplon (58)
- # incanter (8)
- # jobs-rus (1)
- # jobs_rus (1)
- # off-topic (3)
- # om (22)
- # om-next (9)
- # onyx (5)
- # other-languages (79)
- # re-frame (126)
- # reagent (6)
- # ring (7)
- # specter (1)
- # untangled (119)
- # yada (38)
For instance it would be good for each error to have a unique tag ie. :if-form-too-many-arguments
Also having the form that the error is on (where available) would enable error reporting even further.
I'm thinking Elm style, using all available information to tell a more complete story about the error.
@bhauman: something think about but probably not something I’m interested until after we merge all the clojure.spec stuff in (which does macro validation etc.)
clojure.spec is high priority so there’s a good chance there’ll be lot of progress on Friday
I am interested in whatever is needed to make sure downstream tooling can provide richer error reporting
@dnolen: Thanks! Having a form with the error, the form can be an optional 4th arg to analyzer/error
https://github.com/clojure/clojurescript/blob/master/src/main/clojure/cljs/analyzer.cljc#L576
I am experiencing a really strange clojurescript bug. I’ve created a repo explaining it here: https://github.com/ducky427/cljs-bug
Essentially a map I am getting back from converting an edn string to a map using cljs.reader/read-string
isn’t behaving like a map at all in the sense of allowing key lookups.
and this weirdness only occurs under some very very particular circumstances
I’ve been able to able to narrow it down to as little user code as possible. (edited)
and its possible to reproduce it without the use of lein or boot or any library
Any help would be really appreciated. A co-worker and I have spent better part of 2 days to figure it out and are completely lost now.
follow up on the above issue: i’ve created a repo to reproduce this issue in the browser as well: https://github.com/ducky427/cljs-bug-browser