mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Fix bug found in the wild via fuzzing, move fuzzing job to the end
This commit is contained in:
parent
146710a129
commit
3f2117403e
6 changed files with 61 additions and 5 deletions
|
@ -513,6 +513,7 @@ fn requires_space_after_unary(item: &Expr<'_>) -> bool {
|
|||
is_negative,
|
||||
} => *is_negative,
|
||||
Expr::RecordUpdater(..) => true,
|
||||
Expr::RecordAccess(inner, _field) => requires_space_after_unary(inner),
|
||||
Expr::Apply(inner, _, _) => requires_space_after_unary(&inner.value),
|
||||
Expr::TrySuffix { target: _, expr } => requires_space_after_unary(expr),
|
||||
Expr::SpaceAfter(inner, _) | Expr::SpaceBefore(inner, _) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue