Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Reduce unnecessary error computation#39776

Merged
amcasey merged 1 commit into
microsoft:mastermicrosoft/TypeScript:masterfrom
amcasey:OverloadErrorsamcasey/TypeScript:OverloadErrorsCopy head branch name to clipboard
Jul 28, 2020
Merged

Reduce unnecessary error computation#39776
amcasey merged 1 commit into
microsoft:mastermicrosoft/TypeScript:masterfrom
amcasey:OverloadErrorsamcasey/TypeScript:OverloadErrorsCopy head branch name to clipboard

Conversation

@amcasey

@amcasey amcasey commented Jul 27, 2020

Copy link
Copy Markdown
Member

...during overload resolution. Based on a trace that was spending 30% of a (very slow) overload resolution elaborating errors that were then dropped.

...during overload resolution.  Based on a trace that was spending 30%
of a (very slow) overload resolution elaborating errors that were then
dropped.
@amcasey amcasey requested a review from weswigham July 27, 2020 21:48
@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Jul 27, 2020
@amcasey

amcasey commented Jul 27, 2020

Copy link
Copy Markdown
Member Author

Interestingly, (though, in hindsight, logically), this also affects things like semantic classification that depend on overload resolution to get contextual types.

@amcasey amcasey merged commit 79e2ed2 into microsoft:master Jul 28, 2020
@amcasey amcasey deleted the OverloadErrors branch July 28, 2020 17:35
@amcasey

amcasey commented Jul 28, 2020

Copy link
Copy Markdown
Member Author

@typescript-bot cherry-pick this to release-4.0

@typescript-bot

typescript-bot commented Jul 28, 2020

Copy link
Copy Markdown
Contributor

Heya @amcasey, I've started to run the task to cherry-pick this into release-4.0 on this PR at 195fad2. You can monitor the build here.

@typescript-bot

Copy link
Copy Markdown
Contributor

Hey @amcasey, I couldn't open a PR with the cherry-pick. (You can check the log here). You may need to squash and pick this PR into release-4.0 manually.

@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.