Skip to content

Conversation

liufengyun
Copy link
Contributor

Fix #5015: disallow empty enum definition

@liufengyun liufengyun merged commit 5cb4a1a into scala:master Mar 6, 2019
@liufengyun liufengyun deleted the fix-5015 branch March 6, 2019 16:28
allanrenucci added a commit to dotty-staging/dotty that referenced this pull request Mar 10, 2019
- Reject enums with no case instead of empty enums.
- Remove special case in parser by using the `tenmplate` parser
  to enforce enums have bodies.
allanrenucci added a commit that referenced this pull request Mar 10, 2019
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.

3 participants