Files
kotlin-fork/idea/testData/inspectionsLocal/collections/simplifiableCallChain/joinToStringWithReferenceFake.kt
T
Mikhail Glukhikh 36be1fdaef Introduce "simplifiable call chain on collection" inspection
Related to KT-12165
So #KT-18274 Fixed
So #KT-17198 Fixed
2017-06-29 16:25:52 +03:00

4 lines
130 B
Kotlin
Vendored

// PROBLEM: none
// WITH_RUNTIME
val x = listOf(1, 2, 3).map(Int::toDouble).<caret>joinToString(prefix = "= ", separator = " + ")