Files
kotlin-fork/idea/testData/intentions/operatorToFunction/notApplicableFunctionCallWithCallableReference.kt
T
2015-04-07 13:08:53 +03:00

6 lines
141 B
Kotlin

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