bb1b8cca20
Change getAllOverriddenDescriptors contracti, now it returns original (not substituted) descriptors without any duplicates. First of all it's necessary in CodegenUtil.getDelegates to avoid duplicates (see assertion there), but also it's convenient for all other usages of this method #KT-8154 Fixed
12 lines
186 B
Kotlin
Vendored
12 lines
186 B
Kotlin
Vendored
interface A<T> {
|
|
fun foo()
|
|
}
|
|
|
|
interface B<T> : A<T> {
|
|
fun bar()
|
|
}
|
|
|
|
class BImpl<T>(a: A<T>) : B<T>, A<T> by a {
|
|
override fun bar() { throw UnsupportedOperationException() }
|
|
}
|