Also conservatively check for spaces at the beginning of the pattern

This commit is contained in:
Joshua Warner 2024-12-14 10:16:53 -08:00
parent 0feed5d57b
commit a15998872d
No known key found for this signature in database
GPG key ID: 89AD497003F93FDD
5 changed files with 109 additions and 3 deletions

View file

@ -289,6 +289,7 @@ mod test_snapshots {
pass/ann_effectful_fn.expr,
pass/ann_open_union.expr,
pass/ann_parens_comments.expr,
pass/ann_pattern_comment_before_body.expr,
pass/ann_record_pat_with_comment.expr,
pass/ann_tag_union_newline_comment.expr,
pass/annotate_tuple_func.expr,