Move debugger test data to the new location

This commit is contained in:
Yan Zhulanow
2019-09-27 00:13:53 +09:00
parent b4cc5703de
commit d8d81c51d7
1423 changed files with 0 additions and 0 deletions
@@ -0,0 +1,21 @@
package soInlineFunOnOneLineFor
fun main(args: Array<String>) {
val list = listOf(1, 2, 3)
list.any1 { it > 2 }
foo()
}
fun foo() {
}
inline fun <T> Iterable<T>.any1(predicate: (T) -> Boolean): Boolean {
//Breakpoint!
for (element in this) if (predicate(element)) return true
return false
}
// STEP_OVER: 3