Don't wrap parentheses in long argument list containing only object
This commit is contained in:
@@ -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() {
|
||||
}
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user