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

Support dumping enum as integer constants #335

Merged
merged 3 commits into from
Sep 14, 2021

Conversation

melonedo
Copy link
Contributor

This PR reuses the old path that emits enum as an alias for integer type.
The second commit made enum carry necessary information for further analysis, but my trial to use it did not succeed. Should I keep this?

This avoids printing `const ##varname = Int` instead of `const var"##varname" = Int`.
@melonedo melonedo marked this pull request as ready for review September 13, 2021 10:30
@Gnimuc
Copy link
Member

Gnimuc commented Sep 14, 2021

The second commit made enum carry necessary information for further analysis, but my trial to use it did not succeed. Should I keep this?

That looks good to me.

@Gnimuc Gnimuc merged commit 05eccfc into JuliaInterop:master Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants