This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-01-07
Channels
- # announcements (3)
- # beginners (124)
- # calva (60)
- # cider (81)
- # cljs-dev (65)
- # cljsrn (1)
- # clojure (268)
- # clojure-dusseldorf (2)
- # clojure-europe (3)
- # clojure-italy (9)
- # clojure-losangeles (1)
- # clojure-nl (22)
- # clojure-russia (3)
- # clojure-spec (24)
- # clojure-uk (34)
- # clojurescript (72)
- # code-reviews (8)
- # cursive (20)
- # datomic (32)
- # fulcro (49)
- # jobs (1)
- # jobs-discuss (15)
- # juxt (10)
- # lein-figwheel (10)
- # nrepl (4)
- # off-topic (37)
- # overtone (1)
- # portkey (2)
- # protorepl (8)
- # random (1)
- # re-frame (1)
- # reagent (43)
- # reitit (8)
- # ring (16)
- # ring-swagger (2)
- # rum (6)
- # shadow-cljs (63)
- # specter (2)
- # testing (32)
- # tools-deps (32)
- # unrepl (1)
- # vim (3)
hey all, seeing a weird bug in a figwheel repl running in cursive. trying to eval (clojure.string/escape "hello guv'nuh" {\' "\'"})
and getting an error like: clojure.lang.ExceptionInfo: <NO_SOURCE_FILE> [line 1, col 6] Unsupported escape character: \'. {:type :reader-exception, :ex-kind :reader-error, :file "<NO_SOURCE_FILE>", :line 1, :col 6}
can’t say whether that’s a figwheel issue or a cursive issue but per someone who was helping out in the beginners chat, he got that statement to eval just fine in cider/emacs
I think you want this: (clojure.string/escape "hello guv'nuh" {\' "\\'"})
maybe?
:thinking_face:
but looking for a single slash as the string is read further down and that quote needs to be escaped
Yeah, let me check something, spinning up a figwheel repl now
:thumbsup:
@cfleming Hey, wondering if there is a way to make the static checking happy about things like (.preventDefault e)
I can wrap it but that is annoying and getting false flags about errors that are really errors makes it hard to trust what cursive is saying