Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotations are missing on typealias type args #1832

Open
kuanyingchou opened this issue Apr 10, 2024 · 1 comment
Open

Annotations are missing on typealias type args #1832

kuanyingchou opened this issue Apr 10, 2024 · 1 comment
Assignees
Labels
AA waiting for upstream fix bug Something isn't working
Milestone

Comments

@kuanyingchou
Copy link
Contributor

kuanyingchou commented Apr 10, 2024

This is similar to #1679.

When a typealias also has typealias type arguments the annotations on the arguments are missing when the origin of the declaration is KOTLIN, while it is present when the origin of the declaration is KOTLIN_LIB.

In KSP2 the annotations are present, but the type argument also gets resolved when the origin is KOTLIN_LIB.

Repro: kuanyingchou@f5da877

@ting-yuan ting-yuan added bug Something isn't working AA waiting for upstream fix labels Apr 24, 2024
@ting-yuan ting-yuan added this to the 2.0 milestone Apr 24, 2024
@ting-yuan
Copy link
Collaborator

Analysis API is under some changes of how types are modeled. A workaround by attaching extra annotation information in KSType might be possible.

@ting-yuan ting-yuan modified the milestones: 2.0, 2.1 May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AA waiting for upstream fix bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants