Check that breakpoints work in suspend function without suspension points

This commit is contained in:
Nikolay Krasko
2017-01-23 15:40:19 +03:00
parent 1a3d333da1
commit 649ec9a73d
4 changed files with 48 additions and 0 deletions
@@ -0,0 +1,18 @@
package stopInSuspendFunctionWithoutSuspendPoints
import forTests.builder
fun foo(a: Any) {}
suspend fun first() {
foo("first")
//Breakpoint!
foo("second")
}
fun main(args: Array<String>) {
builder {
first()
}
}