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

Crash when defining type inside enum #3127

Closed
asterite opened this issue Aug 9, 2016 · 0 comments
Closed

Crash when defining type inside enum #3127

asterite opened this issue Aug 9, 2016 · 0 comments

Comments

@asterite
Copy link
Member

asterite commented Aug 9, 2016

enum Foo
  A
end

class Foo::Bar
end

Since enum members are always constants, maybe this should be disallowed and give a proper error.

@asterite asterite added this to the 0.20.2 milestone Dec 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant