FIR: add proper receiver check for protected visibility #KT-48378 Fixed
This commit is contained in:
committed by
TeamCityServer
parent
1c1b9547c1
commit
08e498f1f2
+1
-1
@@ -13,6 +13,6 @@ class B {
|
||||
|
||||
class C: A() {
|
||||
init {
|
||||
B.foo() // Error: receiver is not suitable
|
||||
B.<!INVISIBLE_REFERENCE!>foo<!>() // Error: receiver is not suitable
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user