[FIR] Correct resolving of sam with suspend function from another module, ^KT-51007 Fixed

Ignore fir ide test probably because of KT-50732
This commit is contained in:
Ivan Kochurkin
2022-02-01 23:45:53 +03:00
committed by teamcity
parent 17c64cf955
commit f32c355190
8 changed files with 82 additions and 16 deletions
@@ -0,0 +1,20 @@
// 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()
}
}