[FIR] KT-39033: Fix generic property override detection

#KT-39033 Fixed
This commit is contained in:
simon.ogorodnik
2020-06-01 17:17:16 +03:00
parent e4a1c8dcef
commit 2287435740
6 changed files with 86 additions and 17 deletions
@@ -0,0 +1,15 @@
abstract class A {
open val <D> Inv<D>.phasedFir: D get() = TODO()
}
abstract class B : A() {
final override val <D> Inv<D>.phasedFir: D get() = TODO()
}
abstract class Inv<E>
class C : B() {
fun foo(x: Inv<String>) {
x.phasedFir
}
}