Skip to content

[KSP2] Default annotation argument values are sometimes missing #2107

@kuanyingchou

Description

@kuanyingchou

When an annotation declaration has some arguments with default values and some without, KSAnnotation.arguments may miss some arguments.

This happens when the annotation is defined in JAVA or JAVA_LIB with KSP2, but was working with KSP1.

Repro: kuanyingchou@637aa65

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions