[LL FIR] fix typo in LLFirModuleData.friendDependencies

^KTIJ-23347 Fixed
This commit is contained in:
Artem Vasilev
2023-01-10 17:41:08 +01:00
committed by Space Team
parent 6ab00a65dd
commit 82d934d873
10 changed files with 231 additions and 1 deletions
@@ -0,0 +1,35 @@
// !DIAGNOSTICS: -UNUSED_VARIABLE
// MODULE: m1
// FILE: a.kt
package p
public class A {
private val a = A()
private var v = A()
private fun a() = A()
private inner class B
}
private val a = A()
private var v = A()
private fun a() = A()
private class B
// MODULE: m2()(m1)
// FILE: b.kt
import p.*
fun test() {
val _a = <!INVISIBLE_REFERENCE!>a<!>
val _v = <!INVISIBLE_REFERENCE!>v<!>
<!INVISIBLE_REFERENCE!>a<!>()
<!INVISIBLE_REFERENCE!>B<!>()
val inst = A()
val ia = inst.<!INVISIBLE_REFERENCE!>a<!>
val iv = inst.<!INVISIBLE_REFERENCE!>v<!>
inst.<!INVISIBLE_REFERENCE!>a<!>()
inst.<!INVISIBLE_REFERENCE!>B<!>()
}