raulraja
11/03/2018, 1:40 AMTypeElement
or the Kotlin Metadata library by @Eugenio for a function of the shape: A.() -> B
it always shows up as Function1<A, B>
but I have not found a place or API that denotes the declaration of such function as being the type of a receiver function.Eugenio
11/03/2018, 2:30 PMProtobuf.Function.receiverType
if I remember correctly 🤔raulraja
11/04/2018, 1:11 PMme.eugeniomarletti.kotlin.metadata.shadow.metadata.ProtoBuf.Function#getValueParameterList
which gives me a me.eugeniomarletti.kotlin.metadata.shadow.metadata.ProtoBuf.ValueParameter#getType
type
I see no useful info to determine the type is referring to a literal receiver function of the shape A.() -> B
Eugenio
11/04/2018, 1:28 PMkotlin.ExtensionFunctionType
annotation in `Protobuf.Type.jvmTypeAnnotation`: it's a marker annotation that denotes function types with a receiver 😉raulraja
11/04/2018, 2:29 PM