Revert "Update test data as operator 'mod' became deprecated"
This reverts commit 040f4e90ce.
This commit is contained in:
+6
-6
@@ -2,13 +2,13 @@
|
||||
// !CHECK_TYPE
|
||||
class Controller {
|
||||
suspend fun noParams(): Unit = suspendWithCurrentContinuation {
|
||||
if (hashCode() <!DEPRECATED_BINARY_MOD_AS_REM!>%<!> 2 == 0) {
|
||||
it.resume(Unit)
|
||||
Suspend
|
||||
}
|
||||
if (hashCode() % 2 == 0) {
|
||||
it.resume(Unit)
|
||||
Suspend
|
||||
}
|
||||
else {
|
||||
Unit
|
||||
}
|
||||
Unit
|
||||
}
|
||||
}
|
||||
suspend fun yieldString(value: String) = suspendWithCurrentContinuation<Int> {
|
||||
it.resume(1)
|
||||
|
||||
Reference in New Issue
Block a user