d4f55894b4
If some function is not fake-override, then its type should be just default type of containing class For fake overrides the default type calculated in the following way: 1. Find first overridden function, which is not fake override 2. Take its containing class 3. Find supertype of current containing class with type constructor of class from step 2 ^KT-60252 Fixed
11 lines
166 B
Kotlin
Vendored
11 lines
166 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
open class A<A_T>
|
|
|
|
open class B<B_T> : A<B_T>() {
|
|
override fun hashCode(): Int = 0
|
|
}
|
|
|
|
open class C<C_T> : B<C_T>()
|
|
|
|
open class D<D_T> : C<D_T>()
|