Skip to content

Lint multiarg infix assignment #9924

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

Merged
merged 1 commit into from
Mar 3, 2022
Merged

Conversation

som-snytt
Copy link
Contributor

Observed at scala/scala3#14418

@scala-jenkins scala-jenkins added this to the 2.13.9 milestone Feb 6, 2022
@SethTisue
Copy link
Member

Should this also be enabled by -Xsource:3?

@som-snytt
Copy link
Contributor Author

This is the same as "regular" multiarg map += (k,v) but was previously missed because the += is rewritten.

@lrytz lrytz merged commit 9e9017f into scala:2.13.x Mar 3, 2022
@som-snytt som-snytt deleted the lint/multiarg-rewrite branch March 3, 2022 18:47
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.

4 participants