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

Inlined JVM name is not correct #1493

Closed
dstepanov opened this issue Aug 14, 2023 · 1 comment
Closed

Inlined JVM name is not correct #1493

dstepanov opened this issue Aug 14, 2023 · 1 comment

Comments

@dstepanov
Copy link
Contributor

Currently, KSP returns the incorrect mangled JVM name of the inlined method.

It's breaking Micronaut integration:
micronaut-projects/micronaut-core#9716

The problem is in ResolverImpl:

    private val typeMapper = KotlinTypeMapper(
        BindingContext.EMPTY, ClassBuilderMode.LIGHT_CLASSES,
        module.name.getNonSpecialIdentifier(),
        KotlinTypeMapper.LANGUAGE_VERSION_SETTINGS_DEFAULT, // TODO use proper LanguageVersionSettings
        true
    )

Type mapper is created with useOldInlineClassesManglingScheme - true

@dstepanov
Copy link
Contributor Author

@ting-yuan Would it be possible to fix?

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

1 participant