Files
kotlin/idea/testData/codeInsight/lineMarker/recursiveCall/inInlinedFunctionExpression.kt
2015-05-05 12:47:57 +03:00

17 lines
230 B
Kotlin
Vendored

fun f(a: Int) {
run2(fun () {
<lineMarker>f</lineMarker>(a - 1)
})
}
fun ff(a: Int) {
run1 {
ff(a - 1)
}
}
inline fun <T> run1(noinline f: () -> T): T { }
inline fun <T> run2(f: () -> T): T { }