Support visibility for protected static members
#KT-2999 Fixed
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
class A {
|
||||
class object: protectedStaticFunClassObject() {
|
||||
fun test(): String {
|
||||
return protectedStaticFunClassObject.protectedFun()!!
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return A.test()
|
||||
}
|
||||
Reference in New Issue
Block a user