Skip to content

Fix trailing lambda with chained call indentation (#589)#626

Open
ptitjes wants to merge 1 commit into
facebook:mainfrom
ptitjes:p/589-correct-trailing-lambda-indentation-with-chained-call
Open

Fix trailing lambda with chained call indentation (#589)#626
ptitjes wants to merge 1 commit into
facebook:mainfrom
ptitjes:p/589-correct-trailing-lambda-indentation-with-chained-call

Conversation

@ptitjes

@ptitjes ptitjes commented Jun 8, 2026

Copy link
Copy Markdown

This PR fixes the indentation of trailing lambda with chained calls.
See #589.

I used an AI agent to understand how ktfmt and google-java-format work. This PR has been implemented with the help of an AI agent. I don't know much about the PSI AST shapes, so I wouldn't be surprised if the AST tests and visits are not general enough, or simply wrong.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant