Skip to content

test(lint/unbound-method): sync untyped this parameter baselines - #1178

Merged
camc314 merged 1 commit into
fix/lint-unbound-method-1425from
fix/lint-unbound-method-1426
Nov 30, 2026
Merged

camc314 merged 1 commit into
fix/lint-unbound-method-1425from
fix/lint-unbound-method-1426

Conversation

@camc314

@camc314 camc314 commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Ports the baseline cases from oxc-project/tsgolint#1426 (e03ef6e1).

Upstream, a this parameter without a type annotation dereferenced a nil type node and crashed the lint run. This compiles when noImplicitThis is off. tsrs already treats a missing annotation as not void, like typescript-eslint, so it reports the method as unbound and needs no code change.

// strict: false
class C {
  m(this) {}
}
const f = new C().m; // reported

Copilot AI balanced review requested due to automatic review settings November 30, 2026 14:06

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Codex Review Summary: βœ… Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
πŸ“ Code Review βœ… Completed 2026-11-30T18:13:52.328356Z ddc1380 New commits
ℹ️ 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" or "@codex security review".

Codex reacts with πŸ‘€ while any review is running, comments if it has suggestions, and reacts with πŸ‘ once all reviews finish with no findings.

@camc314
camc314 added this pull request to stack #1163 November 30, 2026 14:06
@camc314
camc314 force-pushed the fix/lint-unbound-method-1426 branch from 990030c to 2012069 Compare November 30, 2026 14:55
@github-actions

github-actions Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Performance change vs main

Workflow run Β· main 5bcf7261c1cf β†’ PR merge 6d3f5cfbc857 (head ddc13802107a)

Clef gate: Clef estimated 15.1% default and single-threaded wall time, 6.2% peak RSS, 5.6% single-threaded instruction count impact probability.

The main and PR tsrs release binaries are byte-for-byte identical. No compiler performance difference to measure.

tsrs-lint

The main and PR tsrs-lint binaries are byte-for-byte identical. No lint performance difference to measure.

@camc314
camc314 force-pushed the fix/lint-unbound-method-1426 branch from 2012069 to c59b393 Compare November 30, 2026 17:04
@camc314
camc314 force-pushed the fix/lint-unbound-method-1426 branch from c59b393 to ddc1380 Compare November 30, 2026 18:12
@codspeed

codspeed Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

Warning

oxc-project has exceeded the Hobby plan limit of 5 active contributors. Upgrade your plan or apply to the open source program by December 8, 2026 to keep using CodSpeed.

1 warning

⚠️ 4 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

βœ… 8 untouched benchmarks
⏩ 8 skipped benchmarks1


Comparing fix/lint-unbound-method-1426 (ddc1380) with fix/lint-unbound-method-1425 (5bcf726)

Open in CodSpeed

Footnotes

  1. 8 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

@camc314
camc314 added this pull request to the merge queue Nov 30, 2026
Merged via the queue into main with commit 85134c2 Nov 30, 2026
34 checks passed
@camc314
camc314 deleted the fix/lint-unbound-method-1426 branch November 30, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants