Assertion failed: `SortCompare` must be an abstract closure taking 2 arguments
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- tooling
Research direction
Reproduce the assertion in Chrome 90 and Safari 15 using the shim and its /auto variant, then inspect the SortIndexedProperties path and the SortCompare assertion. Done means the shim no longer throws this assertion in the reported browser cases; the issue provides no file or test path to start from.
Written by the indexing model from the issue text.
Description
When using this shim, an assertion seems to be thrown in SortIndexedProperties.
Assertion failed:
SortComparemust be an abstract closure taking 2 arguments
It seems to do this in Chrome 90 and Safari 15.
I've only imported this shim and imported the /auto variant. If I can provide any additional information, please let me know.
- Dominant language
- JavaScript
- Stars
- 10
- Forks
- 1
- 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 es-shims/Array.prototype.toSorted
-
Dependency DashboardOpen
Difficulty 3/5 1-2 days Newbie friendliness 15/100
All issues in es-shims/Array.prototype.toSorted
Similar issues
-
Link Checker ReportOpenautomated issue report
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
0. to triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
sindresorhus/eslint-plugin-unicorn#3825 ·
Maintainers usually reply within 1 day