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

dahlia opened this issue Oct 24, 2017 · 1 comment


Copy link

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.


This comment has been minimized.

Copy link

commented Oct 24, 2017

Working on it!

@dahlia dahlia closed this in #188 Oct 26, 2017

dahlia added a commit to dahlia/nirum that referenced this issue Nov 5, 2017
Work around reserved keywords on union Tag enums
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
None yet
2 participants
You can’t perform that action at this time.