FIR: use typeWithStarProjections for protected visibility check
This commit is contained in:
committed by
TeamCityServer
parent
a14a00809f
commit
881b15a677
@@ -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()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user