Fork me on GitHub
#rewrite-clj
<
2019-09-28
>
sogaiu08:09:46

@lee does the following work for you?

(require '[rewrite-clj.zip :as rz])
  
  (let [p-zloc (-> (str ""
                     "a760439b5084937a556712d6ee056e95f4f075c7"
                     "/src/main/cljs/cljs/test.cljs")
                 slurp
                 (rz/of-string {:track-position? true}))]
    (-> p-zloc
      rz/down
      rz/string))

sogaiu08:09:20

i get: > Execution error at rewrite-clj.reader/throw-reader (reader.clj:18). > :reader-macro node expects 2 values. [at line 376, column 20]

lread13:09:50

Hi @sogaiu! I might as well migrate those issues and fixes over to my playground. Thanks for the reminder!

sogaiu14:09:51

cool. i didn't see any fixes - am i missing something?

lread15:09:55

only that I haven’t done them yet! simple_smile

sogaiu15:09:25

🙂 well, good luck with the fixes then 🙂

lread17:09:30

Ok @sogaiu, I have committed a fix to the playground. Please let me know if you find any issues! simple_smile