Hey,
I stubbled over a problem with inherited TypeAlias arguments.
Imagine following:
typealiasAlias93<T> =Map<String, T>
typealiasAlias97= (Any) ->Any
@AweomeAnnotaton
interfaceSub : Super
@AweomeAnnotaton
interfaceSuper {
val prop:Alias93<String>
fundoSomething(arg0:Alias97<Any>): Any
}
While the processor runs over it with getAllFunctions()/getAllProperties() it has some unexpected behaviour.
When resolving the KSPropertyDeclaration.type or the KSFunctionDeclaration.parameters (I am sure it applies KSFunctionDeclaration.returnType as well) the KSTypeReference.element.typeArguments will give a different output for Super and Sub. It looks like when inherited it uses the abbreviated Parameter.
The text was updated successfully, but these errors were encountered:
Hey,
I stubbled over a problem with inherited TypeAlias arguments.
Imagine following:
While the processor runs over it with
getAllFunctions()/getAllProperties()
it has some unexpected behaviour.When resolving the KSPropertyDeclaration.type or the KSFunctionDeclaration.parameters (I am sure it applies KSFunctionDeclaration.returnType as well) the
KSTypeReference.element.typeArguments
will give a different output forSuper
andSub
. It looks like when inherited it uses the abbreviated Parameter.The text was updated successfully, but these errors were encountered: