Add EXACTLY_ONCE contract to suspendCoroutine* functions

Update line numbers in the affected test.
This commit is contained in:
Ilya Gorbunov
2020-07-07 04:50:42 +03:00
parent 1a32fdf6d7
commit 2f3e1dcbc6
4 changed files with 23 additions and 11 deletions
+1 -1
View File
@@ -14,4 +14,4 @@ suspend fun bar(): Unit {
println(a + b)
}
// LINES: 38 4 4 4 7 5 5 44 44 5 92 44 5 5 6 4 4 4 9 15 9 9 9 * 9 15 10 10 11 11 11 11 11 * 11 12 12 13 13 13 13 13 13 13 14 14 * 9 15 9 9 9 9
// LINES: 39 4 4 4 7 5 5 45 45 5 92 45 5 5 6 4 4 4 9 15 9 9 9 * 9 15 10 10 11 11 11 11 11 * 11 12 12 13 13 13 13 13 13 13 14 14 * 9 15 9 9 9 9