ITADN

Latest rewrite-clj update exposes issues when justifying "~`" elements

#353Closedkkinnear 创建于 2025-04-05
K
kkinnearcommented
The apparent size of elements which contain "~`" have changed, and this has changed the justification of other elements. This is likely a bug, since these elements don't appear to actually end up participating in the justification. In particular, this is the result of one test: ``` (ns ^:no-doc zprint.zprint (:require ~`[zprint.config :refer [validate-options merge-deep]] [rewrite-clj.parser :as p])) ``` Rather clearly, the first element containing `zprint.config` forces the `:as` farther to the right than it would normally go for `rewrite-clj.parser`. Yet the `zprint.config` line doesn't actually appear to participate in the justification.
关闭于 2025-05-20 1 条评论