We’re down to one bug in KSP2 in KotlinPoet: <http...
# ksp
z
We’re down to one bug in KSP2 in KotlinPoet: https://github.com/google/ksp/issues/1948
e
what does the intersection of kotlinpoet and ksp look like? is ksp used to build a kotlinpoet model of the source?
z
There are docs on the Kotlinpoet project site: https://square.github.io/kotlinpoet/interop-ksp/
e
great, thanks. i was looking for something like that but i was on github. 🤦🏻 😄
z
sorry one new bug! CC @Ting-Yuan Huang @Jiaxiang https://github.com/google/ksp/issues/1962
👀 1
looks like it's just not implemented yet rather than a bug
j
I would call it a bug, I overrode the annotations to be empty when I thought annotations on enum entries are invalid, since technically enum entry declarations are anonymous classes assigned to a property, which is the reason leading to the changed behavior for enum entry annotation values between KSP1 and KSP2. But for compatibility and correctness purpose, annotations should still be added back, therefore more like a miss in the new design.
👍 1