forked from FuelLabs/sway
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement
if let
expressions and associated fixes (FuelLabs#815)
* Sketch out parsing for if lets * wip * wip * if lets work for types of one=word size * wip * working codegen for types under one word * TDD: lots of type issues * wip * wip * bugfix: return type checking from within if expressions * wip * remove owned typed enum variant * remove owned typed struct fields, now that we have static spans * improve dead code analysis for enums * remove impl self test case * wip * use MCPI * fix cargo warnings * fix clippy warnings * fix tests for IR * resolve some todos * resolve more todos * resolve todos * add chained if let tests * TDD: chained if let * chained if let expressions * update tests for new stdlib * improve dead code analysis; fix large type if let codegen issue * wip * fix tests * fix bug where large types are destructured incorrectly * clippy * update toml files to use tag * fmt * update lockfiles * refresh more lockfiles * PR feedback * update lockfiles
- Loading branch information
Showing
76 changed files
with
1,595 additions
and
589 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
Oops, something went wrong.