Report suspension point in monitor error on crossinline lambdas

#KT-27258: Fixed
This commit is contained in:
Ilmir Usmanov
2018-10-11 19:36:47 +03:00
parent 3f0bd20235
commit e21159c28f
5 changed files with 47 additions and 14 deletions
@@ -18,6 +18,14 @@ fun test() {
)
}
builder {
withCrossinline {}
withCrossinline {
suspensionPoint()
}
}
synchronized(lock) {
builder {
suspensionPoint()