google / google/ksp

Add support for `JvmRecord` annotation on `all` meta-target

Open
#2,942 0 comments 0 reactions 0 assignees View on GitHub
feature request P3
Dominant language
Kotlin
Stars
3.5k
Forks
415
Avg merge
1d 2h
Merged PRs (30d)
53

Description

As part of [KEEP 402](https://github.com/Kotlin/KEEP/blob/b2b476c1d487901d0372a90026c58bde6f57a9ae/proposals/KEEP-0402-annotation-target-in-properties.md?plain=1#L98), if the `JvmRecord` annotation is present on a class, any property in the constructor annotated with `all` meta-target should also return the `RECORD_COMPONENT` value.
Most likely, it is the responsibility of `KSClassDeclaration` to return this, since it knows if it's annotated with `JvmRecord`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.