blob: dd8efd615e9d867817b7120be3708e8ed96f17af [file]
class Test1<E : Any?> : IBase<E> {
private /* final field */ val $$delegate_0: IBase<E> = i
constructor(i: IBase<E>) /* primary */ {
super/*Any*/()
/* <init>() */
}
override fun <B : Any?> foo(a: E, b: B) {
<this>.#$$delegate_0.foo<B>(a = a, b = b)
}
override val <C : Any?> C.id: Map<E, C>?
override get(): Map<E, C>? {
return (<this>.#$$delegate_0, <this>).<get-id><C>()
}
override var <D : Any?> List<D>.x: D?
override get(): D? {
return (<this>.#$$delegate_0, <this>).<get-x><D>()
}
override set(<set-?>: D?) {
(<this>.#$$delegate_0, <this>).<set-x><D>(<set-?> = <set-?>)
}
}
class Test2 : IBase<String> {
private /* final field */ val $$delegate_0: IBase<String> = j
var j: IBase<String>
field = j
get
set
constructor(j: IBase<String>) /* primary */ {
super/*Any*/()
/* <init>() */
}
override fun <B : Any?> foo(a: String, b: B) {
<this>.#$$delegate_0.foo<B>(a = a, b = b)
}
override val <C : Any?> C.id: Map<String, C>?
override get(): Map<String, C>? {
return (<this>.#$$delegate_0, <this>).<get-id><C>()
}
override var <D : Any?> List<D>.x: D?
override get(): D? {
return (<this>.#$$delegate_0, <this>).<get-x><D>()
}
override set(<set-?>: D?) {
(<this>.#$$delegate_0, <this>).<set-x><D>(<set-?> = <set-?>)
}
}
interface IBase<A : Any?> {
abstract fun <B : Any?> foo(a: A, b: B)
abstract val <C : Any?> C.id: Map<A, C>?
abstract get
abstract var <D : Any?> List<D>.x: D?
abstract get
abstract set
}