Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(printer): Handle Assign.lhs being an empty tuple #12

Merged
merged 1 commit into from
Jan 25, 2025

Conversation

potatomashed
Copy link
Collaborator

This PR fixes the behavior when Assign.lhs is Tuple([]). Previously, it would print:

 = x + y

where = is unnecessary and wrong. This PR fixes this issue.

@potatomashed potatomashed merged commit 85750f9 into mlc-ai:main Jan 25, 2025
4 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant