Skip to content

Fix #5008: forbid enums extending enums #5028

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

Closed

Conversation

Blaisorblade
Copy link
Contributor

Check if we inherit from scala.Enum both directly (as a result of the
desugaring) and indirectly.

Check if we inherit from scala.Enum both directly (as a result of the
desugaring) and indirectly.
@Blaisorblade
Copy link
Contributor Author

The Dotty meeting preferred rejecting any class extending enums, so closing this in favor of #5031.

@Blaisorblade Blaisorblade deleted the fix-5008-enum-extends-enum branch August 27, 2018 16:44
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.

1 participant