Files
Kirill Rakhman ef78d4b95a [FIR] Fix deserialization of generic context receivers
We need to pass the local deserialization context so that generic
type parameters can be referenced.

#KT-62607 Fixed
2023-10-27 11:35:22 +00:00

7 lines
77 B
Kotlin
Vendored

package test
context(T)
fun <T> foo() {}
context(T)
val <T> T.foo get() = 1