[FIR] Allow accessing protected members via local inheritors
^KT-65058 Fixed
This commit is contained in:
committed by
Space Team
parent
b6e913cde7
commit
4ee03a3a0c
@@ -1,12 +0,0 @@
|
||||
// ISSUE: KT-65058
|
||||
|
||||
open class A {
|
||||
protected fun foo() {
|
||||
}
|
||||
}
|
||||
|
||||
<!NOTHING_TO_INLINE!>inline<!> fun bar() = object : A() {
|
||||
fun baz() {
|
||||
<!PROTECTED_CALL_FROM_PUBLIC_INLINE_ERROR!>foo<!>()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user