Put arguments/parameters on separate/one line should update trailing comma
#KT-36411 Fixed
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// INTENTION_TEXT: "Put arguments on one line"
|
||||
// REGISTRY: kotlin.formatter.allowTrailingCommaOnCallSite true
|
||||
|
||||
fun foo(a: Int = 1, b: Int = 1, c: Int = 1) {}
|
||||
|
||||
fun bar(a: Int, b: Int, c: Int) {
|
||||
foo(
|
||||
a,
|
||||
b,<caret>
|
||||
c,
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user