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

[KSP2] Resolver.mapToJvmSignature doesn't unwrap inline classes #1859

Closed
kuanyingchou opened this issue Apr 26, 2024 · 0 comments · Fixed by #1972
Closed

[KSP2] Resolver.mapToJvmSignature doesn't unwrap inline classes #1859

kuanyingchou opened this issue Apr 26, 2024 · 0 comments · Fixed by #1972
Assignees
Labels
bug Something isn't working
Milestone

Comments

@kuanyingchou
Copy link
Collaborator

For an inline class like:

@JvmInline value class MyInlineClass(val value: Int)

Calling Resolver.mapToJvmSignature on its type returns LMyInlineClass; instead of I in KSP2.

Repro: kuanyingchou@0c0f733

@ting-yuan ting-yuan added this to the 2.1 milestone May 9, 2024
@neetopia neetopia self-assigned this May 16, 2024
@neetopia neetopia added the bug Something isn't working label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants