I'm calling `KSValueParameter.type.toTypeName()` o...
# squarelibraries
e
I'm calling
KSValueParameter.type.toTypeName()
on a parameter of type
(Foo1, Foo2) -> Foo<out Foo3>
. When using KSP1 (even with Kotlin 2.0) this results in
(Foo1, Foo2) -> Foo<out Foo3>
. When using KSP2 this results in
(Foo1, Foo2) -> Foo
(i.e. without the type parameters for
Foo
). Is this something that should be reported to KSP or KotlinPoet?
z
KSP
there's a known issue with how it handles function types in KSP2. On mobile but I filed it a week or two ago
e
z
yeah
thank you color 1
e
The more I try to get KSP2 to work, the more I feel like it won't be ready until at least Kotlin 2.1