Implement debug-friendly Continuation.toString()

#KT-18986 Fixed
This commit is contained in:
Ilmir Usmanov
2018-08-22 20:41:08 +03:00
committed by Ilya Gorbunov
parent 4929f457ed
commit e8597d706d
2 changed files with 2 additions and 3 deletions
@@ -31,5 +31,5 @@ fun box(): String {
result = A<String>().bar()
}
return if (result == "Continuation @ A\$bar\$1") "OK" else "Fail: $result"
return if (result == "Continuation at A.bar(coroutineToString.kt:16)") "OK" else "Fail: $result"
}