Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TreeOps: fix lambda param check a-la fewer-braces #4856

Merged
merged 2 commits into from
Mar 4, 2025

Conversation

kitbellew
Copy link
Collaborator

We don't allow break after => in lambda when the parameter might look like a fewer-braces apply. However, if the parameter has an implicit, there's no danger of that.

We don't allow break after `=>` in lambda when the parameter might look
like a fewer-braces apply. However, if the parameter has an `implicit`,
there's no danger of that.
@kitbellew kitbellew requested a review from tgodzik March 4, 2025 01:53
@kitbellew kitbellew merged commit de3f2d5 into scalameta:main Mar 4, 2025
22 checks passed
@kitbellew kitbellew deleted the 4856 branch March 4, 2025 14:53
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.

2 participants