[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
// !WITH_NEW_INFERENCE
|
||||
|
||||
class Scope
|
||||
|
||||
fun <T> simpleAsync0(block: Scope.() -> T) {}
|
||||
fun <T> simpleAsync1(block: suspend Scope.() -> T) {}
|
||||
suspend fun <T> simpleAsync2(block: Scope.() -> T) {}
|
||||
suspend fun <T> 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() }
|
||||
Reference in New Issue
Block a user