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

Fix case that was causing us to not offer completion after a case-pattern-label in a switch. #19531

Merged
merged 1 commit into from
May 16, 2017

Conversation

CyrusNajmabadi
Copy link
Member

@CyrusNajmabadi CyrusNajmabadi commented May 15, 2017

Fixes #15348

@CyrusNajmabadi
Copy link
Member Author

retest windows_build_correctness_prtest please

@CyrusNajmabadi CyrusNajmabadi changed the title Trying to track down incredible strangeness #1 Fix case that was causing us to not offer completion after a case-pattern-label in a switch. May 15, 2017
@CyrusNajmabadi CyrusNajmabadi requested a review from sharwell May 15, 2017 23:53
@CyrusNajmabadi
Copy link
Member Author

Tagging @MattGertz

Customer scenario

user cannot use completion after a "pattern case label" (added when we added pattern matching).

Bugs this fixes:

Fixes #15348

Workarounds, if any

none.

Risk

Low.

Performance impact

low.

Is this a regression from a previous update?

no.

Root cause analysis:

It was not missed. We found it when we tested pattern matching. But the bug has never been fixed. it's driving me crazy, so i'm just fixing it :)

How was the bug found?

Found during pattern matching test pass.

@CyrusNajmabadi
Copy link
Member Author

This was also code reviewed in #19494

</Document>)

state.SendTypeChars("this")
Await state.AssertSelectedCompletionItem(displayText:="this", isHardSelected:=True)
Copy link
Member

Choose a reason for hiding this comment

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

I'd love to see a test at the keyword recommender and symbol provider as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants