Hello everyone! QQ. I have a source file like this...
# ksp
v
Hello everyone! QQ. I have a source file like this one:
Copy code
import some.unresolvable.class.Name

@MyAnnotation(classes = [Name::class])
//....
some.unresolvable.class.Name
is missing from the compilation classpath and I didn’t have KSP it would not compile. But KSP runs smoothly and when I try to query
classes
argument of
@MyAnnotation
it returns an empty list as if everything is ok. How I can guard agains such a case?
If I call
validate
on annotation it returns true
j
This is a known issue, we have fixed it in main branch, the fix should be available in next release.
👍 2
v
Thanks!