Skip to content

Bring back part of PruneErasedDefs #23466

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

Merged
merged 1 commit into from
Jul 3, 2025
Merged

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jul 2, 2025

Do make erased symbols private. This is needed so that we don't get false overriding relationships for effectively erased symbols.

Fixes #23451

Do make erased symbols private. This is needed so that we don't get false
overriding relationships for effectively erased symbols.
@odersky
Copy link
Contributor Author

odersky commented Jul 2, 2025

Wojciech, can you check whether this fixes the failures in the open CB? Thanks!

@WojciechMazur
Copy link
Contributor

WojciechMazur commented Jul 3, 2025

Both geykyo/kyo and epfl-lara/lisa are now successfully building with these changes.

The crash in the backend for lichess-org/lila is also gone, however, there is some different error now:

Error:  Error while emitting lila/feed/Env
Error:  assertion failed: ClassBType.info not yet assigned: Llila/feed/Feed$;
Error:  one error found

I've retried it locally and the build passed this time - I believe there is some race condition under -Ybackend-parallelism that caused it, but it's unrelated to this PR

@WojciechMazur WojciechMazur merged commit a8f7938 into scala:main Jul 3, 2025
29 checks passed
@odersky
Copy link
Contributor Author

odersky commented Jul 3, 2025

Yes, -Ybackend-parallelism fails intermittently for me as well. I am not sure we can trust it yet.

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.

Regression in getkyo/kyo - clashing non-existing bridges of overriden inline method
2 participants