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 unary print #676

Merged
merged 4 commits into from
Jun 23, 2024
Merged

Fix unary print #676

merged 4 commits into from
Jun 23, 2024

Conversation

zhuliquan
Copy link
Contributor

add parenthesis wrapped for condition node in unary print case.
fix print bug:
not (a == 2 ? b < 1 : b > 2) will print not a == 2 ? b < 1 : b > 2

@antonmedv antonmedv merged commit 9713880 into expr-lang:master Jun 23, 2024
13 checks passed
@zhuliquan zhuliquan deleted the fix-unary_print branch June 24, 2024 13:53
zhuliquan added a commit to zhuliquan/expr that referenced this pull request Jun 24, 2024
* feat: extract code for compiling equal operator

* fix: fix unary node inside condition node print
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