Fix testSuspend (protect it from flaky error about disabled coroutines)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// "Add 'noinline' to parameter 'x'" "true"
|
||||
// TODO: remove it after coroutines are released
|
||||
// DISABLE-ERRORS
|
||||
|
||||
inline fun foo(<caret>x: suspend () -> Unit) {}
|
||||
@@ -1,3 +1,5 @@
|
||||
// "Add 'noinline' to parameter 'x'" "true"
|
||||
// TODO: remove it after coroutines are released
|
||||
// DISABLE-ERRORS
|
||||
|
||||
inline fun foo(noinline x: suspend () -> Unit) {}
|
||||
Reference in New Issue
Block a user