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
Single arg breaking #160
Comments
I have a working implementation that produces this output: implicit class IterableW[+A](it: JSIterable[A]) {
def iterator(): Iterator[A] =
toIterator(
it.asInstanceOf[IteratorMethodAccess]
.bracketCall[JSIterator[A]](iteratorSymbol)())
} What do you think @sjrd? These changes were twofold and will impact (positively, IMO) current scalafmt users:
// before
object a {
function(function(function(a, b),
function(c, d)))
}
// after
object a {
function(
function(function(a, b),
function(c, d)))
}
// before
a
.fooo(bar)
.kaz(mania)
// after
a.fooo(bar)
.kaz(mania)
|
olafurpg
added a commit
that referenced
this issue
Apr 16, 2016
That sounds reasonable. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Original:
Scalafmt:
I would like the input to look like this:
Using
The text was updated successfully, but these errors were encountered: