Fix testSuspend (protect it from flaky error about disabled coroutines)

This commit is contained in:
Mikhail Glukhikh
2018-05-15 11:19:49 +03:00
parent 0026a138d3
commit c61b5671c9
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -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) {}
+2
View File
@@ -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) {}