Repository navigation
fix(unbound-method): treat Intl.Collator compare as bound - #1224
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3794b15973
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1d146d566e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b500b8c82e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Merge activity
|
Port typescript-eslint/typescript-eslint#12845. Allow passing `collator.compare` as a callback or extracting it through destructuring: ECMA-402 binds this function to its instance, although TypeScript declares it as an ordinary method. Require the resolved method to come from the default-library `Collator` declaration, including inherited getters but excluding subclass overrides. Apply the same check to typed and defaulted destructuring bindings. Include all five upstream regression cases and additional coverage for those binding and inheritance forms, while preserving diagnostics for `resolvedOptions` and user-defined methods.
b500b8c to
ace02d6
Compare
Port typescript-eslint/typescript-eslint#12845. Allow passing
collator.compareas a callback or extracting it through destructuring: ECMA-402 binds this function to its instance, although TypeScript declares it as an ordinary method.Require the resolved method to come from the default-library
Collatordeclaration, including inherited getters but excluding subclass overrides. Apply the same check to typed and defaulted destructuring bindings. Include all five upstream regression cases and additional coverage for those binding and inheritance forms, while preserving diagnostics forresolvedOptionsand user-defined methods.