You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey - as mentioned on KotlinSlack - I run in the same issue and in order not to spam your backlog, I'd like to share my finding here. So please consider the example above:
The value of KSValueParameter.type.element.typeArguments the values differs. While Super will have no TypeArguments present, Sub will have at least one - which can be resolved to a covariant type (so in this case out String).
Hope that helps.
Say I have these 2 classes:
When processing any of the KSClassDeclarations with
getAllFunctions().filter { it.isAbstract }.forEach { ... }
, thevalues
parameter forSuper
hasbut
Sub
haswhich is very inconsistent.
They should either both be,
vararg=true type=String
or both bevararg=true type=Array<String>
The text was updated successfully, but these errors were encountered: