-
-
Notifications
You must be signed in to change notification settings - Fork 320
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7430 from joshuawarner32/fuzzing-bugs-6
Fix more fuzzing bugs
- Loading branch information
Showing
26 changed files
with
144 additions
and
120 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
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
1 change: 1 addition & 0 deletions
1
crates/compiler/test_syntax/tests/snapshots/fail/d_assign_return_bang.expr.result-ast
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 @@ | ||
Expr(Start(@0), @0) |
3 changes: 3 additions & 0 deletions
3
crates/compiler/test_syntax/tests/snapshots/fail/d_assign_return_bang.expr.roc
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,3 @@ | ||
D=return!- | ||
e | ||
z# |
1 change: 1 addition & 0 deletions
1
crates/compiler/test_syntax/tests/snapshots/fail/dbg_bang_neg_bang_if_bang.expr.result-ast
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 @@ | ||
Expr(Start(@6), @0) |
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...iler/test_syntax/tests/snapshots/fail/empty_record_assignment_d_when_bang.expr.result-ast
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 @@ | ||
Expr(BadExprEnd(@5), @0) |
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...piler/test_syntax/tests/snapshots/fail/sub_minus_o_apply_minus_crash_bang.expr.result-ast
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 @@ | ||
Expr(BadExprEnd(@12), @0) |
2 changes: 2 additions & 0 deletions
2
crates/compiler/test_syntax/tests/snapshots/fail/sub_minus_o_apply_minus_crash_bang.expr.roc
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,2 @@ | ||
h- | ||
-o -crash! |
1 change: 1 addition & 0 deletions
1
crates/compiler/test_syntax/tests/snapshots/fail/wherem_implementsf.expr.result-ast
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 @@ | ||
Expr(Type(TInParens(End(@5), @2), @2), @0) |
4 changes: 4 additions & 0 deletions
4
crates/compiler/test_syntax/tests/snapshots/fail/wherem_implementsf.expr.roc
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,4 @@ | ||
s:(s | ||
wherem | ||
implementsF)A | ||
_ |
1 change: 0 additions & 1 deletion
1
...es/compiler/test_syntax/tests/snapshots/pass/dbg_bang_neg_bang_if_bang.expr.formatted.roc
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
crates/compiler/test_syntax/tests/snapshots/pass/dbg_bang_neg_bang_if_bang.expr.result-ast
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
crates/compiler/test_syntax/tests/snapshots/pass/empty_record_assign_dbg.expr.formatted.roc
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,4 @@ | ||
{} = | ||
dbg c | ||
c | ||
e |
60 changes: 60 additions & 0 deletions
60
crates/compiler/test_syntax/tests/snapshots/pass/empty_record_assign_dbg.expr.result-ast
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,60 @@ | ||
@0-15 SpaceAfter( | ||
Defs( | ||
Defs { | ||
tags: [ | ||
EitherIndex(2147483648), | ||
], | ||
regions: [ | ||
@0-13, | ||
], | ||
space_before: [ | ||
Slice<roc_parse::ast::CommentOrNewline> { start: 0, length: 0 }, | ||
], | ||
space_after: [ | ||
Slice<roc_parse::ast::CommentOrNewline> { start: 0, length: 0 }, | ||
], | ||
spaces: [], | ||
type_defs: [], | ||
value_defs: [ | ||
Body( | ||
@0-2 RecordDestructure( | ||
[], | ||
), | ||
@5-10 SpaceBefore( | ||
DbgStmt { | ||
first: @9-10 Var { | ||
module_name: "", | ||
ident: "c", | ||
}, | ||
extra_args: [], | ||
continuation: @12-13 SpaceBefore( | ||
Var { | ||
module_name: "", | ||
ident: "c", | ||
}, | ||
[ | ||
Newline, | ||
], | ||
), | ||
}, | ||
[ | ||
Newline, | ||
], | ||
), | ||
), | ||
], | ||
}, | ||
@14-15 SpaceBefore( | ||
Var { | ||
module_name: "", | ||
ident: "e", | ||
}, | ||
[ | ||
Newline, | ||
], | ||
), | ||
), | ||
[ | ||
Newline, | ||
], | ||
) |
4 changes: 4 additions & 0 deletions
4
crates/compiler/test_syntax/tests/snapshots/pass/empty_record_assign_dbg.expr.roc
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,4 @@ | ||
{}= | ||
dbg c | ||
c | ||
e |
2 changes: 0 additions & 2 deletions
2
...r/test_syntax/tests/snapshots/pass/empty_record_assignment_d_when_bang.expr.formatted.roc
This file was deleted.
Oops, something went wrong.
52 changes: 0 additions & 52 deletions
52
...iler/test_syntax/tests/snapshots/pass/empty_record_assignment_d_when_bang.expr.result-ast
This file was deleted.
Oops, something went wrong.
5 changes: 2 additions & 3 deletions
5
...piler/test_syntax/tests/snapshots/pass/where_and_implements_lookalikes.expr.formatted.roc
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
( | ||
i : | ||
a # | ||
where w implements I | ||
i : a # | ||
wherew implementsI | ||
e | ||
) |
Oops, something went wrong.