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

Open
dstepanov opened this issue Aug 14, 2023 · 2 comments
Open

Inlined JVM name is not correct #1493

dstepanov opened this issue Aug 14, 2023 · 2 comments

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?

@dstepanov
Copy link
Contributor Author

This is not completed, the issue got closed because of the workaround

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