-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Similar to native match pattern for tuple structs, make `matches_patt…
…ern` enforce exhaustive field checks for tuple structs by default, to be suppressed by explicit `..` at the end of the pattern. This change is not backward-compatible since it enforces field exhaustiveness by default in the absence of a trailing `..` in the pattern. Fixes #447 PiperOrigin-RevId: 704273542
- Loading branch information
1 parent
3d65dea
commit 914bbfb
Showing
4 changed files
with
181 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters