mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Add test that failed on main
This commit is contained in:
parent
5e08515ed5
commit
b87635e34b
4 changed files with 82 additions and 0 deletions
|
@ -0,0 +1,6 @@
|
|||
N : f
|
||||
-> ((
|
||||
u,
|
||||
)I
|
||||
-> *)
|
||||
I
|
|
@ -0,0 +1,72 @@
|
|||
@0-25 SpaceAfter(
|
||||
Defs(
|
||||
Defs {
|
||||
tags: [
|
||||
EitherIndex(0),
|
||||
],
|
||||
regions: [
|
||||
@0-23,
|
||||
],
|
||||
space_before: [
|
||||
Slice<roc_parse::ast::CommentOrNewline> { start: 0, length: 0 },
|
||||
],
|
||||
space_after: [
|
||||
Slice<roc_parse::ast::CommentOrNewline> { start: 0, length: 0 },
|
||||
],
|
||||
spaces: [],
|
||||
type_defs: [
|
||||
Alias {
|
||||
header: TypeHeader {
|
||||
name: @0-1 "N",
|
||||
vars: [],
|
||||
},
|
||||
ann: @5-20 Function(
|
||||
[
|
||||
@5-6 BoundVariable(
|
||||
"f",
|
||||
),
|
||||
],
|
||||
Pure,
|
||||
@8-20 Function(
|
||||
[
|
||||
@8-17 Tuple {
|
||||
elems: [
|
||||
@12-13 SpaceBefore(
|
||||
BoundVariable(
|
||||
"u",
|
||||
),
|
||||
[
|
||||
Newline,
|
||||
],
|
||||
),
|
||||
],
|
||||
ext: Some(
|
||||
@16-17 Apply(
|
||||
"",
|
||||
"I",
|
||||
[],
|
||||
),
|
||||
),
|
||||
},
|
||||
],
|
||||
Pure,
|
||||
@19-20 Wildcard,
|
||||
),
|
||||
),
|
||||
},
|
||||
],
|
||||
value_defs: [],
|
||||
},
|
||||
@24-25 SpaceBefore(
|
||||
Tag(
|
||||
"I",
|
||||
),
|
||||
[
|
||||
Newline,
|
||||
],
|
||||
),
|
||||
),
|
||||
[
|
||||
Newline,
|
||||
],
|
||||
)
|
|
@ -0,0 +1,3 @@
|
|||
N:(((f->(((
|
||||
u)))I->*)))
|
||||
I
|
|
@ -440,6 +440,7 @@ mod test_snapshots {
|
|||
pass/fn_with_record_arg.expr,
|
||||
pass/full_app_header.header,
|
||||
pass/full_app_header_trailing_commas.header,
|
||||
pass/func_ty_parens_crazyness.expr,
|
||||
pass/function_effect_types.header,
|
||||
pass/function_with_tuple_ext_type.expr,
|
||||
pass/function_with_tuple_type.expr,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue