ITADN

zprint hangs with the sort-require style in cljc

#346ClosedRolT 创建于 2025-01-31
R
RolTcommented
Hello, I'm encountering an issue with the sort-require function for specific files. Trying to format the following code ```clojure (ns a (#?(:clj :require :cljs :require-macros) [b])) ``` with the style `:sort-require` hangs. Small repro: ```clojure (zp/zprint-file-str "(ns a (#?(:clj :require :cljs :require-macros) [b]))" "example" {:style [:sort-require]}) ``` Note: it's not blocking for our codebase, I got rid of that require style anyway.
关闭于 2025-05-20 4 条评论