Skip to content

fix: preserve operator precedence in LogicalExpression.String()#28

Merged
q-uint merged 3 commits intomasterfrom
fix/18-precedence-operator-string
Mar 24, 2026
Merged

fix: preserve operator precedence in LogicalExpression.String()#28
q-uint merged 3 commits intomasterfrom
fix/18-precedence-operator-string

Conversation

@q-uint
Copy link
Copy Markdown
Collaborator

@q-uint q-uint commented Mar 24, 2026

Wrap OR children in parentheses when the parent operator is AND, so the string output matches the parsed grouping.

Fixes #18

q-uint added 3 commits March 24, 2026 13:48
Wrap OR children in parentheses when the parent operator is AND,
so the string output matches the parsed grouping.
@q-uint q-uint merged commit 5c111b1 into master Mar 24, 2026
4 checks passed
@q-uint q-uint deleted the fix/18-precedence-operator-string branch March 24, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Precedence Operator

1 participant