e6d923f65c
Some of them should be INVISIBLE_MEMBER though
32 lines
385 B
Kotlin
Vendored
32 lines
385 B
Kotlin
Vendored
class A {
|
|
companion object Comp {}
|
|
|
|
fun foo() {
|
|
<!INVISIBLE_REFERENCE!>Comp<!>()
|
|
}
|
|
}
|
|
|
|
object B {
|
|
private val x = <!INVISIBLE_REFERENCE!>B<!>()
|
|
}
|
|
|
|
class D {
|
|
companion object Comp2 {
|
|
operator fun invoke() {}
|
|
}
|
|
|
|
fun foo() {
|
|
Comp2()
|
|
}
|
|
}
|
|
|
|
enum class E {
|
|
X {
|
|
|
|
};
|
|
|
|
fun foo() {
|
|
<!UNRESOLVED_REFERENCE!>X<!>()
|
|
}
|
|
}
|