Unbalanced trailing parentheses handled incorrectly in string interpolation
Open
Nobody has claimed this yet.
A:parser
status:needs-triage
- Dominant language
- Rust
- Stars
- 40.5k
- Forks
- 2.3k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 85
Description
Describe the bug or feature
According to the docs string interpolation should require parentheses to be escaped in order to be treated as a string, however unbalanced trailing closing parentheses are treated as strings
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing Nushell's documented string-interpolation rules with a minimal reproduction of unbalanced trailing closing parentheses. Trace the interpolation parsing path to identify where those parentheses are classified, then verify that the behavior matches the documented escaping requirement.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100