GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Always call getCandidateForOverloadFailure · Pull Request #28564 · microsoft/TypeScript

Conversation

@ghost

@ghost Deleted user (ghost) commented Nov 16, 2018

Copy link
Copy Markdown

This would make it so the command line compiler and services don't differ in the overload chosen.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

weswigham and zzmp reacted with heart emoji
All reactions
  • ❤️ 2 reactions
@ghost
ghost force-pushed the getCandidateForOverloadFailure branch from db2a202 to 1738ee0 Compare November 16, 2018 18:21
Andy Hanson
Always call getCandidateForOverloadFailure
e6212d7
@ghost
ghost force-pushed the getCandidateForOverloadFailure branch from 1738ee0 to e6212d7 Compare November 17, 2018 00:18
@ghost ghost assigned Nathan Shively-Sanders (sandersn) Nov 17, 2018
This was referenced Dec 10, 2018
getTypeChecker returns the same checker manufactured for diagnostics … #28584
Closed
Unify semantic differences between produceDiagnostics and non-producing checkers #28950
Closed
@ark120202 ark120202 mentioned this pull request Jun 20, 2019
Tagged template literals support TypeScriptToLua/TypeScriptToLua#638
Merged
@weswigham Wesley Wigham (weswigham) mentioned this pull request Jan 17, 2020
Ignored error in class constructor causes method usage errors to be ignored #36268
Closed
@sandersn Nathan Shively-Sanders (sandersn) added the For Milestone Bug PRs that fix a bug with a specific milestone label Feb 1, 2020
@sandersn

Nathan Shively-Sanders (sandersn) commented Feb 6, 2020

Copy link
Copy Markdown
Member

Wesley Wigham (@weswigham) Should we be worried about performance problems in services from merging this? resolveUntypedCall is way simpler than getCandidateForOverloadFailure. Unfortunately we don't have an easy way to measure perf differences for a PR there.

(Andrew Casey (@amcasey) in case this is a scenario you want to take note of.)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@weswigham

Wesley Wigham (weswigham) commented Feb 6, 2020

Copy link
Copy Markdown
Member

Should we be worried about performance problems in services from merging this?

The reverse - you should be concerned that command line performance might suffer; the language service checker has always been using the more expensive getCandidateForOverloadFailure - that's how it still provides completions, even in the presence of errors; unlike the command line compiler, it doesn't immediately replace the result with any.

Since that's the concern, a simple perf test on this PR should bear out if that's really a problem.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@sandersn

Nathan Shively-Sanders (sandersn) commented Feb 6, 2020

Copy link
Copy Markdown
Member

Oh, yeah, I misread produceDiagnostics. I'll merge with master and run a perf test then.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@weswigham

Wesley Wigham (weswigham) commented Feb 6, 2020 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Do note that this is technically a prerequisite for #28584 (which is probably why you're here), which we'd like to be able to take to reduce services memory usage~

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@sandersn

Nathan Shively-Sanders (sandersn) commented Feb 6, 2020

Copy link
Copy Markdown
Member

Ha ha nope. I'm just going through Pall Mall by order of age. #28584 is next.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Nathan Shively-Sanders (sandersn) added a commit that referenced this pull request Feb 7, 2020
@sandersn
redo #28564
4e3c2c5
@sandersn Nathan Shively-Sanders (sandersn) mentioned this pull request Feb 7, 2020
redo #28564 #36665
Merged
@sandersn

Nathan Shively-Sanders (sandersn) commented Feb 7, 2020

Copy link
Copy Markdown
Member

Closing in favour of #36665 since I couldn't find the branch for this PR.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@sandersn Nathan Shively-Sanders (sandersn) closed this Feb 7, 2020
Nathan Shively-Sanders (sandersn) added a commit that referenced this pull request Feb 7, 2020
@sandersn
redo #28564 (#36665)
71c1da0
@RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh) deleted the getCandidateForOverloadFailure branch October 25, 2022 20:18
@microsoft Microsoft (microsoft) locked as resolved and limited conversation to collaborators Oct 21, 2025
@typescript-bot

TypeScript Bot (typescript-bot) commented Oct 21, 2025

Copy link
Copy Markdown
Contributor

This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

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

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@sandersn Nathan Shively-Sanders (sandersn)

Labels

For Milestone Bug PRs that fix a bug with a specific milestone

Projects

PR Backlog
Archived in project

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@sandersn @weswigham @typescript-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.