Skip to content

#6928 - Removed SByte and Byte from default case requirement and added check for complete match.#7445

Merged
cartermp merged 2 commits intodotnet:masterfrom
gdziadkiewicz:feature/Exhaustive_pattern_matches_on_numeric_values_yield_compiler_warning_#6928
Aug 29, 2019
Merged

#6928 - Removed SByte and Byte from default case requirement and added check for complete match.#7445
cartermp merged 2 commits intodotnet:masterfrom
gdziadkiewicz:feature/Exhaustive_pattern_matches_on_numeric_values_yield_compiler_warning_#6928

Conversation

@gdziadkiewicz
Copy link
Copy Markdown
Contributor

@gdziadkiewicz gdziadkiewicz commented Aug 24, 2019

Fix #6928

Copy link
Copy Markdown
Contributor

@cartermp cartermp left a comment

Choose a reason for hiding this comment

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

Thanks! Just a suggested change in the test but otherwise this looks good

@dsyme
Copy link
Copy Markdown
Contributor

dsyme commented Aug 28, 2019

That was easier to fix than I realized :)

Copy link
Copy Markdown
Contributor

@dsyme dsyme left a comment

Choose a reason for hiding this comment

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

Great work!

@cartermp
Copy link
Copy Markdown
Contributor

Thanks @gdziadkiewicz!

@cartermp cartermp merged commit 783ae80 into dotnet:master Aug 29, 2019
@gdziadkiewicz gdziadkiewicz deleted the feature/Exhaustive_pattern_matches_on_numeric_values_yield_compiler_warning_#6928 branch September 3, 2019 21:53
nosami pushed a commit to xamarin/visualfsharp that referenced this pull request Feb 23, 2021
…d added check for complete match. (dotnet#7445)

* dotnet#6928 - Removed SByte and Byte from default case requirement and added check for complete match.

* Upgrade new tests (dotnet#6928)
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.

Exhaustive pattern matches on numeric values yield compiler warning

3 participants