Skip to content

Conversation

jack-williams
Copy link
Collaborator

In light of #32695 the code that was ensuring that the cast was safe is now checked by the caller of isExhaustiveSwitchStatement. Rather than worrying about whether the caller has the necessary invariants in place to make the cast safe, just handle it directly.

@jack-williams jack-williams force-pushed the add-flag-to-getSwitchClauseTypeOfWitnesses branch 2 times, most recently from 32f5613 to df61cca Compare September 24, 2019 10:01
@jack-williams
Copy link
Collaborator Author

jack-williams commented Sep 24, 2019

<FIXED>

@sandersn sandersn added the For Backlog Bug PRs that fix a backlog bug label Feb 1, 2020
@weswigham weswigham merged commit 67ca82b into microsoft:master Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Backlog Bug PRs that fix a backlog bug
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants