We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This template is a guideline, not a strict requirement.
version=3.0.7 maxColumn: 120 runner.dialect = scala213 rewrite.rules = [ AvoidInfix ]
Given code like this:
new Test withOne true
When I run scalafmt like this:
scalafmt
Scalafmt formats code like this:
new Test.withOne(true)
I would like the formatted output to look like this:
(new Test).withOne(true)
The text was updated successfully, but these errors were encountered:
Already working on a fix with @vtols and @kazadbakht
Sorry, something went wrong.
Merge pull request #2832 from zivver/fix-infix-new-object
9b2c65a
#2830 Add Term.New check to AvoidInfix
Successfully merging a pull request may close this issue.
This template is a guideline, not a strict requirement.
Steps
Given code like this:
When I run scalafmt like this:
Problem
Scalafmt formats code like this:
Expectation
I would like the formatted output to look like this:
The text was updated successfully, but these errors were encountered: