Open tokazio opened 1 month ago
seems to use a ResolverAAImpl from ksp 2.0.0-1.0.22
when forcing to com.google.devtools.ksp:symbol-processing-aa-embeddable:2.0.20-1.0.25 seems to gives the same result: no symbol from the interface
The 'normaly' generated file is ok and contains the symbol annotated from the interface
Please share a minimally reproducible sample project or failing test case in this repo, thanks!
Also see #257 in case
Yes using
val compilation = KotlinCompilation().apply {
sources = sourceFiles
configureKsp(useKsp2 = true) {
withCompilation = true
symbolProcessorProviders.add(...)
}
}
is better but not sufficient
Sorry that's not a reproducible sample project or test. Going to have to insist on that or I'll need to close this issue.
yes i need to find some minutes to give you a sample
I have a test case that was ok in kotlin 1.9.24 and compatible ksp and kotlin-compile-testing
When upgrading to 2.0.20 (and the latest 0.5.1 from here) it's not ok anymore
Given a data class
and its interface
Compiling like
I can see the 2 files in the compilation results but
The
description
property from the interface is not in the result list ofresolver.getSymbolsWithAnnotation("...FilteredField",false)