Do not generate StateMachineChecker if CHECK_STATE_MACHINE directive is

not present.
Otherwise, since it uses suspend functions, it breaks IR tests.
This commit is contained in:
Ilmir Usmanov
2019-03-14 15:21:44 +03:00
parent 7956ef18b2
commit c68413b953
14 changed files with 20 additions and 5 deletions
@@ -4,6 +4,7 @@
// WITH_RUNTIME
// WITH_COROUTINES
// NO_CHECK_LAMBDA_INLINING
// CHECK_STATE_MACHINE
interface SuspendRunnable {
suspend fun run()