[FIR] Handle protected effective visibility relation properly

#KT-38401 Fixed
This commit is contained in:
rapturemain
2020-04-27 18:17:47 +03:00
committed by Mikhail Glukhikh
parent 07e9b9517a
commit 54cfd1f625
6 changed files with 29 additions and 26 deletions
@@ -7,7 +7,7 @@ open class Foo {
}
class Bar: Foo() {
protected fun <!EXPOSED_FUNCTION_RETURN_TYPE!>foo<!>(): Nested? = null
protected fun foo(): Nested? = null
}
private fun foo(): Nested? = null