Skip to content

Comments

Fix clojure-thread-last-all breaking forms with line comments#698

Open
bbatsov wants to merge 1 commit intomasterfrom
fix-thread-comments
Open

Fix clojure-thread-last-all breaking forms with line comments#698
bbatsov wants to merge 1 commit intomasterfrom
fix-thread-comments

Conversation

@bbatsov
Copy link
Member

@bbatsov bbatsov commented Feb 20, 2026

Fixes #619

The dangling-parens fix in clojure--thread-last would join-line closing parens onto a line ending in a comment, absorbing them into the comment and making the form invalid. Now checks for a preceding line comment before joining.

The dangling-parens join in clojure--thread-last would merge closing
parens onto a line ending in a comment, absorbing them into the
comment and making the form invalid. Now checks for a preceding
comment before joining.
@bbatsov bbatsov force-pushed the fix-thread-comments branch from a081b44 to e8cef56 Compare February 20, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

clojure-thread-last breaks with line comments

1 participant