mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Fix a bunch of bugs found in fuzzing
This commit is contained in:
parent
5cd38c969f
commit
f7a5f06e5b
217 changed files with 5745 additions and 994 deletions
|
@ -102,6 +102,12 @@ fn round_trip_once(input: Input<'_>) -> Option<String> {
|
|||
return Some("Different ast".to_string());
|
||||
}
|
||||
|
||||
let reformatted = reparsed_ast.format();
|
||||
|
||||
if output != reformatted {
|
||||
return Some("Formatting not stable".to_string());
|
||||
}
|
||||
|
||||
None
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue