https://kotlinlang.org logo
Title
g

gmazzo

03/22/2021, 1:56 PM
Hi there, can someone help me confirm this this is an issue or we are using it wrong? https://github.com/google/ksp/issues/351
getSymbolsWithAnnotation
seems not to pick up annotation used in function/constructors parameters. Basically this works:
class MyClass(@Builder val param: String)
but this doesn’t:
class MyClass(@Builder param: String)
inDepth
seems to have no effect either 🤔
👀 1
y

yigit

03/22/2021, 8:19 PM
given that
val
is fixing it, we are probably not traversing function parameters (setting it to val make it a property declaration in the class declaration)
👍 1