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

Python enum doesn't allow “mro” for member name #185

Closed
dahlia opened this issue Oct 24, 2017 · 1 comment
Closed

Python enum doesn't allow “mro” for member name #185

dahlia opened this issue Oct 24, 2017 · 1 comment

Comments

@dahlia
Copy link
Member

@dahlia dahlia commented Oct 24, 2017

Due to type.mro() method, Python enum types also don't allow mro for their member name. We need to rename it when it's compiled to Python code.

@kanghyojun
Copy link
Member

@kanghyojun kanghyojun commented Oct 24, 2017

Working on it!

Loading

@dahlia dahlia closed this in #188 Oct 26, 2017
dahlia added a commit to dahlia/nirum that referenced this issue Nov 5, 2017
The bug nirum-lang#185 is also applicable to
union Tag enums.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants