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

Better support for enum trees #8058

Closed
scabug opened this issue Dec 9, 2013 · 2 comments
Closed

Better support for enum trees #8058

scabug opened this issue Dec 9, 2013 · 2 comments
Assignees
Milestone

Comments

@scabug
Copy link

@scabug scabug commented Dec 9, 2013

Replace the approach of “detect some magic combination of flags to
trigger some action” by introducing an enum flag which makes the
semantics and the intentions of the code using it more explicit.

This basically involves wiring up the existing ACC_ENUM bit to a new
modifier flag and making sure it is set correctly when encountering
enums.

This will enable us to treat enums more consistently and will allow us to support the declaration of enums directly in Scala (e. g. via macro annotations).

@scabug
Copy link
Author

@scabug scabug commented Dec 9, 2013

Imported From: https://issues.scala-lang.org/browse/SI-8058?orig=1
Reporter: @soc
Affected Versions: 2.11.0-M7

@scabug
Copy link
Author

@scabug scabug commented Dec 10, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants