5f367278c1
Since property accessor descriptors (unlike corresponding IR elements) do not have type parameters, we need to take them from the corresponding property to ensure the correct IR for delegated property accessors.
10 lines
207 B
Kotlin
Vendored
10 lines
207 B
Kotlin
Vendored
interface IBase<A> {
|
|
fun <B> foo(a: A, b: B)
|
|
val <C> C.id: Map<A, C>?
|
|
var <D> List<D>.x: D?
|
|
}
|
|
|
|
class Test1<E>(i: IBase<E>) : IBase<E> by i
|
|
|
|
class Test2(var j: IBase<String>) : IBase<String> by j
|