Files
kotlin-fork/idea/testData/inspectionsLocal/moveSuspiciousCallableReferenceIntoParentheses/defaultParameter.kt
T

6 lines
145 B
Kotlin
Vendored

// PROBLEM: Suspicious callable reference as the only lambda element
// WITH_RUNTIME
fun foo() {
listOf(1,2,3).map {<caret> it::toString }
}