Files
kotlin-fork/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/nonAssignmentLValue.kt
T
2020-02-14 17:35:18 +09:00

14 lines
261 B
Kotlin
Vendored

package foo
fun main() {
val existing = mutableListOf<Int>()
for (i in 1..10) {
//Breakpoint!
if (existing.none { i % it != 0 }) {
existing += i
}
}
}
// EXPRESSION: existing.none { i % it != 0 }
// RESULT: 1: Z