Prefix and infix operators with the same symbol clash
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 50/100
Research direction
Start by reading the operator name definition and duplicate-name checks in the boltlang-hir-def crate. Trace how prefix and infix operators are represented and resolved; the issue is done when both forms can be defined with distinct names without triggering a duplicate-definition error.
Written by the indexing model from the issue text.
Description
fn -x and fn a - b define the same name, -, so defining both is "defined more than once". Prefix operators need names of their own.
Crates: boltlang-hir-def.
- Dominant language
- Rust
- Stars
- 54
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from boltlang/Bolt
-
enhancement scope:diagnostics scope:syntax
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
-
enhancement scope:lsp
Difficulty 4/5 1-2 days Newbie friendliness 57/100
-
bug scope:lsp
Difficulty 4/5 3-5 days Newbie friendliness 46/100
-
enhancement scope:lsp
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
performance scope:lsp
Difficulty 4/5 3-5 days Newbie friendliness 50/100
Similar issues
-
accounts bug decoding
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
wboayue/rust-ibapi#1088 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
`mise doctor` Shows Not Installed Lazy Tools as ProblemsPossibly taken @jdx claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
area:kernel needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
bherbruck/solvecraft#7179 · 1 comment ·
-
priority: medium
Difficulty 2/5 1-3 hours Newbie friendliness 61/100
storytold/photocraft#9704 · 3 comments ·
Maintainers usually reply within 1 day