Files
kotlin-fork/idea/testData/intentions/replaceExplicitFunctionLiteralParamWithIt/notApplicable_wrongPosition.kt
T

5 lines
119 B
Kotlin
Vendored

// IS_APPLICABLE: false
fun <A> applyTwice(f: (A) -> A, x: A) = f(f(x))
val x = applyTwice({ p -> p + <caret>1 }, 40)