[FIR] Handle protected effective visibility relation properly
#KT-38401 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
07e9b9517a
commit
54cfd1f625
@@ -10,7 +10,7 @@ public abstract class Outer {
|
||||
|
||||
class OuterDerived: Outer() {
|
||||
// valid, My has better visibility
|
||||
protected class His: <!EXPOSED_SUPER_CLASS!>Outer.My<!>()
|
||||
protected class His: Outer.My()
|
||||
// valid, My and Your have better visibility
|
||||
override fun <!EXPOSED_FUNCTION_RETURN_TYPE!>foo<!>(<!EXPOSED_PARAMETER_TYPE!>my: Outer.My<!>) = Outer.Your()
|
||||
}
|
||||
Reference in New Issue
Block a user