support multiline suffixed statements

This commit is contained in:
Luke Boswell 2024-03-24 15:12:19 +11:00
parent cfa7490b86
commit 56d91ce74c
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0
15 changed files with 455 additions and 116 deletions

View file

@ -224,6 +224,8 @@ mod test_snapshots {
fail/record_type_open_indent.expr,
fail/record_type_tab.expr,
fail/single_no_end.expr,
fail/suffixed_same_ident.expr,
fail/suffixed_single_def.expr,
fail/tab_crash.header,
fail/tag_union_end.expr,
fail/tag_union_lowercase_tag_name.expr,
@ -442,8 +444,9 @@ mod test_snapshots {
pass/sub_var_with_spaces.expr,
pass/sub_with_spaces.expr,
pass/suffixed.expr,
pass/suffixed_def_optional_bang.moduledefs,
pass/suffixed_multiple_defs.moduledefs,
pass/suffixed_nested.expr,
pass/suffixed_one_def.full,
pass/tag_pattern.expr,
pass/ten_times_eleven.expr,
pass/three_arg_closure.expr,