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

fix: hexify for extract and const terms #440

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

daejunpark
Copy link
Collaborator

previously, Extract(hi, lo, x) is printed as Extract(x()) by hexify.

there were two issues:

  • the hi and lo arguments appear in the decl params(), but not in the app children(). params() was missing in hexify().
  • constants (including variables) have no arguments, so the trailing () should be removed for readability.

both issues have now been fixed, and extract terms are hexified properly.

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.

1 participant