[FIR2IR] Support error qualifier in case of error suppression

#KT-60536 Fixed
This commit is contained in:
Kirill Rakhman
2023-08-18 12:17:47 +02:00
committed by Space Team
parent 51a43a02f7
commit 79fe48ab5b
19 changed files with 127 additions and 0 deletions
@@ -0,0 +1,22 @@
// MODULE: lib
// FILE: lib.kt
package lib
interface Key {
val s get() = "OK"
}
internal class Internal {
companion object : Key
}
// MODULE: box(lib)
// FILE: box.kt
package app
import lib.*
fun foo(key: Key) = key.s
@Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
fun box() = foo(Internal)