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

Make eraseInfo work for classes with empty scopes #19553

Closed
wants to merge 1 commit into from

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jan 28, 2024

Fixes #19530

@noti0na1
Copy link
Member

Not sure which fix I prefer compared to #19550

Iterating over the symbols and potentially copying the scope twice looks expensive...

@odersky
Copy link
Contributor Author

odersky commented Jan 28, 2024

The scope is copied at most once. I also liked #19550 better, but it fails some tests, and I don't have the time to figure out why.

@noti0na1 noti0na1 closed this Jan 30, 2024
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.

classOf[scala.Singleton] compiler crash
2 participants