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] Annotations on fields lost type arguments #2160

Open
FooIbar opened this issue Oct 23, 2024 · 0 comments
Open

[KSP2] Annotations on fields lost type arguments #2160

FooIbar opened this issue Oct 23, 2024 · 0 comments
Assignees

Comments

@FooIbar
Copy link

FooIbar commented Oct 23, 2024

KSP version: 2.0.21-1.0.26-20241023.101052-14

@Target(AnnotationTarget.FIELD, AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.SOURCE)
annotation class Foo<T>

@Foo<Unit>
val bar = 0

@Foo<Unit>
fun baz() = 0

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants