Skip to content

ensure all switch cases are handled#38361

Merged
joaomoreno merged 1 commit intomicrosoft:masterfrom
nicksnyder:status
Dec 15, 2017
Merged

ensure all switch cases are handled#38361
joaomoreno merged 1 commit intomicrosoft:masterfrom
nicksnyder:status

Conversation

@nicksnyder
Copy link
Contributor

By removing the default case and undefined from the return type, the type system can ensure that all cases are handled.

By removing the default case and undefined from the return type, the type system can ensure that all cases are handled.
@joaomoreno joaomoreno modified the milestones: Backlog, November 2017 Nov 15, 2017
@alexdima alexdima modified the milestones: November 2017, December 2017 Dec 8, 2017
@nicksnyder
Copy link
Contributor Author

ping on this, should be a quick merge that increases type safety

@joaomoreno
Copy link
Member

Thanks! 🍻

@joaomoreno joaomoreno merged commit 89b9d1e into microsoft:master Dec 15, 2017
@joaomoreno joaomoreno added the git GIT issues label Dec 15, 2017
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

git GIT issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants