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

Handle name-mangled case accessor in specialize #10763

Merged
merged 1 commit into from May 6, 2024

Conversation

som-snytt
Copy link
Contributor

Superaccessors mangles case class parameter accessor (for inline) so that at specialize the name wasn't found (for the purpose of ordering the params). As a Name-based operation, it should handle the name.

Separate question is whether the mangling is needed for inlining or for a case param with x$access$0.

Fixes scala/bug#12988

@scala-jenkins scala-jenkins added this to the 2.13.15 milestone Apr 22, 2024
@som-snytt som-snytt marked this pull request as ready for review April 23, 2024 01:00
@som-snytt
Copy link
Contributor Author

A bit of output from a presentation test went missing?

@som-snytt
Copy link
Contributor Author

rebase & squash

Copy link
Member

@lrytz lrytz left a comment

Choose a reason for hiding this comment

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

👍 thank you!

@lrytz lrytz merged commit b5bfde4 into scala:2.13.x May 6, 2024
3 checks passed
@som-snytt som-snytt deleted the issue/12988 branch May 6, 2024 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants