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

AvoidInfix: don't match if RHS has placeholder #3148

Merged
merged 1 commit into from
Mar 7, 2022

Conversation

kitbellew
Copy link
Collaborator

Since the check is also applied when LHS is itself an infix, albeit as a negative one, this fixes the bug where an LHS infix with a placeholder in its argument was simply not wrapped (correctly) but still rewritten (incorrectly).

Since the check is also applied when LHS is itself an infix, albeit as
a negative one, this fixes the bug where an LHS infix with a placeholder
in its argument was simply not wrapped (correctly) but still rewritten
(incorrectly).
@kitbellew kitbellew merged commit 667d645 into scalameta:master Mar 7, 2022
@kitbellew kitbellew deleted the 3148 branch March 7, 2022 13:49
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.

3 participants