472ec72eb9
1. Move tests to their own module 2. Avoid sharing the 'tinyApp' project between tests 3. Clean up option directive handling
21 lines
373 B
Kotlin
Vendored
21 lines
373 B
Kotlin
Vendored
// FILE: soInlineLibFunDex.kt
|
|
// EMULATE_DEX: true
|
|
|
|
package soInlineLibFunDex
|
|
|
|
fun main(args: Array<String>) {
|
|
//Breakpoint!
|
|
var i = 1
|
|
|
|
listOf(1, 2, 3).any { it > 2 } // Step over goes into 'any' (regression)
|
|
|
|
if (listOf(1, 2, 3).any { it > 2 }) { // Step over goes into 'any'
|
|
i++
|
|
}
|
|
}
|
|
|
|
inline fun test(a: () -> Unit) {
|
|
a()
|
|
}
|
|
|
|
// STEP_OVER: 7 |