Files
kotlin-fork/idea/testData/inspectionsLocal/collections/simplifiableCallChain/joinToWithComment.kt.after
T
Dmitry Gridin 11a3482970 tests: apply official code style
#KT-38632 Fixed
2020-05-07 12:36:44 +00:00

12 lines
211 B
Plaintext
Vendored

// WITH_RUNTIME
val sb = StringBuilder()
val x = listOf(1, 2, 3).joinTo(
// comment1
buffer = sb,
// comment2
prefix = "= ",
// comment3
separator = " + "
// comment4
) { "$it*$it" }