In 2.0.0 I'm seeing behavior like <https://github....
# ksp
e
In 2.0.0 I'm seeing behavior like https://github.com/google/ksp/issues/1849 where if there's a typealias in the module that I'm running KSP on, it is a
KSTypeAlias
but if it is in another module then it is the resolved type. Is this expected or a bug?
j
it might be a limitation from upstream analysis API, I will take a look and sync with JB if necessary.
e
thank you color I'm working on putting together a MRE
Actually looks like it's related to the Compose compiler being in the project.
The issue is if the typealias is a
@Composable
function, and that function lives in a different module than the one that KSP is running in. It happens with KSP1 and KSP2. I'll open a new issue because I'm not sure if it's related to the one I linked above.
@Jiaxiang is it possible that this is something on the Compose compiler's side? Should I file something there as well?
j
I think it is a known issue on KSP side.
e
Something fixable, or it requires compiler changes?
j
I will investigate it.
e
@Jiaxiang any update?