// !DIAGNOSTICS: -UNUSED_PARAMETER class Scope fun simpleAsync0(block: Scope.() -> T) {} fun simpleAsync1(block: suspend Scope.() -> T) {} suspend fun simpleAsync2(block: Scope.() -> T) {} suspend fun simpleAsync3(block: suspend Scope.() -> T) {} fun insideJob0() = doTheJob0() fun insideJob1() = doTheJob1() suspend fun insideJob2() = doTheJob2() suspend fun insideJob3() = doTheJob3() fun doTheJob0() = simpleAsync0 { insideJob0() } fun doTheJob1() = simpleAsync1 { insideJob1() } suspend fun doTheJob2() = simpleAsync2 { insideJob2() } suspend fun doTheJob3() = simpleAsync3 { insideJob3() }