[FIR] Don't forget to ignore hidden imports

^KT-59874
This commit is contained in:
Nikolay Lunyak
2023-10-30 14:29:04 +02:00
committed by Space Team
parent c656a83a02
commit 41c5934d4e
6 changed files with 28 additions and 42 deletions
@@ -3,7 +3,7 @@ import kotlin.Array as KotlinArray
fun f() {
listOf(1).map1 { it.hashCode() }
listOf(1).map { it.hashCode() }
listOf(1).<!UNRESOLVED_REFERENCE!>map<!> { <!UNRESOLVED_REFERENCE!>it<!>.hashCode() }
}
fun g(a1: KotlinArray<Int>, a2: Array<Int>){}
fun g(a1: KotlinArray<Int>, a2: <!UNRESOLVED_REFERENCE!>Array<!><Int>){}
@@ -1,29 +0,0 @@
// SKIP_TXT
import kotlin.suspend as suspendLambda
fun bar() {
suspend {
println()
}
kotlin.<!NON_MODIFIER_FORM_FOR_BUILT_IN_SUSPEND!>suspend<!> {
}
<!NON_MODIFIER_FORM_FOR_BUILT_IN_SUSPEND!>suspendLambda<!> {
println()
}
<!NON_MODIFIER_FORM_FOR_BUILT_IN_SUSPEND!>suspendLambda<!>() {
println()
}
<!NON_MODIFIER_FORM_FOR_BUILT_IN_SUSPEND!>suspendLambda<!>({ println() })
<!NON_MODIFIER_FORM_FOR_BUILT_IN_SUSPEND!>suspendLambda<!><Unit> {
println()
}
val w: (suspend () -> Int) -> Any? = ::<!NON_MODIFIER_FORM_FOR_BUILT_IN_SUSPEND!>suspendLambda<!>
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
// SKIP_TXT
import kotlin.suspend as suspendLambda