Skip to content

Conversation

@reese
Copy link
Collaborator

@reese reese commented Dec 25, 2025

Closes #715

Heredocs at the start of call chains shouldn't have their contents indented with the rest of the chain. This PR eagerly renders heredocs for Parens (to match the treatment of Expressions) in chains to make sure they are emitted before the indentation begins.

@reese reese merged commit 20fb1e8 into trunk Dec 26, 2025
7 checks passed
@reese reese deleted the reese-parens-chain branch December 26, 2025 00:58
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.

[prism] heredocs in parentheses are dedented relative to ripper

3 participants