Skip to content

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

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

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

Conversation

@asakura
Copy link
Copy Markdown
Contributor

@asakura asakura commented Mar 30, 2026

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
Copy link
Copy Markdown
Contributor

fdncred commented Mar 30, 2026

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