From 5d6c47b25fb58bd58b0a6fcc16b01ffacca6cc6c Mon Sep 17 00:00:00 2001 From: Agus Zubiaga Date: Sat, 23 Nov 2024 11:05:09 -0300 Subject: [PATCH] Update test_syntax snapshot after new Slice debug impl --- .../underscore_expr_in_def.expr.result-ast | 4 +- ...and_signature_is_multiline.expr.result-ast | 4 +- .../pass/ability_multi_line.expr.result-ast | 4 +- .../pass/ability_single_line.expr.result-ast | 4 +- .../pass/ability_two_in_a_row.expr.result-ast | 8 +-- .../pass/ann_closed_union.expr.result-ast | 4 +- .../pass/ann_effectful_fn.expr.result-ast | 4 +- .../pass/ann_open_union.expr.result-ast | 4 +- ...notated_record_destructure.expr.result-ast | 4 +- .../annotated_tag_destructure.expr.result-ast | 4 +- ...nnotated_tuple_destructure.expr.result-ast | 4 +- .../snapshots/pass/basic_docs.expr.result-ast | 4 +- ...a_prefixed_indented_record.expr.result-ast | 4 +- .../comment_after_annotation.expr.result-ast | 4 +- .../comment_after_def.moduledefs.result-ast | 4 +- .../comment_before_colon_def.expr.result-ast | 4 +- .../comment_before_equals_def.expr.result-ast | 4 +- .../snapshots/pass/crash.expr.result-ast | 24 ++++----- .../pass/dbg_stmt_two_exprs.expr.result-ast | 4 +- .../snapshots/pass/def_bang.expr.result-ast | 4 +- ...middle_extra_indents.moduledefs.result-ast | 20 +++---- ...destructure_tag_assignment.expr.result-ast | 4 +- .../tests/snapshots/pass/docs.expr.result-ast | 4 +- ...fectful_closure_statements.expr.result-ast | 16 +++--- .../snapshots/pass/expect.expr.result-ast | 4 +- .../pass/expect_defs.moduledefs.result-ast | 16 +++--- .../pass/expect_single_line.expr.result-ast | 12 ++--- .../pass/extra_newline.expr.result-ast | 4 +- .../extra_newline_in_parens.expr.result-ast | 4 +- .../pass/fn_with_record_arg.expr.result-ast | 4 +- ...nction_with_tuple_ext_type.expr.result-ast | 4 +- .../function_with_tuple_type.expr.result-ast | 4 +- .../snapshots/pass/if_def.expr.result-ast | 4 +- .../pass/import.moduledefs.result-ast | 4 +- .../import_from_package.moduledefs.result-ast | 16 +++--- .../import_with_alias.moduledefs.result-ast | 8 +-- ...import_with_comments.moduledefs.result-ast | 52 +++++++++---------- .../import_with_exposed.moduledefs.result-ast | 12 ++--- .../import_with_params.moduledefs.result-ast | 16 +++--- ...ed_after_multi_backpassing.expr.result-ast | 8 +-- .../pass/ingested_file.moduledefs.result-ast | 8 +-- .../pass/inline_import.expr.result-ast | 8 +-- .../pass/inline_ingested_file.expr.result-ast | 4 +- ...nline_ingested_file_no_ann.expr.result-ast | 4 +- ..._closing_indent_not_enough.expr.result-ast | 4 +- ...e_indent_no_trailing_comma.expr.result-ast | 4 +- ...indent_with_trailing_comma.expr.result-ast | 4 +- .../snapshots/pass/mixed_docs.expr.result-ast | 4 +- .../module_def_newline.moduledefs.result-ast | 8 +-- ...i_backpassing_in_def.moduledefs.result-ast | 4 +- .../pass/multiline_str_in_pat.expr.result-ast | 4 +- .../pass/multiline_string.expr.result-ast | 12 ++--- .../multiline_type_signature.expr.result-ast | 4 +- ...ype_signature_with_comment.expr.result-ast | 4 +- .../negative_in_apply_def.expr.result-ast | 4 +- ...ested_def_annotation.moduledefs.result-ast | 8 +-- .../pass/newline_after_equals.expr.result-ast | 4 +- ...nd_spaces_before_less_than.expr.result-ast | 4 +- .../pass/newline_in_packages.full.result-ast | 4 +- ..._in_type_alias_application.expr.result-ast | 4 +- .../pass/newline_in_type_def.expr.result-ast | 4 +- .../pass/old_app_header.full.result-ast | 8 +-- .../snapshots/pass/one_def.expr.result-ast | 4 +- .../pass/one_spaced_def.expr.result-ast | 4 +- ...ructure_first_item_in_body.expr.result-ast | 4 +- .../pass/opaque_has_abilities.expr.result-ast | 40 +++++++------- .../pass/opaque_simple.moduledefs.result-ast | 4 +- ..._with_type_arguments.moduledefs.result-ast | 4 +- .../outdented_app_with_record.expr.result-ast | 4 +- .../outdented_colon_in_record.expr.result-ast | 4 +- .../pass/outdented_list.expr.result-ast | 4 +- .../pass/outdented_record.expr.result-ast | 4 +- .../parens_in_type_def_apply.expr.result-ast | 4 +- .../parenthesized_type_def.expr.result-ast | 4 +- ...ized_type_def_space_before.expr.result-ast | 4 +- .../pass/parse_alias.expr.result-ast | 4 +- .../pass/parse_as_ann.expr.result-ast | 4 +- .../pass/pizza_question.moduledefs.result-ast | 4 +- .../record_destructure_def.expr.result-ast | 8 +-- ...ord_destructure_field_bang.expr.result-ast | 4 +- .../record_func_type_decl.expr.result-ast | 4 +- .../record_type_with_function.expr.result-ast | 4 +- ...cord_updater_literal_apply.expr.result-ast | 4 +- .../pass/return_in_if.expr.result-ast | 8 +-- .../pass/return_in_static_def.expr.result-ast | 12 ++--- .../pass/return_in_when.expr.result-ast | 8 +-- .../return_only_statement.expr.result-ast | 4 +- .../pass/separate_defs.moduledefs.result-ast | 24 ++++----- .../pass/space_before_colon.full.result-ast | 4 +- ...andalone_module_defs.moduledefs.result-ast | 12 ++--- ...estion_multiple_defs.moduledefs.result-ast | 12 ++--- .../suffixed_question_one_def.full.result-ast | 16 +++--- ...xed_question_optional_last.full.result-ast | 4 +- .../pass/tag_destructure_bang.expr.result-ast | 4 +- ..._destructure_bang_no_space.expr.result-ast | 4 +- .../tuple_access_after_ident.expr.result-ast | 4 +- .../tuple_destructure_bang.expr.result-ast | 4 +- .../snapshots/pass/tuple_type.expr.result-ast | 4 +- .../pass/tuple_type_ext.expr.result-ast | 4 +- .../pass/two_spaced_def.expr.result-ast | 8 +-- .../type_decl_with_underscore.expr.result-ast | 4 +- .../pass/type_signature_def.expr.result-ast | 4 +- ...ype_signature_function_def.expr.result-ast | 4 +- ...core_in_assignment_pattern.expr.result-ast | 20 +++---- .../pass/value_def_confusion.expr.result-ast | 8 +-- .../pass/when_in_assignment.expr.result-ast | 4 +- .../pass/when_in_function.expr.result-ast | 4 +- ...nction_python_style_indent.expr.result-ast | 4 +- .../where_clause_function.expr.result-ast | 4 +- ...e_multiple_bound_abilities.expr.result-ast | 8 +-- .../where_clause_multiple_has.expr.result-ast | 4 +- ...ltiple_has_across_newlines.expr.result-ast | 4 +- .../where_clause_non_function.expr.result-ast | 4 +- .../where_clause_on_newline.expr.result-ast | 4 +- .../pass/where_ident.expr.result-ast | 4 +- 115 files changed, 390 insertions(+), 390 deletions(-) diff --git a/crates/compiler/test_syntax/tests/snapshots/malformed/underscore_expr_in_def.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/malformed/underscore_expr_in_def.expr.result-ast index 43f45640ee..c292137433 100644 --- a/crates/compiler/test_syntax/tests/snapshots/malformed/underscore_expr_in_def.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/malformed/underscore_expr_in_def.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-3, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [ diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/ability_demand_signature_is_multiline.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/ability_demand_signature_is_multiline.expr.result-ast index ede6aa85bb..d926638def 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/ability_demand_signature_is_multiline.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/ability_demand_signature_is_multiline.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-43, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [ diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/ability_multi_line.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/ability_multi_line.expr.result-ast index 1cb962fc21..09ef23f942 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/ability_multi_line.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/ability_multi_line.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-52, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [ diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/ability_single_line.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/ability_single_line.expr.result-ast index 017412f9d8..5dd22a2163 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/ability_single_line.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/ability_single_line.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-55, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [ diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/ability_two_in_a_row.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/ability_two_in_a_row.expr.result-ast index 7e21cc2acb..25d88f1d00 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/ability_two_in_a_row.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/ability_two_in_a_row.expr.result-ast @@ -10,12 +10,12 @@ SpaceAfter( @53-104, ], space_before: [ - Slice { start: 0, length: 0 }, - Slice { start: 0, length: 2 }, + Slice { start: 0, length: 0 }, + Slice { start: 0, length: 2 }, ], space_after: [ - Slice { start: 0, length: 0 }, - Slice { start: 2, length: 0 }, + Slice { start: 0, length: 0 }, + Slice { start: 2, length: 0 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/ann_closed_union.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/ann_closed_union.expr.result-ast index 12f2249a2b..14c8962d0d 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/ann_closed_union.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/ann_closed_union.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-38, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/ann_effectful_fn.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/ann_effectful_fn.expr.result-ast index 998b247a5c..d0e20356a4 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/ann_effectful_fn.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/ann_effectful_fn.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-89, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/ann_open_union.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/ann_open_union.expr.result-ast index 3d78d0c00e..6258a99a03 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/ann_open_union.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/ann_open_union.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-39, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/annotated_record_destructure.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/annotated_record_destructure.expr.result-ast index 30bd3a25b3..548b3a8cb6 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/annotated_record_destructure.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/annotated_record_destructure.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-49, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/annotated_tag_destructure.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/annotated_tag_destructure.expr.result-ast index a737af53a1..2cc93df84f 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/annotated_tag_destructure.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/annotated_tag_destructure.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-46, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/annotated_tuple_destructure.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/annotated_tuple_destructure.expr.result-ast index 6c548a4d9d..d0b6667d56 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/annotated_tuple_destructure.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/annotated_tuple_destructure.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-41, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/basic_docs.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/basic_docs.expr.result-ast index c6dd36f721..d284b5583c 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/basic_docs.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/basic_docs.expr.result-ast @@ -9,10 +9,10 @@ SpaceBefore( @107-112, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/comma_prefixed_indented_record.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/comma_prefixed_indented_record.expr.result-ast index 0ee368ce19..46c57cca11 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/comma_prefixed_indented_record.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/comma_prefixed_indented_record.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-164, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [ diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/comment_after_annotation.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/comment_after_annotation.expr.result-ast index 54b7042d72..75702a0339 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/comment_after_annotation.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/comment_after_annotation.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-3, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [ diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/comment_after_def.moduledefs.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/comment_after_def.moduledefs.result-ast index de7670cd3b..0af08c9c5a 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/comment_after_def.moduledefs.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/comment_after_def.moduledefs.result-ast @@ -6,10 +6,10 @@ Defs { @0-7, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 1 }, + Slice { start: 0, length: 1 }, ], spaces: [ LineComment( diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/comment_before_colon_def.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/comment_before_colon_def.expr.result-ast index fe68d890c5..7bb65ad6d3 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/comment_before_colon_def.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/comment_before_colon_def.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-5, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/comment_before_equals_def.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/comment_before_equals_def.expr.result-ast index 9aa645ec20..e31c6457c8 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/comment_before_equals_def.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/comment_before_equals_def.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-5, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/crash.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/crash.expr.result-ast index ec23824430..f8b2794f15 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/crash.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/crash.expr.result-ast @@ -16,18 +16,18 @@ SpaceAfter( @75-101, ], space_before: [ - Slice { start: 0, length: 0 }, - Slice { start: 0, length: 1 }, - Slice { start: 1, length: 1 }, - Slice { start: 2, length: 1 }, - Slice { start: 3, length: 1 }, + Slice { start: 0, length: 0 }, + Slice { start: 0, length: 1 }, + Slice { start: 1, length: 1 }, + Slice { start: 2, length: 1 }, + Slice { start: 3, length: 1 }, ], space_after: [ - Slice { start: 0, length: 0 }, - Slice { start: 1, length: 0 }, - Slice { start: 2, length: 0 }, - Slice { start: 3, length: 0 }, - Slice { start: 4, length: 0 }, + Slice { start: 0, length: 0 }, + Slice { start: 1, length: 0 }, + Slice { start: 2, length: 0 }, + Slice { start: 3, length: 0 }, + Slice { start: 4, length: 0 }, ], spaces: [ Newline, @@ -140,10 +140,10 @@ SpaceAfter( @81-93, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/dbg_stmt_two_exprs.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/dbg_stmt_two_exprs.expr.result-ast index 12532d964a..400b544c8d 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/dbg_stmt_two_exprs.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/dbg_stmt_two_exprs.expr.result-ast @@ -10,10 +10,10 @@ SpaceAfter( @5-6, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/def_bang.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/def_bang.expr.result-ast index dc5947f6a5..d67a2bce27 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/def_bang.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/def_bang.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-33, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/defs_suffixed_middle_extra_indents.moduledefs.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/defs_suffixed_middle_extra_indents.moduledefs.result-ast index 5d64a16465..e215ef27e2 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/defs_suffixed_middle_extra_indents.moduledefs.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/defs_suffixed_middle_extra_indents.moduledefs.result-ast @@ -8,12 +8,12 @@ Defs { @176-266, ], space_before: [ - Slice { start: 0, length: 0 }, - Slice { start: 0, length: 2 }, + Slice { start: 0, length: 0 }, + Slice { start: 0, length: 2 }, ], space_after: [ - Slice { start: 0, length: 0 }, - Slice { start: 2, length: 1 }, + Slice { start: 0, length: 0 }, + Slice { start: 2, length: 1 }, ], spaces: [ Newline, @@ -38,12 +38,12 @@ Defs { @97-111, ], space_before: [ - Slice { start: 0, length: 0 }, - Slice { start: 0, length: 1 }, + Slice { start: 0, length: 0 }, + Slice { start: 0, length: 1 }, ], space_after: [ - Slice { start: 0, length: 0 }, - Slice { start: 1, length: 0 }, + Slice { start: 0, length: 0 }, + Slice { start: 1, length: 0 }, ], spaces: [ Newline, @@ -113,10 +113,10 @@ Defs { @215-224, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/destructure_tag_assignment.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/destructure_tag_assignment.expr.result-ast index 55d2f2eece..50bf0bf832 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/destructure_tag_assignment.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/destructure_tag_assignment.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-36, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/docs.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/docs.expr.result-ast index 7f377d15d7..8716e6de4a 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/docs.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/docs.expr.result-ast @@ -9,10 +9,10 @@ SpaceBefore( @48-53, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/effectful_closure_statements.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/effectful_closure_statements.expr.result-ast index 6fe182b7bb..0f7df5fc3e 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/effectful_closure_statements.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/effectful_closure_statements.expr.result-ast @@ -19,14 +19,14 @@ SpaceAfter( @61-154, ], space_before: [ - Slice { start: 0, length: 0 }, - Slice { start: 0, length: 1 }, - Slice { start: 1, length: 2 }, + Slice { start: 0, length: 0 }, + Slice { start: 0, length: 1 }, + Slice { start: 1, length: 2 }, ], space_after: [ - Slice { start: 0, length: 0 }, - Slice { start: 1, length: 0 }, - Slice { start: 3, length: 0 }, + Slice { start: 0, length: 0 }, + Slice { start: 1, length: 0 }, + Slice { start: 3, length: 0 }, ], spaces: [ Newline, @@ -89,10 +89,10 @@ SpaceAfter( @86-119, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/expect.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/expect.expr.result-ast index db5f8952bd..9947f3b3ac 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/expect.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/expect.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-13, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/expect_defs.moduledefs.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/expect_defs.moduledefs.result-ast index de5d80d2fe..8312e3ef28 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/expect_defs.moduledefs.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/expect_defs.moduledefs.result-ast @@ -6,10 +6,10 @@ Defs { @0-644, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 1 }, + Slice { start: 0, length: 1 }, ], spaces: [ Newline, @@ -31,14 +31,14 @@ Defs { @258-556, ], space_before: [ - Slice { start: 0, length: 0 }, - Slice { start: 0, length: 2 }, - Slice { start: 2, length: 2 }, + Slice { start: 0, length: 0 }, + Slice { start: 0, length: 2 }, + Slice { start: 2, length: 2 }, ], space_after: [ - Slice { start: 0, length: 0 }, - Slice { start: 2, length: 0 }, - Slice { start: 4, length: 0 }, + Slice { start: 0, length: 0 }, + Slice { start: 2, length: 0 }, + Slice { start: 4, length: 0 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/expect_single_line.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/expect_single_line.expr.result-ast index 80966f1dfe..a130879059 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/expect_single_line.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/expect_single_line.expr.result-ast @@ -12,14 +12,14 @@ SpaceAfter( @22-35, ], space_before: [ - Slice { start: 0, length: 0 }, - Slice { start: 0, length: 2 }, - Slice { start: 2, length: 2 }, + Slice { start: 0, length: 0 }, + Slice { start: 0, length: 2 }, + Slice { start: 2, length: 2 }, ], space_after: [ - Slice { start: 0, length: 0 }, - Slice { start: 2, length: 0 }, - Slice { start: 4, length: 0 }, + Slice { start: 0, length: 0 }, + Slice { start: 2, length: 0 }, + Slice { start: 4, length: 0 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/extra_newline.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/extra_newline.expr.result-ast index 955f2619d5..c3ad86957f 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/extra_newline.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/extra_newline.expr.result-ast @@ -17,10 +17,10 @@ SpaceAfter( @16-21, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/extra_newline_in_parens.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/extra_newline_in_parens.expr.result-ast index c2b4a8250f..d59e99b4bb 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/extra_newline_in_parens.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/extra_newline_in_parens.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-4, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [ diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/fn_with_record_arg.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/fn_with_record_arg.expr.result-ast index 475051e8bc..54e53a7555 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/fn_with_record_arg.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/fn_with_record_arg.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-89, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/function_with_tuple_ext_type.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/function_with_tuple_ext_type.expr.result-ast index 6f68ac97a2..bba976aa01 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/function_with_tuple_ext_type.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/function_with_tuple_ext_type.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-32, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/function_with_tuple_type.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/function_with_tuple_type.expr.result-ast index 4ffd212055..c8e7b05d8d 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/function_with_tuple_type.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/function_with_tuple_type.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-42, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/if_def.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/if_def.expr.result-ast index 71d7b1e87d..66a2edd326 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/if_def.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/if_def.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-6, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/import.moduledefs.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/import.moduledefs.result-ast index b179c81e2c..c6d341c857 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/import.moduledefs.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/import.moduledefs.result-ast @@ -6,10 +6,10 @@ Defs { @0-12, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 1 }, + Slice { start: 0, length: 1 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/import_from_package.moduledefs.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/import_from_package.moduledefs.result-ast index 45619356f0..7bc25c6801 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/import_from_package.moduledefs.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/import_from_package.moduledefs.result-ast @@ -12,16 +12,16 @@ Defs { @93-146, ], space_before: [ - Slice { start: 0, length: 0 }, - Slice { start: 0, length: 1 }, - Slice { start: 1, length: 1 }, - Slice { start: 2, length: 1 }, + Slice { start: 0, length: 0 }, + Slice { start: 0, length: 1 }, + Slice { start: 1, length: 1 }, + Slice { start: 2, length: 1 }, ], space_after: [ - Slice { start: 0, length: 0 }, - Slice { start: 1, length: 0 }, - Slice { start: 2, length: 0 }, - Slice { start: 3, length: 1 }, + Slice { start: 0, length: 0 }, + Slice { start: 1, length: 0 }, + Slice { start: 2, length: 0 }, + Slice { start: 3, length: 1 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/import_with_alias.moduledefs.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/import_with_alias.moduledefs.result-ast index 91a6090607..8bcacd569f 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/import_with_alias.moduledefs.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/import_with_alias.moduledefs.result-ast @@ -8,12 +8,12 @@ Defs { @24-50, ], space_before: [ - Slice { start: 0, length: 0 }, - Slice { start: 0, length: 1 }, + Slice { start: 0, length: 0 }, + Slice { start: 0, length: 1 }, ], space_after: [ - Slice { start: 0, length: 0 }, - Slice { start: 1, length: 1 }, + Slice { start: 0, length: 0 }, + Slice { start: 1, length: 1 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/import_with_comments.moduledefs.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/import_with_comments.moduledefs.result-ast index 201c30aa33..af18a838e6 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/import_with_comments.moduledefs.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/import_with_comments.moduledefs.result-ast @@ -30,34 +30,34 @@ Defs { @710-718, ], space_before: [ - Slice { start: 0, length: 0 }, - Slice { start: 0, length: 2 }, - Slice { start: 2, length: 2 }, - Slice { start: 4, length: 2 }, - Slice { start: 6, length: 2 }, - Slice { start: 8, length: 2 }, - Slice { start: 10, length: 2 }, - Slice { start: 12, length: 2 }, - Slice { start: 14, length: 2 }, - Slice { start: 16, length: 2 }, - Slice { start: 18, length: 2 }, - Slice { start: 20, length: 3 }, - Slice { start: 23, length: 2 }, + Slice { start: 0, length: 0 }, + Slice { start: 0, length: 2 }, + Slice { start: 2, length: 2 }, + Slice { start: 4, length: 2 }, + Slice { start: 6, length: 2 }, + Slice { start: 8, length: 2 }, + Slice { start: 10, length: 2 }, + Slice { start: 12, length: 2 }, + Slice { start: 14, length: 2 }, + Slice { start: 16, length: 2 }, + Slice { start: 18, length: 2 }, + Slice { start: 20, length: 3 }, + Slice { start: 23, length: 2 }, ], space_after: [ - Slice { start: 0, length: 0 }, - Slice { start: 2, length: 0 }, - Slice { start: 4, length: 0 }, - Slice { start: 6, length: 0 }, - Slice { start: 8, length: 0 }, - Slice { start: 10, length: 0 }, - Slice { start: 12, length: 0 }, - Slice { start: 14, length: 0 }, - Slice { start: 16, length: 0 }, - Slice { start: 18, length: 0 }, - Slice { start: 20, length: 0 }, - Slice { start: 23, length: 0 }, - Slice { start: 25, length: 1 }, + Slice { start: 0, length: 0 }, + Slice { start: 2, length: 0 }, + Slice { start: 4, length: 0 }, + Slice { start: 6, length: 0 }, + Slice { start: 8, length: 0 }, + Slice { start: 10, length: 0 }, + Slice { start: 12, length: 0 }, + Slice { start: 14, length: 0 }, + Slice { start: 16, length: 0 }, + Slice { start: 18, length: 0 }, + Slice { start: 20, length: 0 }, + Slice { start: 23, length: 0 }, + Slice { start: 25, length: 1 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/import_with_exposed.moduledefs.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/import_with_exposed.moduledefs.result-ast index e0341a157b..88a2f4e00e 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/import_with_exposed.moduledefs.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/import_with_exposed.moduledefs.result-ast @@ -10,14 +10,14 @@ Defs { @76-99, ], space_before: [ - Slice { start: 0, length: 0 }, - Slice { start: 0, length: 1 }, - Slice { start: 1, length: 1 }, + Slice { start: 0, length: 0 }, + Slice { start: 0, length: 1 }, + Slice { start: 1, length: 1 }, ], space_after: [ - Slice { start: 0, length: 0 }, - Slice { start: 1, length: 0 }, - Slice { start: 2, length: 1 }, + Slice { start: 0, length: 0 }, + Slice { start: 1, length: 0 }, + Slice { start: 2, length: 1 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/import_with_params.moduledefs.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/import_with_params.moduledefs.result-ast index 79a680706b..ba685b3494 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/import_with_params.moduledefs.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/import_with_params.moduledefs.result-ast @@ -12,16 +12,16 @@ Defs { @97-157, ], space_before: [ - Slice { start: 0, length: 0 }, - Slice { start: 0, length: 1 }, - Slice { start: 1, length: 1 }, - Slice { start: 2, length: 1 }, + Slice { start: 0, length: 0 }, + Slice { start: 0, length: 1 }, + Slice { start: 1, length: 1 }, + Slice { start: 2, length: 1 }, ], space_after: [ - Slice { start: 0, length: 0 }, - Slice { start: 1, length: 0 }, - Slice { start: 2, length: 0 }, - Slice { start: 3, length: 1 }, + Slice { start: 0, length: 0 }, + Slice { start: 1, length: 0 }, + Slice { start: 2, length: 0 }, + Slice { start: 3, length: 1 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/indented_after_multi_backpassing.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/indented_after_multi_backpassing.expr.result-ast index 2eeb237996..5a6ee4c3a6 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/indented_after_multi_backpassing.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/indented_after_multi_backpassing.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-288, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], @@ -78,10 +78,10 @@ SpaceAfter( @123-192, ], space_before: [ - Slice { start: 0, length: 1 }, + Slice { start: 0, length: 1 }, ], space_after: [ - Slice { start: 1, length: 0 }, + Slice { start: 1, length: 0 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/ingested_file.moduledefs.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/ingested_file.moduledefs.result-ast index ca1c1ab5ef..024af56c6c 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/ingested_file.moduledefs.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/ingested_file.moduledefs.result-ast @@ -8,12 +8,12 @@ Defs { @40-85, ], space_before: [ - Slice { start: 0, length: 0 }, - Slice { start: 0, length: 1 }, + Slice { start: 0, length: 0 }, + Slice { start: 0, length: 1 }, ], space_after: [ - Slice { start: 0, length: 0 }, - Slice { start: 1, length: 1 }, + Slice { start: 0, length: 0 }, + Slice { start: 1, length: 1 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/inline_import.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/inline_import.expr.result-ast index 550cf67e37..d3302ee7a0 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/inline_import.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/inline_import.expr.result-ast @@ -10,12 +10,12 @@ SpaceAfter( @27-51, ], space_before: [ - Slice { start: 0, length: 0 }, - Slice { start: 0, length: 1 }, + Slice { start: 0, length: 0 }, + Slice { start: 0, length: 1 }, ], space_after: [ - Slice { start: 0, length: 0 }, - Slice { start: 1, length: 0 }, + Slice { start: 0, length: 0 }, + Slice { start: 1, length: 0 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/inline_ingested_file.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/inline_ingested_file.expr.result-ast index fdbf17719c..ee3defb0f8 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/inline_ingested_file.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/inline_ingested_file.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-33, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/inline_ingested_file_no_ann.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/inline_ingested_file_no_ann.expr.result-ast index 2d9bc22969..e273ec4ea6 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/inline_ingested_file_no_ann.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/inline_ingested_file_no_ann.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-27, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/list_closing_indent_not_enough.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/list_closing_indent_not_enough.expr.result-ast index 3f26b5dc6e..54c53baf31 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/list_closing_indent_not_enough.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/list_closing_indent_not_enough.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-57, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/list_closing_same_indent_no_trailing_comma.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/list_closing_same_indent_no_trailing_comma.expr.result-ast index 4481a36b0f..b161793b60 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/list_closing_same_indent_no_trailing_comma.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/list_closing_same_indent_no_trailing_comma.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-25, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/list_closing_same_indent_with_trailing_comma.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/list_closing_same_indent_with_trailing_comma.expr.result-ast index 8cbf9fd03a..3bdfd3d1a6 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/list_closing_same_indent_with_trailing_comma.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/list_closing_same_indent_with_trailing_comma.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-26, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/mixed_docs.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/mixed_docs.expr.result-ast index 80c9380434..ff97e32cbe 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/mixed_docs.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/mixed_docs.expr.result-ast @@ -9,10 +9,10 @@ SpaceBefore( @113-118, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/module_def_newline.moduledefs.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/module_def_newline.moduledefs.result-ast index a8583eeb5d..c42dc87e69 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/module_def_newline.moduledefs.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/module_def_newline.moduledefs.result-ast @@ -6,10 +6,10 @@ Defs { @0-24, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 1 }, + Slice { start: 0, length: 1 }, ], spaces: [ Newline, @@ -30,10 +30,10 @@ Defs { @11-17, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/multi_backpassing_in_def.moduledefs.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/multi_backpassing_in_def.moduledefs.result-ast index f73c014f1c..570b112baf 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/multi_backpassing_in_def.moduledefs.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/multi_backpassing_in_def.moduledefs.result-ast @@ -6,10 +6,10 @@ Defs { @0-50, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 1 }, + Slice { start: 0, length: 1 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/multiline_str_in_pat.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/multiline_str_in_pat.expr.result-ast index 4e67398afb..b49f2a0d0f 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/multiline_str_in_pat.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/multiline_str_in_pat.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-13, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/multiline_string.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/multiline_string.expr.result-ast index f81cf1dea7..90dcb06779 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/multiline_string.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/multiline_string.expr.result-ast @@ -12,14 +12,14 @@ SpaceAfter( @50-92, ], space_before: [ - Slice { start: 0, length: 0 }, - Slice { start: 0, length: 1 }, - Slice { start: 1, length: 1 }, + Slice { start: 0, length: 0 }, + Slice { start: 0, length: 1 }, + Slice { start: 1, length: 1 }, ], space_after: [ - Slice { start: 0, length: 0 }, - Slice { start: 1, length: 0 }, - Slice { start: 2, length: 0 }, + Slice { start: 0, length: 0 }, + Slice { start: 1, length: 0 }, + Slice { start: 2, length: 0 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/multiline_type_signature.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/multiline_type_signature.expr.result-ast index b63b9570b9..46cf7e0a00 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/multiline_type_signature.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/multiline_type_signature.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-10, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/multiline_type_signature_with_comment.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/multiline_type_signature_with_comment.expr.result-ast index 238eeb51bc..65f707ec00 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/multiline_type_signature_with_comment.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/multiline_type_signature_with_comment.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-19, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/negative_in_apply_def.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/negative_in_apply_def.expr.result-ast index b86b0ccf9b..fdc544916b 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/negative_in_apply_def.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/negative_in_apply_def.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-9, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/nested_def_annotation.moduledefs.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/nested_def_annotation.moduledefs.result-ast index 5fc26b7458..b6828bfaff 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/nested_def_annotation.moduledefs.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/nested_def_annotation.moduledefs.result-ast @@ -6,10 +6,10 @@ Defs { @0-115, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 1 }, + Slice { start: 0, length: 1 }, ], spaces: [ Newline, @@ -30,10 +30,10 @@ Defs { @11-93, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/newline_after_equals.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/newline_after_equals.expr.result-ast index dd2a7dee12..a46baaea9a 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/newline_after_equals.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/newline_after_equals.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-9, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/newline_and_spaces_before_less_than.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/newline_and_spaces_before_less_than.expr.result-ast index 35c80b7943..58e60e2b64 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/newline_and_spaces_before_less_than.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/newline_and_spaces_before_less_than.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-13, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/newline_in_packages.full.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/newline_in_packages.full.result-ast index 16b7434654..4fc7385b18 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/newline_in_packages.full.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/newline_in_packages.full.result-ast @@ -34,10 +34,10 @@ Full( @53-100, ], space_before: [ - Slice { start: 0, length: 2 }, + Slice { start: 0, length: 2 }, ], space_after: [ - Slice { start: 2, length: 1 }, + Slice { start: 2, length: 1 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/newline_in_type_alias_application.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/newline_in_type_alias_application.expr.result-ast index ebd27bd9d5..0fda46101e 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/newline_in_type_alias_application.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/newline_in_type_alias_application.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-6, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [ diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/newline_in_type_def.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/newline_in_type_def.expr.result-ast index d705f6304b..c09c9c5d37 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/newline_in_type_def.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/newline_in_type_def.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-4, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [ diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/old_app_header.full.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/old_app_header.full.result-ast index 9ad363d54d..0ca8b776fa 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/old_app_header.full.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/old_app_header.full.result-ast @@ -52,12 +52,12 @@ Full( @157-187, ], space_before: [ - Slice { start: 0, length: 3 }, - Slice { start: 6, length: 2 }, + Slice { start: 0, length: 3 }, + Slice { start: 6, length: 2 }, ], space_after: [ - Slice { start: 3, length: 3 }, - Slice { start: 8, length: 2 }, + Slice { start: 3, length: 3 }, + Slice { start: 8, length: 2 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/one_def.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/one_def.expr.result-ast index fbaced4ce3..c0d9727db3 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/one_def.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/one_def.expr.result-ast @@ -9,10 +9,10 @@ SpaceBefore( @18-21, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/one_spaced_def.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/one_spaced_def.expr.result-ast index 89666c0613..ef05105d25 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/one_spaced_def.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/one_spaced_def.expr.result-ast @@ -9,10 +9,10 @@ SpaceBefore( @18-23, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/opaque_destructure_first_item_in_body.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/opaque_destructure_first_item_in_body.expr.result-ast index 21726b803b..903afc5203 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/opaque_destructure_first_item_in_body.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/opaque_destructure_first_item_in_body.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-22, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/opaque_has_abilities.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/opaque_has_abilities.expr.result-ast index 40a51299c4..5f771725bd 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/opaque_has_abilities.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/opaque_has_abilities.expr.result-ast @@ -26,28 +26,28 @@ SpaceAfter( @401-427, ], space_before: [ - Slice { start: 0, length: 0 }, - Slice { start: 0, length: 2 }, - Slice { start: 2, length: 2 }, - Slice { start: 4, length: 2 }, - Slice { start: 6, length: 2 }, - Slice { start: 8, length: 2 }, - Slice { start: 10, length: 2 }, - Slice { start: 12, length: 2 }, - Slice { start: 14, length: 2 }, - Slice { start: 16, length: 2 }, + Slice { start: 0, length: 0 }, + Slice { start: 0, length: 2 }, + Slice { start: 2, length: 2 }, + Slice { start: 4, length: 2 }, + Slice { start: 6, length: 2 }, + Slice { start: 8, length: 2 }, + Slice { start: 10, length: 2 }, + Slice { start: 12, length: 2 }, + Slice { start: 14, length: 2 }, + Slice { start: 16, length: 2 }, ], space_after: [ - Slice { start: 0, length: 0 }, - Slice { start: 2, length: 0 }, - Slice { start: 4, length: 0 }, - Slice { start: 6, length: 0 }, - Slice { start: 8, length: 0 }, - Slice { start: 10, length: 0 }, - Slice { start: 12, length: 0 }, - Slice { start: 14, length: 0 }, - Slice { start: 16, length: 0 }, - Slice { start: 18, length: 0 }, + Slice { start: 0, length: 0 }, + Slice { start: 2, length: 0 }, + Slice { start: 4, length: 0 }, + Slice { start: 6, length: 0 }, + Slice { start: 8, length: 0 }, + Slice { start: 10, length: 0 }, + Slice { start: 12, length: 0 }, + Slice { start: 14, length: 0 }, + Slice { start: 16, length: 0 }, + Slice { start: 18, length: 0 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/opaque_simple.moduledefs.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/opaque_simple.moduledefs.result-ast index ecb948e64d..642c75f5ca 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/opaque_simple.moduledefs.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/opaque_simple.moduledefs.result-ast @@ -6,10 +6,10 @@ Defs { @0-9, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 1 }, + Slice { start: 0, length: 1 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/opaque_with_type_arguments.moduledefs.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/opaque_with_type_arguments.moduledefs.result-ast index 1d9a396404..5fe49a3ff1 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/opaque_with_type_arguments.moduledefs.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/opaque_with_type_arguments.moduledefs.result-ast @@ -6,10 +6,10 @@ Defs { @0-53, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 1 }, + Slice { start: 0, length: 1 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/outdented_app_with_record.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/outdented_app_with_record.expr.result-ast index 59d6eb1675..d971a44f86 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/outdented_app_with_record.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/outdented_app_with_record.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-29, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/outdented_colon_in_record.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/outdented_colon_in_record.expr.result-ast index 4cced72b81..fe627e2b54 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/outdented_colon_in_record.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/outdented_colon_in_record.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-22, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/outdented_list.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/outdented_list.expr.result-ast index 3e94afad7a..453657569d 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/outdented_list.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/outdented_list.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-17, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/outdented_record.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/outdented_record.expr.result-ast index 3315ef9ddc..8a5e2bfa59 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/outdented_record.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/outdented_record.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-23, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/parens_in_type_def_apply.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/parens_in_type_def_apply.expr.result-ast index 4a42d096a8..64f9667ea3 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/parens_in_type_def_apply.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/parens_in_type_def_apply.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-8, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [ diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/parenthesized_type_def.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/parenthesized_type_def.expr.result-ast index 15d8c5f845..7b6b3ded59 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/parenthesized_type_def.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/parenthesized_type_def.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-5, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [ diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/parenthesized_type_def_space_before.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/parenthesized_type_def_space_before.expr.result-ast index ee5f397811..9b37ffe977 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/parenthesized_type_def_space_before.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/parenthesized_type_def_space_before.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-6, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [ diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/parse_alias.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/parse_alias.expr.result-ast index bf1236033e..2f51d31a2e 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/parse_alias.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/parse_alias.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-26, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [ diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/parse_as_ann.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/parse_as_ann.expr.result-ast index 0f2e29f45c..4ad9db97d6 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/parse_as_ann.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/parse_as_ann.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-33, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/pizza_question.moduledefs.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/pizza_question.moduledefs.result-ast index 5b551e9d95..521b4e9399 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/pizza_question.moduledefs.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/pizza_question.moduledefs.result-ast @@ -6,10 +6,10 @@ Defs { @0-166, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 1 }, + Slice { start: 0, length: 1 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/record_destructure_def.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/record_destructure_def.expr.result-ast index 38ed746233..20e2e46135 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/record_destructure_def.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/record_destructure_def.expr.result-ast @@ -11,12 +11,12 @@ SpaceBefore( @31-36, ], space_before: [ - Slice { start: 0, length: 0 }, - Slice { start: 0, length: 1 }, + Slice { start: 0, length: 0 }, + Slice { start: 0, length: 1 }, ], space_after: [ - Slice { start: 0, length: 0 }, - Slice { start: 1, length: 0 }, + Slice { start: 0, length: 0 }, + Slice { start: 1, length: 0 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/record_destructure_field_bang.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/record_destructure_field_bang.expr.result-ast index 8a76150ddf..b8c1cc89ce 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/record_destructure_field_bang.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/record_destructure_field_bang.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-32, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/record_func_type_decl.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/record_func_type_decl.expr.result-ast index 12ba5102e7..eb35714507 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/record_func_type_decl.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/record_func_type_decl.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-122, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/record_type_with_function.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/record_type_with_function.expr.result-ast index 7eaa142894..5f3ed09000 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/record_type_with_function.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/record_type_with_function.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-77, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/record_updater_literal_apply.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/record_updater_literal_apply.expr.result-ast index 643a2023cc..c320411f28 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/record_updater_literal_apply.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/record_updater_literal_apply.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-42, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/return_in_if.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/return_in_if.expr.result-ast index 410e650571..9b0bf5e3c0 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/return_in_if.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/return_in_if.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-127, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], @@ -36,10 +36,10 @@ SpaceAfter( @29-110, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/return_in_static_def.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/return_in_static_def.expr.result-ast index 94e49d5f7f..f4a4a61040 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/return_in_static_def.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/return_in_static_def.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-142, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], @@ -30,10 +30,10 @@ SpaceAfter( @21-125, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], @@ -70,10 +70,10 @@ SpaceAfter( @67-72, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/return_in_when.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/return_in_when.expr.result-ast index ffca41041b..b563809d59 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/return_in_when.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/return_in_when.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-154, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], @@ -36,10 +36,10 @@ SpaceAfter( @29-136, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/return_only_statement.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/return_only_statement.expr.result-ast index 0041535b2d..98d7aa6820 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/return_only_statement.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/return_only_statement.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-33, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/separate_defs.moduledefs.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/separate_defs.moduledefs.result-ast index 7b5bc06924..6bf06e0708 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/separate_defs.moduledefs.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/separate_defs.moduledefs.result-ast @@ -16,20 +16,20 @@ Defs { @234-266, ], space_before: [ - Slice { start: 0, length: 0 }, - Slice { start: 0, length: 1 }, - Slice { start: 1, length: 1 }, - Slice { start: 2, length: 2 }, - Slice { start: 4, length: 1 }, - Slice { start: 5, length: 1 }, + Slice { start: 0, length: 0 }, + Slice { start: 0, length: 1 }, + Slice { start: 1, length: 1 }, + Slice { start: 2, length: 2 }, + Slice { start: 4, length: 1 }, + Slice { start: 5, length: 1 }, ], space_after: [ - Slice { start: 0, length: 0 }, - Slice { start: 1, length: 0 }, - Slice { start: 2, length: 0 }, - Slice { start: 4, length: 0 }, - Slice { start: 5, length: 0 }, - Slice { start: 6, length: 1 }, + Slice { start: 0, length: 0 }, + Slice { start: 1, length: 0 }, + Slice { start: 2, length: 0 }, + Slice { start: 4, length: 0 }, + Slice { start: 5, length: 0 }, + Slice { start: 6, length: 1 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/space_before_colon.full.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/space_before_colon.full.result-ast index 3a4876afaa..4d53368401 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/space_before_colon.full.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/space_before_colon.full.result-ast @@ -36,10 +36,10 @@ Full( @39-65, ], space_before: [ - Slice { start: 0, length: 2 }, + Slice { start: 0, length: 2 }, ], space_after: [ - Slice { start: 2, length: 1 }, + Slice { start: 2, length: 1 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/standalone_module_defs.moduledefs.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/standalone_module_defs.moduledefs.result-ast index 361490271c..d944ce8e1d 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/standalone_module_defs.moduledefs.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/standalone_module_defs.moduledefs.result-ast @@ -10,14 +10,14 @@ Defs { @44-57, ], space_before: [ - Slice { start: 0, length: 1 }, - Slice { start: 1, length: 3 }, - Slice { start: 4, length: 1 }, + Slice { start: 0, length: 1 }, + Slice { start: 1, length: 3 }, + Slice { start: 4, length: 1 }, ], space_after: [ - Slice { start: 1, length: 0 }, - Slice { start: 4, length: 0 }, - Slice { start: 5, length: 2 }, + Slice { start: 1, length: 0 }, + Slice { start: 4, length: 0 }, + Slice { start: 5, length: 2 }, ], spaces: [ LineComment( diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/suffixed_question_multiple_defs.moduledefs.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/suffixed_question_multiple_defs.moduledefs.result-ast index a22cd1c19f..fa36420396 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/suffixed_question_multiple_defs.moduledefs.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/suffixed_question_multiple_defs.moduledefs.result-ast @@ -6,10 +6,10 @@ Defs { @0-49, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 1 }, + Slice { start: 0, length: 1 }, ], spaces: [ Newline, @@ -32,12 +32,12 @@ Defs { @26-39, ], space_before: [ - Slice { start: 0, length: 0 }, - Slice { start: 0, length: 1 }, + Slice { start: 0, length: 0 }, + Slice { start: 0, length: 1 }, ], space_after: [ - Slice { start: 0, length: 0 }, - Slice { start: 1, length: 0 }, + Slice { start: 0, length: 0 }, + Slice { start: 1, length: 0 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/suffixed_question_one_def.full.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/suffixed_question_one_def.full.result-ast index 61036c551b..95de78c1a0 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/suffixed_question_one_def.full.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/suffixed_question_one_def.full.result-ast @@ -46,12 +46,12 @@ Full( @76-220, ], space_before: [ - Slice { start: 0, length: 2 }, - Slice { start: 2, length: 2 }, + Slice { start: 0, length: 2 }, + Slice { start: 2, length: 2 }, ], space_after: [ - Slice { start: 2, length: 0 }, - Slice { start: 4, length: 2 }, + Slice { start: 2, length: 0 }, + Slice { start: 4, length: 2 }, ], spaces: [ Newline, @@ -95,12 +95,12 @@ Full( @162-205, ], space_before: [ - Slice { start: 0, length: 0 }, - Slice { start: 0, length: 3 }, + Slice { start: 0, length: 0 }, + Slice { start: 0, length: 3 }, ], space_after: [ - Slice { start: 0, length: 0 }, - Slice { start: 3, length: 0 }, + Slice { start: 0, length: 0 }, + Slice { start: 3, length: 0 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/suffixed_question_optional_last.full.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/suffixed_question_optional_last.full.result-ast index eb059a6798..ffc0bce369 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/suffixed_question_optional_last.full.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/suffixed_question_optional_last.full.result-ast @@ -50,10 +50,10 @@ Full( @88-204, ], space_before: [ - Slice { start: 0, length: 2 }, + Slice { start: 0, length: 2 }, ], space_after: [ - Slice { start: 2, length: 1 }, + Slice { start: 2, length: 1 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/tag_destructure_bang.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/tag_destructure_bang.expr.result-ast index c544346d5d..45b354596a 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/tag_destructure_bang.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/tag_destructure_bang.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-33, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/tag_destructure_bang_no_space.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/tag_destructure_bang_no_space.expr.result-ast index 303e59b8ad..f926dbc12f 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/tag_destructure_bang_no_space.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/tag_destructure_bang_no_space.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-32, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/tuple_access_after_ident.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/tuple_access_after_ident.expr.result-ast index f3a6dbb1d5..5272a96f27 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/tuple_access_after_ident.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/tuple_access_after_ident.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-15, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/tuple_destructure_bang.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/tuple_destructure_bang.expr.result-ast index f98f394b2d..ac20ecc5ca 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/tuple_destructure_bang.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/tuple_destructure_bang.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-32, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/tuple_type.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/tuple_type.expr.result-ast index 07482202ab..b5a12c87c4 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/tuple_type.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/tuple_type.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-39, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/tuple_type_ext.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/tuple_type_ext.expr.result-ast index 92c3f3e03f..d744a7f198 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/tuple_type_ext.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/tuple_type_ext.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-41, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/two_spaced_def.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/two_spaced_def.expr.result-ast index 4cb12e863e..08c99c9fb3 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/two_spaced_def.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/two_spaced_def.expr.result-ast @@ -11,12 +11,12 @@ SpaceBefore( @24-29, ], space_before: [ - Slice { start: 0, length: 0 }, - Slice { start: 0, length: 1 }, + Slice { start: 0, length: 0 }, + Slice { start: 0, length: 1 }, ], space_after: [ - Slice { start: 0, length: 0 }, - Slice { start: 1, length: 0 }, + Slice { start: 0, length: 0 }, + Slice { start: 1, length: 0 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/type_decl_with_underscore.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/type_decl_with_underscore.expr.result-ast index f85036bbe2..20f71709d4 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/type_decl_with_underscore.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/type_decl_with_underscore.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-30, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/type_signature_def.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/type_signature_def.expr.result-ast index 3c2f8f24b3..34da00ded4 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/type_signature_def.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/type_signature_def.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-17, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/type_signature_function_def.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/type_signature_function_def.expr.result-ast index 36bcc2decb..cdde5c91f9 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/type_signature_function_def.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/type_signature_function_def.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-42, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/underscore_in_assignment_pattern.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/underscore_in_assignment_pattern.expr.result-ast index 1206669bdd..855fff207a 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/underscore_in_assignment_pattern.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/underscore_in_assignment_pattern.expr.result-ast @@ -16,18 +16,18 @@ SpaceAfter( @73-128, ], space_before: [ - Slice { start: 0, length: 0 }, - Slice { start: 0, length: 1 }, - Slice { start: 1, length: 1 }, - Slice { start: 2, length: 1 }, - Slice { start: 3, length: 1 }, + Slice { start: 0, length: 0 }, + Slice { start: 0, length: 1 }, + Slice { start: 1, length: 1 }, + Slice { start: 2, length: 1 }, + Slice { start: 3, length: 1 }, ], space_after: [ - Slice { start: 0, length: 0 }, - Slice { start: 1, length: 0 }, - Slice { start: 2, length: 0 }, - Slice { start: 3, length: 0 }, - Slice { start: 4, length: 0 }, + Slice { start: 0, length: 0 }, + Slice { start: 1, length: 0 }, + Slice { start: 2, length: 0 }, + Slice { start: 3, length: 0 }, + Slice { start: 4, length: 0 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/value_def_confusion.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/value_def_confusion.expr.result-ast index e345a31d94..006ae8efa6 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/value_def_confusion.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/value_def_confusion.expr.result-ast @@ -9,12 +9,12 @@ Defs( @4-8, ], space_before: [ - Slice { start: 0, length: 0 }, - Slice { start: 0, length: 1 }, + Slice { start: 0, length: 0 }, + Slice { start: 0, length: 1 }, ], space_after: [ - Slice { start: 0, length: 0 }, - Slice { start: 1, length: 0 }, + Slice { start: 0, length: 0 }, + Slice { start: 1, length: 0 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/when_in_assignment.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/when_in_assignment.expr.result-ast index e8e18b170a..ae141c0cc6 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/when_in_assignment.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/when_in_assignment.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-25, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/when_in_function.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/when_in_function.expr.result-ast index e1b78fcc9c..b7b59bf869 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/when_in_function.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/when_in_function.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-43, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/when_in_function_python_style_indent.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/when_in_function_python_style_indent.expr.result-ast index 0671a83da0..d06a42df79 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/when_in_function_python_style_indent.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/when_in_function_python_style_indent.expr.result-ast @@ -7,10 +7,10 @@ Defs( @0-33, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/where_clause_function.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/where_clause_function.expr.result-ast index 9d0c667000..e0cfd980ca 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/where_clause_function.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/where_clause_function.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-38, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/where_clause_multiple_bound_abilities.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/where_clause_multiple_bound_abilities.expr.result-ast index 0bc4dc2d01..f77a9a351b 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/where_clause_multiple_bound_abilities.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/where_clause_multiple_bound_abilities.expr.result-ast @@ -10,12 +10,12 @@ SpaceAfter( @75-154, ], space_before: [ - Slice { start: 0, length: 0 }, - Slice { start: 0, length: 2 }, + Slice { start: 0, length: 0 }, + Slice { start: 0, length: 2 }, ], space_after: [ - Slice { start: 0, length: 0 }, - Slice { start: 2, length: 0 }, + Slice { start: 0, length: 0 }, + Slice { start: 2, length: 0 }, ], spaces: [ Newline, diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/where_clause_multiple_has.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/where_clause_multiple_has.expr.result-ast index 66b7a5b3cf..2b6ecdf721 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/where_clause_multiple_has.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/where_clause_multiple_has.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-73, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/where_clause_multiple_has_across_newlines.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/where_clause_multiple_has_across_newlines.expr.result-ast index 0a6edab08b..c001f7d74f 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/where_clause_multiple_has_across_newlines.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/where_clause_multiple_has_across_newlines.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-92, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/where_clause_non_function.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/where_clause_non_function.expr.result-ast index 4cfc12e509..86afbf5631 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/where_clause_non_function.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/where_clause_non_function.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-26, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/where_clause_on_newline.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/where_clause_on_newline.expr.result-ast index ff2dbc064e..bfa825be89 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/where_clause_on_newline.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/where_clause_on_newline.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-40, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [], diff --git a/crates/compiler/test_syntax/tests/snapshots/pass/where_ident.expr.result-ast b/crates/compiler/test_syntax/tests/snapshots/pass/where_ident.expr.result-ast index 09d1f93c6b..88031feb51 100644 --- a/crates/compiler/test_syntax/tests/snapshots/pass/where_ident.expr.result-ast +++ b/crates/compiler/test_syntax/tests/snapshots/pass/where_ident.expr.result-ast @@ -8,10 +8,10 @@ SpaceAfter( @0-39, ], space_before: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], space_after: [ - Slice { start: 0, length: 0 }, + Slice { start: 0, length: 0 }, ], spaces: [], type_defs: [],