Use doResume name for suspend lambdas context (KT-16481)
#KT-16481 Fixed
This commit is contained in:
committed by
Nikolay Krasko
parent
dffbe0f707
commit
f0be88fc07
+22
@@ -0,0 +1,22 @@
|
||||
package stopInCrossinlineInSuspend
|
||||
|
||||
import forTests.builder
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val a = 12
|
||||
|
||||
builder {
|
||||
ci {
|
||||
{
|
||||
//Breakpoint!
|
||||
foo(a)
|
||||
}()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun foo(a: Any? = null) {}
|
||||
|
||||
inline fun ci(crossinline builder: () -> Unit) {
|
||||
builder()
|
||||
}
|
||||
Reference in New Issue
Block a user