-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
Array
case in check_next_type
for arrays containing simple ty…
…pes & Add logic to handle Panic results in `Struct` case separately (#399) * document todos and implement bytes31 * layout * Download alexandria lib in CI * Add alexandria tests * Add scarb project * suggestion and fixes * Build scarb in test target * Remove dbg print * Add karatsuba test * Clean unused imports * Add more cases * Add tests using data structures * Add more tests * Clippy * Comment tests that produce invalid mlir * Avoid searching twice for func * Pin alexandria version * Run scarb formatter * Dont import unused features * use a different installation method for scarb * Fix * Remove unnecessary flag * Udpate .PHONY * Remove char * Use standard installer with flag * Remove whitespace * Fix * Fix target name * Try solution * Output scarb version * pin scarb version * Build test files in coverage target * Fix scarb version * fix * Fix command duplication * Use action to install scarb in macos CI * Allow compare_output to check arrays of simple values * Fix * Unignore collatz sequence test * Update text * Add logic to handle Panic results separately * Add test case * Typo * Clippy --------- Co-authored-by: Edgar Luque <[email protected]>
- Loading branch information
Showing
4 changed files
with
75 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
use array::Array; | ||
use array::ArrayTrait; | ||
|
||
fn main() { | ||
let mut data: Array<felt252> = ArrayTrait::new(); | ||
data.append('This is an error'); | ||
data.append('Spanning over two felts'); | ||
panic(data); | ||
} |
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