nushell / nushell/new-nu-parser
Make sure statements in pipelines are not allowed
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 34
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Statements shouldn't be allowed in pipelines to prevent errors like the following:
let x = let y = 5return cmd1 | cmd2(returns onlycmd1)
Contributor guide
No contributing guide indexed for this repository
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 locating the parser handling for pipelines and statements in the new-nu-parser repository, then reproduce the two examples from the issue. Check the related issue #37 for context; done means both forms are rejected rather than producing the incorrect pipeline behavior described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100