FoldInitializerAndIfToElvis: should not add new line for multiline initializer
#KT-35805 Fixed
This commit is contained in:
committed by
igoriakovlev
parent
5eae262264
commit
6cb0190fad
+13
@@ -0,0 +1,13 @@
|
||||
fun foo(vararg args: String): String? = null
|
||||
|
||||
fun test(): Int {
|
||||
val foo = foo(
|
||||
"1111111111",
|
||||
"2222222222",
|
||||
"3333333333",
|
||||
"4444444444",
|
||||
"5555555555"
|
||||
) ?: return 0
|
||||
|
||||
return 1
|
||||
}
|
||||
Reference in New Issue
Block a user