Files
kotlin-fork/compiler/testData/diagnostics/tests/multimodule/samWithSuspendFunctionFromAnotherModule.kt
T
Ivan Kochurkin f32c355190 [FIR] Correct resolving of sam with suspend function from another module, ^KT-51007 Fixed
Ignore fir ide test probably because of KT-50732
2022-02-07 17:22:02 +03:00

21 lines
242 B
Kotlin
Vendored

// FIR_IDENTICAL
// FIR_IDE_IGNORE
// TODO: KT-50732
// ISSUE: KT-51007
// MODULE: lib
fun interface A {
suspend fun foo()
}
// MODULE: main(lib)
suspend fun bar() {}
fun takeA(a: A?) {}
fun test() {
takeA {
bar()
}
}