Files
kotlin-fork/idea/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithReferenceAndComment.kt
T
2018-09-07 17:26:15 +03:00

12 lines
221 B
Kotlin
Vendored

// WITH_RUNTIME
val x = listOf(1, 2, 3).<caret>map(
// comment1
Int::toString
).joinToString(
// comment2
prefix = "= ",
// comment3
separator = " + "
// comment4
)