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
I have a test case in my annotation processor that reads the annotations on enum entires. When trying it on K2 with KSP2, the test fails. Upon investigating, it's because there are no annotations present.
I dumped all annotations on all declarations using this:
for (decl in targetElement.declarations) {
logger.logKotshiError(decl.simpleName.asString(), decl)
logger.logKotshiError(decl.annotations.toList().toString(), decl)
}
I have a test case in my annotation processor that reads the annotations on enum entires. When trying it on K2 with KSP2, the test fails. Upon investigating, it's because there are no annotations present.
The enum in question looks like this:
I dumped all annotations on all declarations using this:
and this is what's printed:
On KSP1, this is logged:
The text was updated successfully, but these errors were encountered: