Don't wrap parentheses in long argument list containing only object

This commit is contained in:
Dmitry Jemerov
2017-12-12 17:13:16 +01:00
parent a2175c2ef5
commit 44ee228ac9
5 changed files with 54 additions and 3 deletions
@@ -0,0 +1,11 @@
// SET_INT: CALL_PARAMETERS_WRAP = 4
// SET_TRUE: CALL_PARAMETERS_LPAREN_ON_NEXT_LINE
fun foo() {
foo(bar, baz)
foo(object : Quux {
override fun foo() {
}
})
}
@@ -0,0 +1,11 @@
// SET_INT: CALL_PARAMETERS_WRAP = 4
// SET_TRUE: CALL_PARAMETERS_LPAREN_ON_NEXT_LINE
fun foo() {
foo(bar, baz)
foo(object : Quux {
override fun foo() {
}
})
}