-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The compiler checks for exhaustive match arms in match expressions. (#…
…701) * Test case. * Remove unused expression. * Introduce the MatchExp as a wrapper for IfExp. * Add generated names to this PR. * Fix uncompleted change. * Edit parsing mechanism to allow expressions the possibility of declaring variables prefixing the expression itself. * Fix license information. * Clippy suggestions. * Use intermediate variable in match expressions. * Update description of desugaring process. * Exhaustivity checking works on integers * Exhaustivity check works for tuples. * Code review suggestions. * Rebrand to usefulness. * Compute specialized matrix algorithm. * WIP * Exhaustivity works in basic cases. * WIP * WIP * Add error messages. * Add some documentation. * Misc cleanup items. * Finding unimplemented patterns works for basic integers. * Fix small bug. * Display max and min instead of big numbers. * WIP working on debugging * Working for tuples. * More stuff for tuples. * Structs work. * Nested structures work. * Better display for Structs. * Fix merge conflicts. * Fix broken tests. * Some docstrings stuff. * More docstring stuff. * More docstring stuff. * More docstring stuff. * WIP * Move usefulness to its own dir. * Fix clippy warning. * Last of documentation. * Fix test case pointing to too advanced std. * Condense internal compiler error messages to one error type. * Remove vscode from gitignore. * Feedback. * Improve test cases. * other test case. * Clippy issues. * Update sway-core/Cargo.toml Co-authored-by: John Adler <adlerjohn@users.noreply.github.com> Co-authored-by: John Adler <adlerjohn@users.noreply.github.com>
- Loading branch information
1 parent
6ea3181
commit c1ef577
Showing
37 changed files
with
4,318 additions
and
579 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Oops, something went wrong.