Skip to content

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

Open
starswap wants to merge 1 commit into
scala:mainfrom
starswap:hamish/fix-i26190
Open

Fix #26190: Copy erased flag into inline access proxies#26191
starswap wants to merge 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.

Copy link
Copy Markdown
Contributor

@odersky odersky left a comment

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
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

2 participants