mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-04 00:55:00 +00:00
update test snapshots
This commit is contained in:
parent
3f22c55dda
commit
2cad4b3e21
15 changed files with 16 additions and 389 deletions
|
|
@ -1,7 +1,7 @@
|
|||
Defs(
|
||||
Defs {
|
||||
tags: [
|
||||
Index(2147483649),
|
||||
Index(2147483648),
|
||||
],
|
||||
regions: [
|
||||
@0-38,
|
||||
|
|
@ -15,30 +15,6 @@ Defs(
|
|||
spaces: [],
|
||||
type_defs: [],
|
||||
value_defs: [
|
||||
Annotation(
|
||||
@0-3 Identifier {
|
||||
ident: "foo",
|
||||
},
|
||||
@6-27 TagUnion {
|
||||
ext: None,
|
||||
tags: [
|
||||
@7-11 Apply {
|
||||
name: @7-11 "True",
|
||||
args: [],
|
||||
},
|
||||
@13-26 Apply {
|
||||
name: @13-20 "Perhaps",
|
||||
args: [
|
||||
@21-26 Apply(
|
||||
"",
|
||||
"Thing",
|
||||
[],
|
||||
),
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
),
|
||||
AnnotatedBody {
|
||||
ann_pattern: @0-3 Identifier {
|
||||
ident: "foo",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
Defs(
|
||||
Defs {
|
||||
tags: [
|
||||
Index(2147483649),
|
||||
Index(2147483648),
|
||||
],
|
||||
regions: [
|
||||
@0-39,
|
||||
|
|
@ -15,32 +15,6 @@ Defs(
|
|||
spaces: [],
|
||||
type_defs: [],
|
||||
value_defs: [
|
||||
Annotation(
|
||||
@0-3 Identifier {
|
||||
ident: "foo",
|
||||
},
|
||||
@6-28 TagUnion {
|
||||
ext: Some(
|
||||
@27-28 Wildcard,
|
||||
),
|
||||
tags: [
|
||||
@7-11 Apply {
|
||||
name: @7-11 "True",
|
||||
args: [],
|
||||
},
|
||||
@13-26 Apply {
|
||||
name: @13-20 "Perhaps",
|
||||
args: [
|
||||
@21-26 Apply(
|
||||
"",
|
||||
"Thing",
|
||||
[],
|
||||
),
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
),
|
||||
AnnotatedBody {
|
||||
ann_pattern: @0-3 Identifier {
|
||||
ident: "foo",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
Defs(
|
||||
Defs {
|
||||
tags: [
|
||||
Index(2147483649),
|
||||
Index(2147483648),
|
||||
],
|
||||
regions: [
|
||||
@0-49,
|
||||
|
|
@ -15,23 +15,6 @@ Defs(
|
|||
spaces: [],
|
||||
type_defs: [],
|
||||
value_defs: [
|
||||
Annotation(
|
||||
@0-8 RecordDestructure(
|
||||
[
|
||||
@2-3 Identifier {
|
||||
ident: "x",
|
||||
},
|
||||
@5-7 Identifier {
|
||||
ident: "y",
|
||||
},
|
||||
],
|
||||
),
|
||||
@11-14 Apply(
|
||||
"",
|
||||
"Foo",
|
||||
[],
|
||||
),
|
||||
),
|
||||
AnnotatedBody {
|
||||
ann_pattern: @0-8 RecordDestructure(
|
||||
[
|
||||
|
|
|
|||
|
|
@ -13,33 +13,7 @@ Defs(
|
|||
Slice(start = 0, length = 0),
|
||||
],
|
||||
spaces: [],
|
||||
type_defs: [
|
||||
Alias {
|
||||
header: TypeHeader {
|
||||
name: @0-6 "UserId",
|
||||
vars: [
|
||||
@7-8 Identifier {
|
||||
ident: "x",
|
||||
},
|
||||
],
|
||||
},
|
||||
ann: @11-25 TagUnion {
|
||||
ext: None,
|
||||
tags: [
|
||||
@13-23 Apply {
|
||||
name: @13-19 "UserId",
|
||||
args: [
|
||||
@20-23 Apply(
|
||||
"",
|
||||
"I64",
|
||||
[],
|
||||
),
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
type_defs: [],
|
||||
value_defs: [
|
||||
AnnotatedBody {
|
||||
ann_pattern: @0-8 Apply(
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
Defs(
|
||||
Defs {
|
||||
tags: [
|
||||
Index(2147483649),
|
||||
Index(2147483648),
|
||||
],
|
||||
regions: [
|
||||
@0-41,
|
||||
|
|
@ -15,23 +15,6 @@ Defs(
|
|||
spaces: [],
|
||||
type_defs: [],
|
||||
value_defs: [
|
||||
Annotation(
|
||||
@0-8 Tuple(
|
||||
[
|
||||
@2-3 Identifier {
|
||||
ident: "x",
|
||||
},
|
||||
@5-6 Identifier {
|
||||
ident: "y",
|
||||
},
|
||||
],
|
||||
),
|
||||
@11-14 Apply(
|
||||
"",
|
||||
"Foo",
|
||||
[],
|
||||
),
|
||||
),
|
||||
AnnotatedBody {
|
||||
ann_pattern: @0-8 Tuple(
|
||||
[
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
Defs(
|
||||
Defs {
|
||||
tags: [
|
||||
Index(2147483649),
|
||||
Index(2147483648),
|
||||
],
|
||||
regions: [
|
||||
@0-89,
|
||||
|
|
@ -15,44 +15,6 @@ Defs(
|
|||
spaces: [],
|
||||
type_defs: [],
|
||||
value_defs: [
|
||||
Annotation(
|
||||
@0-5 Identifier {
|
||||
ident: "table",
|
||||
},
|
||||
@8-44 Function(
|
||||
[
|
||||
@8-35 Record {
|
||||
fields: [
|
||||
@14-29 SpaceBefore(
|
||||
SpaceAfter(
|
||||
RequiredValue(
|
||||
@14-20 "height",
|
||||
[],
|
||||
@23-29 Apply(
|
||||
"",
|
||||
"Pixels",
|
||||
[],
|
||||
),
|
||||
),
|
||||
[
|
||||
Newline,
|
||||
],
|
||||
),
|
||||
[
|
||||
Newline,
|
||||
],
|
||||
),
|
||||
],
|
||||
ext: None,
|
||||
},
|
||||
],
|
||||
@39-44 Apply(
|
||||
"",
|
||||
"Table",
|
||||
[],
|
||||
),
|
||||
),
|
||||
),
|
||||
AnnotatedBody {
|
||||
ann_pattern: @0-5 Identifier {
|
||||
ident: "table",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
Defs(
|
||||
Defs {
|
||||
tags: [
|
||||
Index(2147483649),
|
||||
Index(2147483648),
|
||||
],
|
||||
regions: [
|
||||
@0-32,
|
||||
|
|
@ -15,43 +15,6 @@ Defs(
|
|||
spaces: [],
|
||||
type_defs: [],
|
||||
value_defs: [
|
||||
Annotation(
|
||||
@0-1 Identifier {
|
||||
ident: "f",
|
||||
},
|
||||
@4-20 Function(
|
||||
[
|
||||
@4-10 Tuple {
|
||||
elems: [
|
||||
@5-8 Apply(
|
||||
"",
|
||||
"Str",
|
||||
[],
|
||||
),
|
||||
],
|
||||
ext: Some(
|
||||
@9-10 BoundVariable(
|
||||
"a",
|
||||
),
|
||||
),
|
||||
},
|
||||
],
|
||||
@14-20 Tuple {
|
||||
elems: [
|
||||
@15-18 Apply(
|
||||
"",
|
||||
"Str",
|
||||
[],
|
||||
),
|
||||
],
|
||||
ext: Some(
|
||||
@19-20 BoundVariable(
|
||||
"a",
|
||||
),
|
||||
),
|
||||
},
|
||||
),
|
||||
),
|
||||
AnnotatedBody {
|
||||
ann_pattern: @0-1 Identifier {
|
||||
ident: "f",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
Defs(
|
||||
Defs {
|
||||
tags: [
|
||||
Index(2147483649),
|
||||
Index(2147483648),
|
||||
],
|
||||
regions: [
|
||||
@0-42,
|
||||
|
|
@ -15,35 +15,6 @@ Defs(
|
|||
spaces: [],
|
||||
type_defs: [],
|
||||
value_defs: [
|
||||
Annotation(
|
||||
@0-1 Identifier {
|
||||
ident: "f",
|
||||
},
|
||||
@4-21 Function(
|
||||
[
|
||||
@4-7 Apply(
|
||||
"",
|
||||
"I64",
|
||||
[],
|
||||
),
|
||||
],
|
||||
@11-21 Tuple {
|
||||
elems: [
|
||||
@12-15 Apply(
|
||||
"",
|
||||
"I64",
|
||||
[],
|
||||
),
|
||||
@17-20 Apply(
|
||||
"",
|
||||
"I64",
|
||||
[],
|
||||
),
|
||||
],
|
||||
ext: None,
|
||||
},
|
||||
),
|
||||
),
|
||||
AnnotatedBody {
|
||||
ann_pattern: @0-1 Identifier {
|
||||
ident: "f",
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ Defs {
|
|||
Defs(
|
||||
Defs {
|
||||
tags: [
|
||||
Index(2147483649),
|
||||
Index(2147483648),
|
||||
],
|
||||
regions: [
|
||||
@11-93,
|
||||
|
|
@ -36,26 +36,6 @@ Defs {
|
|||
spaces: [],
|
||||
type_defs: [],
|
||||
value_defs: [
|
||||
Annotation(
|
||||
@11-23 Identifier {
|
||||
ident: "wrappedNotEq",
|
||||
},
|
||||
@26-38 Function(
|
||||
[
|
||||
@26-27 BoundVariable(
|
||||
"a",
|
||||
),
|
||||
@29-30 BoundVariable(
|
||||
"a",
|
||||
),
|
||||
],
|
||||
@34-38 Apply(
|
||||
"",
|
||||
"Bool",
|
||||
[],
|
||||
),
|
||||
),
|
||||
),
|
||||
AnnotatedBody {
|
||||
ann_pattern: @11-23 Identifier {
|
||||
ident: "wrappedNotEq",
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ Defs {
|
|||
Index(2147483649),
|
||||
],
|
||||
regions: [
|
||||
@14-21,
|
||||
@12-21,
|
||||
@26-39,
|
||||
],
|
||||
space_before: [
|
||||
|
|
@ -43,7 +43,7 @@ Defs {
|
|||
type_defs: [],
|
||||
value_defs: [
|
||||
Stmt(
|
||||
@14-21 Apply(
|
||||
@12-21 Apply(
|
||||
@12-13 TaskAwaitBang(
|
||||
Var {
|
||||
module_name: "",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
Defs(
|
||||
Defs {
|
||||
tags: [
|
||||
Index(2147483649),
|
||||
Index(2147483648),
|
||||
],
|
||||
regions: [
|
||||
@0-39,
|
||||
|
|
@ -15,45 +15,6 @@ Defs(
|
|||
spaces: [],
|
||||
type_defs: [],
|
||||
value_defs: [
|
||||
Annotation(
|
||||
@0-1 Identifier {
|
||||
ident: "f",
|
||||
},
|
||||
@3-27 Function(
|
||||
[
|
||||
@3-13 Tuple {
|
||||
elems: [
|
||||
@4-7 Apply(
|
||||
"",
|
||||
"Str",
|
||||
[],
|
||||
),
|
||||
@9-12 Apply(
|
||||
"",
|
||||
"Str",
|
||||
[],
|
||||
),
|
||||
],
|
||||
ext: None,
|
||||
},
|
||||
],
|
||||
@17-27 Tuple {
|
||||
elems: [
|
||||
@18-21 Apply(
|
||||
"",
|
||||
"Str",
|
||||
[],
|
||||
),
|
||||
@23-26 Apply(
|
||||
"",
|
||||
"Str",
|
||||
[],
|
||||
),
|
||||
],
|
||||
ext: None,
|
||||
},
|
||||
),
|
||||
),
|
||||
AnnotatedBody {
|
||||
ann_pattern: @0-1 Identifier {
|
||||
ident: "f",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
Defs(
|
||||
Defs {
|
||||
tags: [
|
||||
Index(2147483649),
|
||||
Index(2147483648),
|
||||
],
|
||||
regions: [
|
||||
@0-41,
|
||||
|
|
@ -15,53 +15,6 @@ Defs(
|
|||
spaces: [],
|
||||
type_defs: [],
|
||||
value_defs: [
|
||||
Annotation(
|
||||
@0-1 Identifier {
|
||||
ident: "f",
|
||||
},
|
||||
@3-29 Function(
|
||||
[
|
||||
@3-14 Tuple {
|
||||
elems: [
|
||||
@4-7 Apply(
|
||||
"",
|
||||
"Str",
|
||||
[],
|
||||
),
|
||||
@9-12 Apply(
|
||||
"",
|
||||
"Str",
|
||||
[],
|
||||
),
|
||||
],
|
||||
ext: Some(
|
||||
@13-14 BoundVariable(
|
||||
"a",
|
||||
),
|
||||
),
|
||||
},
|
||||
],
|
||||
@18-29 Tuple {
|
||||
elems: [
|
||||
@19-22 Apply(
|
||||
"",
|
||||
"Str",
|
||||
[],
|
||||
),
|
||||
@24-27 Apply(
|
||||
"",
|
||||
"Str",
|
||||
[],
|
||||
),
|
||||
],
|
||||
ext: Some(
|
||||
@28-29 BoundVariable(
|
||||
"a",
|
||||
),
|
||||
),
|
||||
},
|
||||
),
|
||||
),
|
||||
AnnotatedBody {
|
||||
ann_pattern: @0-1 Identifier {
|
||||
ident: "f",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
Defs(
|
||||
Defs {
|
||||
tags: [
|
||||
Index(2147483649),
|
||||
Index(2147483648),
|
||||
],
|
||||
regions: [
|
||||
@0-17,
|
||||
|
|
@ -15,16 +15,6 @@ Defs(
|
|||
spaces: [],
|
||||
type_defs: [],
|
||||
value_defs: [
|
||||
Annotation(
|
||||
@0-3 Identifier {
|
||||
ident: "foo",
|
||||
},
|
||||
@6-9 Apply(
|
||||
"",
|
||||
"Int",
|
||||
[],
|
||||
),
|
||||
),
|
||||
AnnotatedBody {
|
||||
ann_pattern: @0-3 Identifier {
|
||||
ident: "foo",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
Defs(
|
||||
Defs {
|
||||
tags: [
|
||||
Index(2147483649),
|
||||
Index(2147483648),
|
||||
],
|
||||
regions: [
|
||||
@0-42,
|
||||
|
|
@ -15,30 +15,6 @@ Defs(
|
|||
spaces: [],
|
||||
type_defs: [],
|
||||
value_defs: [
|
||||
Annotation(
|
||||
@0-3 Identifier {
|
||||
ident: "foo",
|
||||
},
|
||||
@6-24 Function(
|
||||
[
|
||||
@6-9 Apply(
|
||||
"",
|
||||
"Int",
|
||||
[],
|
||||
),
|
||||
@11-16 Apply(
|
||||
"",
|
||||
"Float",
|
||||
[],
|
||||
),
|
||||
],
|
||||
@20-24 Apply(
|
||||
"",
|
||||
"Bool",
|
||||
[],
|
||||
),
|
||||
),
|
||||
),
|
||||
AnnotatedBody {
|
||||
ann_pattern: @0-3 Identifier {
|
||||
ident: "foo",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
Defs(
|
||||
Defs {
|
||||
tags: [
|
||||
Index(2147483649),
|
||||
Index(2147483648),
|
||||
],
|
||||
regions: [
|
||||
@0-39,
|
||||
|
|
@ -15,25 +15,6 @@ Defs(
|
|||
spaces: [],
|
||||
type_defs: [],
|
||||
value_defs: [
|
||||
Annotation(
|
||||
@0-5 Identifier {
|
||||
ident: "where",
|
||||
},
|
||||
@8-20 Record {
|
||||
fields: [
|
||||
@9-19 RequiredValue(
|
||||
@9-14 "where",
|
||||
[],
|
||||
@16-19 Apply(
|
||||
"",
|
||||
"I32",
|
||||
[],
|
||||
),
|
||||
),
|
||||
],
|
||||
ext: None,
|
||||
},
|
||||
),
|
||||
AnnotatedBody {
|
||||
ann_pattern: @0-5 Identifier {
|
||||
ident: "where",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue