Skip to content

fix: prevent stripping parens in boolean expressions (#162)#164

Merged
fdncred merged 1 commit into
nushell:mainfrom
asakura:fix/issue-162
Mar 30, 2026
Merged

fix: prevent stripping parens in boolean expressions (#162)#164
fdncred merged 1 commit into
nushell:mainfrom
asakura:fix/issue-162

Conversation

@asakura

@asakura asakura commented Mar 30, 2026

Copy link
Copy Markdown
Contributor

Description of changes

Fixes incorrect stripping of leading and trailing parentheses in boolean expressions (e.g., let var = (a) and (b)) where they were mistakenly treated as a single matching pair.

Relevant Issues

closes #162

@fdncred fdncred merged commit 4a9e384 into nushell:main Mar 30, 2026
5 checks passed
@fdncred

fdncred commented Mar 30, 2026

Copy link
Copy Markdown
Contributor

Thanks. I appreciate you chipping in.

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.

Unbalanced parenthesis stripping in boolean expressions

2 participants