Hunter
08/17/2025, 7:59 PM@Serializable
class Foo<T> { /*...*/ }
I would want to communicate to the compiler that the type parameter T
is not needed during serialization, and so it doesn't need to be marked as contextual at the use-site. Currently I have to do this everywhere that I use `Foo`:
interface Bar {
val foo: Foo<@Contextual Bar>,
// ...
}
joseph_ivie
08/18/2025, 2:08 PM