roc/crates/compiler/test_syntax/tests/snapshots/fail
Agus Zubiaga c56091ee3e
Module Params' proposal import syntax
I previously implemented the syntax in "Proposal: Module and Package Changes" [1]:

```
import [map, map2] from JsonDecode as JD
```

However, we decided [2] to use the one that appears in "Proposal: Module Params" [3]:

```
import JsonDecode as JD exposing [map, map2]
```

The new implementation also now supports comments and newlines between all the tokens.

[1] https://docs.google.com/document/d/1E_77fO-44BtoBtXoVeWyGh1xN2KRTWTu8q6i25RNNx0/edit
[2] 405410612
[3] https://docs.google.com/document/d/110MwQi7Dpo1Y69ECFXyyvDWzF4OYv1BLojIm08qDTvg/edit
2024-01-20 08:35:50 -03:00
..
ability_demand_value_has_args.expr.result-ast Update snapshot tests 2023-08-10 21:51:01 -04:00
ability_demand_value_has_args.expr.roc
ability_demands_not_indented_with_first.expr.result-ast Update snapshot tests 2023-08-10 21:51:01 -04:00
ability_demands_not_indented_with_first.expr.roc
ability_first_demand_not_indented_enough.expr.result-ast Update snapshot tests 2023-08-10 21:51:01 -04:00
ability_first_demand_not_indented_enough.expr.roc
ability_non_signature_expression.expr.result-ast Update snapshot tests 2023-08-10 21:51:01 -04:00
ability_non_signature_expression.expr.roc
alias_or_opaque_fail.expr.result-ast
alias_or_opaque_fail.expr.roc
comment_with_tab.expr.result-ast
comment_with_tab.expr.roc
def_missing_final_expression.expr.result-ast
def_missing_final_expression.expr.roc
double_plus.expr.result-ast
double_plus.expr.roc
elm_function_syntax.expr.result-ast
elm_function_syntax.expr.roc
empty_or_pattern.expr.result-ast
empty_or_pattern.expr.roc
error_inline_alias_argument_uppercase.expr.result-ast
error_inline_alias_argument_uppercase.expr.roc
error_inline_alias_not_an_alias.expr.result-ast
error_inline_alias_not_an_alias.expr.roc
error_inline_alias_qualified.expr.result-ast
error_inline_alias_qualified.expr.roc
expr_to_pattern_fail.expr.result-ast
expr_to_pattern_fail.expr.roc
expression_indentation_end.expr.result-ast
expression_indentation_end.expr.roc
if_guard_without_condition.expr.result-ast
if_guard_without_condition.expr.roc
if_missing_else.expr.result-ast
if_missing_else.expr.roc
if_outdented_then.expr.result-ast
if_outdented_then.expr.roc
import_with_lowercase_alias.moduledefs.result-ast Module Params' proposal import syntax 2024-01-20 08:35:50 -03:00
import_with_lowercase_alias.moduledefs.roc Parse and format aliases in import defs 2024-01-20 08:35:50 -03:00
imports_missing_comma.header.result-ast
imports_missing_comma.header.roc
inline_hastype.expr.result-ast
inline_hastype.expr.roc
invalid_operator.expr.result-ast
invalid_operator.expr.roc
lambda_double_comma.expr.result-ast
lambda_double_comma.expr.roc
lambda_extra_comma.expr.result-ast
lambda_extra_comma.expr.roc
lambda_leading_comma.expr.result-ast
lambda_leading_comma.expr.roc
lambda_missing_indent.expr.result-ast
lambda_missing_indent.expr.roc
list_double_comma.expr.result-ast
list_double_comma.expr.roc
list_pattern_not_terminated.expr.result-ast
list_pattern_not_terminated.expr.roc
list_pattern_weird_rest_pattern.expr.result-ast
list_pattern_weird_rest_pattern.expr.roc
list_without_end.expr.result-ast
list_without_end.expr.roc
multi_no_end.expr.result-ast
multi_no_end.expr.roc
pattern_binds_keyword.expr.result-ast
pattern_binds_keyword.expr.roc
pattern_in_parens_end.expr.result-ast
pattern_in_parens_end.expr.roc
pattern_in_parens_end_comma.expr.result-ast
pattern_in_parens_end_comma.expr.roc
pattern_in_parens_indent_open.expr.result-ast
pattern_in_parens_indent_open.expr.roc
pattern_in_parens_open.expr.result-ast
pattern_in_parens_open.expr.roc
record_type_end.expr.result-ast
record_type_end.expr.roc
record_type_keyword_field_name.expr.result-ast
record_type_keyword_field_name.expr.roc
record_type_missing_comma.expr.result-ast
record_type_missing_comma.expr.roc
record_type_open.expr.result-ast
record_type_open.expr.roc
record_type_open_indent.expr.result-ast
record_type_open_indent.expr.roc
record_type_tab.expr.result-ast
record_type_tab.expr.roc
single_no_end.expr.result-ast
single_no_end.expr.roc
tab_crash.header.result-ast
tab_crash.header.roc
tag_union_end.expr.result-ast
tag_union_end.expr.roc
tag_union_lowercase_tag_name.expr.result-ast
tag_union_lowercase_tag_name.expr.roc
tag_union_open.expr.result-ast
tag_union_open.expr.roc
tag_union_second_lowercase_tag_name.expr.result-ast
tag_union_second_lowercase_tag_name.expr.roc
trailing_operator.expr.result-ast
trailing_operator.expr.roc
type_annotation_double_colon.expr.result-ast
type_annotation_double_colon.expr.roc
type_apply_stray_dot.expr.result-ast
type_apply_stray_dot.expr.roc
type_argument_arrow_then_nothing.expr.result-ast
type_argument_arrow_then_nothing.expr.roc
type_argument_no_arrow.expr.result-ast
type_argument_no_arrow.expr.roc
type_double_comma.expr.result-ast
type_double_comma.expr.roc
type_in_parens_end.expr.result-ast
type_in_parens_end.expr.roc
type_in_parens_start.expr.result-ast
type_in_parens_start.expr.roc
type_inline_alias.expr.result-ast
type_inline_alias.expr.roc
underscore_name_type_annotation.expr.result-ast
underscore_name_type_annotation.expr.roc
unfinished_closure_pattern_in_parens.expr.result-ast
unfinished_closure_pattern_in_parens.expr.roc
unicode_not_hex.expr.result-ast
unicode_not_hex.expr.roc
weird_escape.expr.result-ast
weird_escape.expr.roc
when_missing_arrow.expr.result-ast
when_missing_arrow.expr.roc
when_outdented_branch.expr.result-ast
when_outdented_branch.expr.roc
when_over_indented_int.expr.result-ast
when_over_indented_int.expr.roc
when_over_indented_underscore.expr.result-ast
when_over_indented_underscore.expr.roc
where_type_variable.expr.result-ast Allow where to be used as an identifier (except in type vars) 2023-09-30 01:48:10 -03:00
where_type_variable.expr.roc Allow where to be used as an identifier (except in type vars) 2023-09-30 01:48:10 -03:00
wild_case_arrow.expr.result-ast
wild_case_arrow.expr.roc