Report INVISIBLE_MEMBER on private class object usage
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
class A {
|
||||
private class object {
|
||||
class B {
|
||||
class C {
|
||||
class object {
|
||||
fun foo() {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun f1() = <!INVISIBLE_MEMBER!>A<!>.B.C
|
||||
|
||||
fun f2() = <!INVISIBLE_MEMBER!>A<!>.B.C.<!INVISIBLE_MEMBER!>foo<!>()
|
||||
Reference in New Issue
Block a user