Skip to content

[WIP] Fix type parameter default ignored in callback - #63988

Draft
Ryan Cavanaugh (RyanCavanaugh) with Copilot wants to merge 1 commit into
mainfrom
copilot/fix-default-type-parameter-issue
Draft

[WIP] Fix type parameter default ignored in callback#63988
Ryan Cavanaugh (RyanCavanaugh) with Copilot wants to merge 1 commit into
mainfrom
copilot/fix-default-type-parameter-issue

Conversation

Copilot AI commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Fixes #63949

Analysis

  • Locate the TS 7 inference path that discards the defaulted type argument during contextual callback checking.
  • Add a focused compiler regression test based on the minimized repro.
  • Apply the smallest checker fix and validate targeted behavior.
  • Run required build, test, lint, and format commands; review and security-scan the final change.

Fix

Pending investigation.

Copilot Checklist

I successfully ran these commands at the end of my session, and they completed without error:

  • npx hereby build
  • npx hereby test
  • npx hereby lint
  • npx hereby format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[7.0 regression] Type parameter default is ignored when the call sits inside a callback passed to a generic function

2 participants