`1 |> 2` should be a parse error
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 446
- Forks
- 32
- Avg merge
- 16h 48m
- Merged PRs (30d)
- 1
Description
The RHS must be a function call:
1 |> 2()
(yep 2() is a valid function call!)
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 locating the parser entry point and existing tests for R's |> operator or invalid function-call syntax. Add regression coverage for 1 |> 2 and verify it is rejected as a parse error while 1 |> 2() remains valid.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, rust
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100