The following snippet contains an annotation Anno but KSP does not pick it up.
@Target(AnnotationTarget.TYPE)
annotation class Anno
val myVal: (@Anno String) -> Unit = { str -> println(str) }
KSTypeReference is already a subtype of KSAnnotated so it shouldn't be that difficult to extend it to type ascriptions.
The following snippet contains an annotation
Annobut KSP does not pick it up.KSTypeReferenceis already a subtype ofKSAnnotatedso it shouldn't be that difficult to extend it to type ascriptions.