FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Ensure resolved signature is cached before processing call errors by jakebailey · Pull Request #49598 · microsoft/TypeScript · GitHub

Ensure resolved signature is cached before processing call errors - #49598

Merged
Jake Bailey (jakebailey) merged 4 commits into
microsoft:mainfrom
jakebailey:fix-48636
Jun 21, 2022
Merged

Ensure resolved signature is cached before processing call errors#49598
Jake Bailey (jakebailey) merged 4 commits into
microsoft:mainfrom
jakebailey:fix-48636

Conversation

Copy link
Copy Markdown
Member

Fixes #48636

Big thanks to Wesley Wigham (@weswigham) for sitting with me for 2 hours to debug this.

I couldn't move the caching code from resolvedSignature down into resolveCall; getResolvedSignature conditionally sets resolvedSignature before calling resolveSignature, and resolveSignature then calls a bunch of other functions which do other things before actually resolving the signature. If I move this caching downward where it seems like it should be, I break enough tests to crash the test host.

Comment thread src/compiler/checker.ts Outdated

Copy link
Copy Markdown
Member Author

TypeScript Bot (typescript-bot) commented Jun 20, 2022
edited
Loading

Copy link
Copy Markdown
Contributor

Heya Jake Bailey (@jakebailey), I've started to run the extended test suite on this PR at a65ebb2. You can monitor the build here.

TypeScript Bot (typescript-bot) commented Jun 20, 2022
edited
Loading

Copy link
Copy Markdown
Contributor

Heya Jake Bailey (@jakebailey), I've started to run the parallelized Definitely Typed test suite on this PR at a65ebb2. You can monitor the build here.

TypeScript Bot (typescript-bot) commented Jun 20, 2022
edited
Loading

Copy link
Copy Markdown
Contributor

Heya Jake Bailey (@jakebailey), I've started to run the diff-based user code test suite on this PR at a65ebb2. You can monitor the build here.

Update: The results are in!

Copy link
Copy Markdown
Contributor

Jake Bailey (@jakebailey)
Great news! no new errors were found between main..refs/pull/49598/merge

Copy link
Copy Markdown
Contributor

Heya Jake Bailey (@jakebailey), I've run the RWC suite on this PR - assuming you're on the TS core team, you can view the resulting diff here.

Copy link
Copy Markdown
Member Author

RWC shows one change, and it looks to me like an extra error that shouldn't have been there in the first place (an assignment error where it complains both on the right side, then again on the left side about the same thing), so that seems good.

Jake Bailey (jakebailey) merged commit 71b5bdf into microsoft:main Jun 21, 2022
Jake Bailey (jakebailey) deleted the fix-48636 branch June 21, 2022 20:15

nievesmiguel 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

``

Microsoft (microsoft) locked as resolved and limited conversation to collaborators Oct 22, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Milestone Bug PRs that fix a bug with a specific milestone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Debug Failure. No error for last overload signature

5 participants


Back | FazBrowse Home | New Git URL