You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
213 B
15 lines
213 B
6 years ago
|
|
||
|
suspend fun foo2(): Int {
|
||
|
while (true) {
|
||
|
try {
|
||
|
val x = bar()
|
||
|
if (x == 0) break
|
||
|
} finally {
|
||
|
bar()
|
||
|
}
|
||
|
}
|
||
|
return 1
|
||
|
}
|
||
|
|
||
|
suspend fun bar(): Int = 0
|