Skip to content
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

organizeImports: Fix bug in reference-testing for renamed import #22797

Merged
2 commits merged into from
Mar 22, 2018

Conversation

ghost
Copy link

@ghost ghost commented Mar 22, 2018

Fixes #22743

In import { a as b }, a is propertyName which won't have references besides itself. b is name which is the symbol that will actually be used in the file.

@ghost ghost requested a review from amcasey March 22, 2018 18:13
@ghost
Copy link
Author

ghost commented Mar 22, 2018

Will merge from #22799 once that's in to fix tests

@ghost
Copy link
Author

ghost commented Mar 22, 2018

circleCI failure seems to be from testing against the older version? @FelicianoTech

@ghost ghost merged commit e0ca8a5 into master Mar 22, 2018
@ghost ghost deleted the organizeImports_renamed branch March 22, 2018 20:09
ghost pushed a commit that referenced this pull request Mar 22, 2018
@FelicianoTech
Copy link
Contributor

I'm actually not sure in this instance.

mhegazy added a commit that referenced this pull request Mar 28, 2018
…renamed

organizeImports: Fix bug in reference-testing for renamed import (#22797)
@microsoft microsoft locked and limited conversation to collaborators Jul 25, 2018
This pull request was closed.
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.

2 participants