Skip to content

Remove resolveLocation from the checker #3919

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 21, 2015
Merged

Conversation

JsonFreeman
Copy link
Contributor

I removed the resolveLocation function from the checker. I fixed all resulting regressions in what I think are better ways.

Two side effects of my change

  1. I cleaned up pushTypeResolution a bit, so now it should be easier to understand and use
  2. I improved error recovery for overload resolution failures where type arguments are specified

// a/**/
// }
// }
// getTypeOfSymbol for a would return type of parameter symbol string | number
Copy link
Member

Choose a reason for hiding this comment

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

for a would return type

@JsonFreeman
Copy link
Contributor Author

@DanielRosenwasser I've addressed your feedback.

@DanielRosenwasser
Copy link
Member

Looks great :shipit:

JsonFreeman added a commit that referenced this pull request Jul 21, 2015
Remove resolveLocation from the checker
@JsonFreeman JsonFreeman merged commit 2da47e8 into master Jul 21, 2015
@JsonFreeman JsonFreeman deleted the remove_resolveLocation branch July 21, 2015 00:44
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants