Support access to protected members within inline functions
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
import test.*
|
||||
|
||||
class A: P() {
|
||||
override val FOO: String
|
||||
get() = "fail"
|
||||
|
||||
override fun test(): String {
|
||||
return "fail"
|
||||
}
|
||||
}
|
||||
|
||||
fun box() : String {
|
||||
val p = P()
|
||||
return p.protectedProp() + p.protectedFun()
|
||||
}
|
||||
Reference in New Issue
Block a user