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

fix: better error messages when an enum derives from AnyVal #22236

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

hamzaremmal
Copy link
Member

Closes #21944

@hamzaremmal hamzaremmal requested a review from sjrd December 18, 2024 10:24
@hamzaremmal hamzaremmal marked this pull request as ready for review December 18, 2024 10:24
compiler/src/dotty/tools/dotc/reporting/messages.scala Outdated Show resolved Hide resolved
compiler/src/dotty/tools/dotc/typer/Checking.scala Outdated Show resolved Hide resolved
compiler/src/dotty/tools/dotc/typer/Namer.scala Outdated Show resolved Hide resolved
@hamzaremmal hamzaremmal merged commit 60b5dd1 into scala:main Dec 18, 2024
28 checks passed
@hamzaremmal hamzaremmal deleted the i21944 branch December 18, 2024 12:01
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.

Better error message when an enum extends AnyVal
2 participants