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

when fixing usings, return namespaces associated with ambiguous result #1169

Merged
merged 3 commits into from
Mar 19, 2019
Merged

Conversation

tlo-johnson
Copy link
Contributor

the potential using statements are added to the Text of the QuickFix response, allowing the user manually choose which using statement to employ.

Copy link

@rchande rchande left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

I'm having trouble understanding the scenario. Can you
add applicable test(s) so that we don't regress this, and to help me understand what's being added?

@tlo-johnson
Copy link
Contributor Author

tlo-johnson commented May 2, 2018 via email

@rchande
Copy link

rchande commented May 2, 2018

@tadesegha I'm sorry, you did add a test. I missed it since it was at the bottom of the diff. I do think there are some issues with the test you modified. Mind taking a look? I'm happy to help out if you have any questions.

@tlo-johnson
Copy link
Contributor Author

@rchande the last line of the test 'await AssertUnresolvedReferencesAsync(content.Code, expectedUnresolved);' has assertions. If you update the test without updating the code you should get a failing test.

Copy link
Member

@filipw filipw left a comment

Choose a reason for hiding this comment

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

LGTM - looks good

@david-driscoll david-driscoll merged commit 9f87520 into OmniSharp:master Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants