FIR: use typeWithStarProjections for protected visibility check

This commit is contained in:
Mikhail Glukhikh
2021-08-31 11:55:12 +03:00
committed by TeamCityServer
parent a14a00809f
commit 881b15a677
8 changed files with 61 additions and 25 deletions
@@ -0,0 +1,10 @@
// FIR_IDENTICAL
abstract class Parent<F> {
protected fun foo() {}
}
class Derived<E> : Parent<E>() {
fun bar(x: Derived<String>) {
x.foo()
}
}