docs(query): Say which operators fail on an index of 1<<24 or more
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 88/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- go
- Domain
- documentation, testing
Research direction
Start with the Edit errors table in docs/query.md and the TestEditDocExamples cases. Check how the table describes the = and += failures, then add the requested ^? example row. Done means the condition names = and +=, and the test example confirms ^? leaves the array unchanged without an error.
Written by the indexing model from the issue text.
Description
The Edit errors table in docs/query.md lists "An index of 1<<24 or more" as a failure with array index 16777216 exceeds maximum 16777215, without naming the operator. = and += fail as documented (.a[16777216] = 1, .a.16777216 = 1), but ^? does not: .a[16777216] ^? on {"a": [0]} leaves {"a": [0]} with no error, as the Go equivalents section already says for deleting an index past the end.
Qualify the condition as "An index of 1<<24 or more with = or +=", and add a TestEditDocExamples row for the ^? case.
- Dominant language
- Go
- Stars
- 7
- Forks
- 2
- Avg merge
- 9h 17m
- Merged PRs (30d)
- 52
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from mojatter/tree
-
yaml: Read a timestamp as its source textPossibly taken @mojatter claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
bug
Difficulty 5/5 Over a week Newbie friendliness 15/100
mojatter/tree#241 · 1 comment ·
Maintainers usually reply within 1 day
-
util: Final design of walk (keys-free walker, pointer fast path, shared Each iteration)Possibly taken @mojatter claimed this 13 days ago. Openenhancement
mojatter/tree#224 · 1 assignee ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 72/100
mojatter/tree#218 · 3 comments ·
Maintainers usually reply within 1 day
Similar issues
-
good first issue help wanted javascript
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
fullsend-ai/fullsend#9733 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
karmada-io/karmada#8101 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
product:platform
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Infisical/infisical#9746 · 1 comment ·
Maintainers usually reply within 1 day