Skip to content

[Codegen][JVM]: Name value class field to this in LVT #5430

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

scaventz
Copy link
Contributor

^KT-73995 fixed

@scaventz scaventz force-pushed the KT-73995-bad-name branch from 15451d4 to c043686 Compare April 12, 2025 07:32
@scaventz scaventz marked this pull request as ready for review April 12, 2025 08:29
@udalov
Copy link
Member

udalov commented Apr 14, 2025

I'm not sure if using a local variable name that is a Java keyword is fine. There must be a reason we use $this, not this, in other places, e.g. interface DefaultImpls methods...

@zhelenskiy zhelenskiy self-requested a review April 14, 2025 11:05
@zhelenskiy zhelenskiy assigned scaventz and unassigned zhelenskiy Apr 14, 2025
Copy link
Contributor

@zhelenskiy zhelenskiy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with @udalov, we need some mangled name instead. Also, add a test for multi-field value classes, please.

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

Successfully merging this pull request may close these issues.

3 participants