Skip to content

Revert "Revert "Split up newline token"" - #4205

Merged
kddnewton merged 1 commit into
mainfrom
revert-4201-revert-4200-split-newlie
Aug 11, 2026
Merged

Revert "Revert "Split up newline token""#4205
kddnewton merged 1 commit into
mainfrom
revert-4201-revert-4200-split-newlie

Conversation

@kddnewton

Copy link
Copy Markdown
Collaborator

Reverts #4201

tompng pushed a commit to ruby/rdoc that referenced this pull request Aug 10, 2026
In the next major version of Prism, the comment token is going to be
split up when it is a non embdoc comment and when it terminates an
expression. This diff makes the tests support both.

In theory this should have no user-facing consequences because it does
not matter if you colorize the newline or not.

This will let me merge ruby/prism#4205
@kddnewton
kddnewton merged commit 9175663 into main Aug 11, 2026
110 checks passed
@kddnewton
kddnewton deleted the revert-4201-revert-4200-split-newlie branch August 11, 2026 12:18
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.

1 participant