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

Tag dosen't have a field in it, generate wrong codes in python. #55

Closed
kanghyojun opened this issue Aug 18, 2016 · 0 comments
Closed

Tag dosen't have a field in it, generate wrong codes in python. #55

kanghyojun opened this issue Aug 18, 2016 · 0 comments
Assignees
Labels
cmp:compiler Component: Compiler backend (e.g., annotation processors, code generators) target:python typ:bug Type: Bug/defect

Comments

@kanghyojun
Copy link
Member

union status
    = run
    | stop
    ;

it will be compiled to

class Status(enum.Enum):

    __slots__ = (
        ,
    )
    ...
@kanghyojun kanghyojun added the typ:bug Type: Bug/defect label Aug 18, 2016
@kanghyojun kanghyojun self-assigned this Aug 18, 2016
@dahlia dahlia added cmp:compiler Component: Compiler backend (e.g., annotation processors, code generators) target:python labels Aug 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmp:compiler Component: Compiler backend (e.g., annotation processors, code generators) target:python typ:bug Type: Bug/defect
Projects
None yet
Development

No branches or pull requests

2 participants