Fix bug found in the wild via fuzzing, move fuzzing job to the end

This commit is contained in:
Joshua Warner 2024-12-11 18:39:15 -08:00
parent 146710a129
commit 3f2117403e
No known key found for this signature in database
GPG key ID: 89AD497003F93FDD
6 changed files with 61 additions and 5 deletions

View file

@ -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, _) => {