Skip to content

Commit 1397626

Browse files
authored
Merge pull request #348 from clj-commons/lread-misc-2025-02-14
misc maint
2 parents f65307e + 2a7b5ed commit 1397626

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

deps.edn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
{;; for disabling the official compiler
3737
:classpath-overrides {org.clojure/clojure nil}
3838
:extra-deps {com.github.flow-storm/clojure {:mvn/version "1.12.0-3"}
39-
com.github.flow-storm/flow-storm-dbg {:mvn/version "4.1.1"}}
39+
com.github.flow-storm/flow-storm-dbg {:mvn/version "4.1.2"}}
4040
:jvm-opts ["-Dclojure.storm.instrumentEnable=true"]}
4141

4242
:nrepl/jvm
@@ -156,7 +156,7 @@
156156
;;
157157
;; Deployment
158158
;;
159-
:build {:deps {io.github.clojure/tools.build {:mvn/version "0.10.6"}}
159+
:build {:deps {io.github.clojure/tools.build {:mvn/version "0.10.7"}}
160160
:extra-paths ["src" "build"]
161161
:ns-default build}
162162

script/test_libs.clj

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -412,15 +412,11 @@
412412
:show-deps-fn cli-deps-tree
413413
:test-cmds ["clojure -M:test"]}
414414
{:name "rewrite-edn"
415-
;; very temporarily use sha of my PR that addresses failure
416-
;; move back to release when PR is merged
417-
:version "5659a1f650514d18c2356edeca16662e860ddd92"
415+
:version "0.4.9"
418416
:platforms [:clj]
419417
:github-release {:repo "borkdude/rewrite-edn"
420-
;; very temporarily use sha of PR that addresses failure
421-
;; :version-prefix "v"
422-
;; :via :tag
423-
:via :sha}
418+
:version-prefix "v"
419+
:via :tag}
424420
:patch-fn deps-edn-v1-patch
425421
:show-deps-fn cli-deps-tree
426422
:test-cmds ["clojure -M:test"]}

test/rewrite_clj/zip/test_helper.cljc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,14 @@
5252
rows 0]
5353
(if (not zloc)
5454
(inc rows)
55-
(if (or (z/linebreak? zloc) (n/comment? (z/node zloc)))
55+
(cond
56+
(z/linebreak? zloc)
57+
(recur (z/prev* zloc) (long (+ rows (z/length zloc))))
58+
59+
(n/comment? (z/node zloc))
5660
(recur (z/prev* zloc) (inc rows))
61+
62+
:else
5763
(recur (z/prev* zloc) rows)))))
5864

5965
(defn- col-num [zloc]

0 commit comments

Comments
 (0)