Files
2024-02-16 10:19:38 +00:00

31 lines
646 B
Kotlin
Vendored

class A<T : Any?> {
private /* final field */ val contextReceiverField0: T
constructor($context_receiver_0: T) /* primary */ {
super/*Any*/()
<this>.#contextReceiverField0 = $context_receiver_0
/* <init>() */
}
}
class B<P : Any?> {
private /* final field */ val contextReceiverField0: Collection<P>
constructor($context_receiver_0: Collection<P>) /* primary */ {
super/*Any*/()
<this>.#contextReceiverField0 = $context_receiver_0
/* <init>() */
}
}
fun Collection<Int>.bar() {
B<Int>($context_receiver_0 = <this>) /*~> Unit */
}
fun Int.foo() {
A<Int>($context_receiver_0 = <this>) /*~> Unit */
}