Skip to content

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
@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