Skip to content

Fix #26190: Copy erased flag into inline access proxies - #26191

Merged
odersky merged 1 commit into
scala:mainfrom
starswap:hamish/fix-i26190
Jun 1, 2026
Merged

odersky merged 1 commit into
scala:mainfrom
starswap:hamish/fix-i26190

Conversation

@starswap

Copy link
Copy Markdown
Contributor

Fixes #26190.

Copies erased flag into inline trait access proxies if the underlying field is erased.

How much have you relied on LLM-based tools in this contribution?

Minimally to search for things in the codebase.

How was the solution tested?

New automated tests.

@odersky odersky left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks like a goof fix to me.

@starswap
starswap marked this pull request as ready for review May 31, 2026 09:28
@Gedochao

Gedochao commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

@odersky should we merge this?

@odersky
odersky merged commit cc9bfae into scala:main Jun 1, 2026
45 checks passed
@WojciechMazur WojciechMazur added this to the 3.10.0 milestone Aug 26, 2026
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.

"Value is declared as erased, but is in fact used" on inline accessor proxy of erased private member

4 participants