Files
kotlin-fork/idea/testData/intentions/operatorToFunction/notApplicableFunctionCallWithCallableReference.kt
T

6 lines
141 B
Kotlin
Vendored

// WITH_RUNTIME
// IS_APPLICABLE: false
fun foo() {
val bar = { x: Int -> x + 1 }
val incremented = listOf(1, 2, 3).map<caret>(bar)
}