Hi, i am having a problem with a reader, it fails on b//
It is this function: https://github.com/anteoas/broch/blob/main/src/broch/core.cljc#L105
Any ideas what to do (or should I create a ticket for that)? Thank you!
I donβt see b// there. Would appreciate an issue with a repro, thank you!
FWIW:
user=> (e/parse-string "b//")
b//
user=> (namespace (e/parse-string "b//"))
"b"
user=> (name (e/parse-string "b//"))
"/"this is with edamame
This notebook also works fine:
(ns scratch
(:require [nextjournal.clerk :as clerk]
[clojure.core :as b]))
b//It looks like your exception is coming from rewrite-clj which depends on tools.reader. It would be interesting to see your deps tree. Perhaps it's pulling in an older version of tools.reader or so
ah wait, I can reproduce this with the newest rewrite-clj. seems like a bug in rewrite-clj then (or tools/reader). I'll get to the bottom of this. you can probably work around this for now by downgrading rewrite-clj
Ah, makes sense, it worked before we updated rewrite-clj or related. Thank you!
This fixes the issue: https://github.com/clj-commons/rewrite-clj/pull/324
Thanks @borkdude! I'll go ahead and cut a new release of rewrite-clj.
π
https://clojurians.slack.com/archives/C06MAR553/p1731936507492269
Thanks everybody, it was fast!