Skip to content

[KSP2] Resolver.mapToJvmSignature() is not consistent #2109

@kuanyingchou

Description

@kuanyingchou

I'm getting inconsistent results when calling Resolver.mapToJvmSignature() on inline value classes. It always returns the underlying type in KSP1, but it sometimes returns the wrapper type in KSP2.

Repro: kuanyingchou@5746554

In the repro It returns different results for f's return type before and after another mapToJvmSignature call:

before: f: LMyInlineClass;
after: f: I

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