mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Progress on updating entire compiler for snake_case
This commit is contained in:
parent
db6cc5a7b1
commit
b56fbd38e1
297 changed files with 8416 additions and 8544 deletions
|
@ -98,7 +98,7 @@ Defs {
|
|||
@21-26 Apply(
|
||||
@21-26 Var {
|
||||
module_name: "Inspect",
|
||||
ident: "toStr",
|
||||
ident: "to_str",
|
||||
},
|
||||
[
|
||||
@21-26 Var {
|
||||
|
@ -126,7 +126,7 @@ Defs {
|
|||
@16-27 Apply(
|
||||
@16-27 Var {
|
||||
module_name: "Inspect",
|
||||
ident: "toStr",
|
||||
ident: "to_str",
|
||||
},
|
||||
[
|
||||
@16-27 Var {
|
||||
|
|
|
@ -49,7 +49,7 @@ Defs {
|
|||
@33-36 Apply(
|
||||
@33-36 Var {
|
||||
module_name: "Inspect",
|
||||
ident: "toStr",
|
||||
ident: "to_str",
|
||||
},
|
||||
[
|
||||
@33-36 Var {
|
||||
|
|
|
@ -49,7 +49,7 @@ Defs {
|
|||
@15-16 Apply(
|
||||
@15-16 Var {
|
||||
module_name: "Inspect",
|
||||
ident: "toStr",
|
||||
ident: "to_str",
|
||||
},
|
||||
[
|
||||
@15-16 Var {
|
||||
|
|
|
@ -87,7 +87,7 @@ Defs {
|
|||
@11-12 Apply(
|
||||
@11-12 Var {
|
||||
module_name: "Inspect",
|
||||
ident: "toStr",
|
||||
ident: "to_str",
|
||||
},
|
||||
[
|
||||
@11-12 Var {
|
||||
|
@ -122,7 +122,7 @@ Defs {
|
|||
@11-40 Apply(
|
||||
@11-40 Var {
|
||||
module_name: "Inspect",
|
||||
ident: "toStr",
|
||||
ident: "to_str",
|
||||
},
|
||||
[
|
||||
@11-40 Var {
|
||||
|
|
|
@ -8,7 +8,7 @@ Defs {
|
|||
EitherIndex(2147483648),
|
||||
],
|
||||
regions: [
|
||||
@0-85,
|
||||
@0-86,
|
||||
],
|
||||
space_before: [
|
||||
Slice<roc_parse::ast::CommentOrNewline> { start: 0, length: 0 },
|
||||
|
@ -25,19 +25,19 @@ Defs {
|
|||
@0-4 Identifier {
|
||||
ident: "main",
|
||||
},
|
||||
@11-69 Apply(
|
||||
@11-69 Var {
|
||||
@11-70 Apply(
|
||||
@11-70 Var {
|
||||
module_name: "Task",
|
||||
ident: "await",
|
||||
},
|
||||
[
|
||||
@11-69 Defs(
|
||||
@11-70 Defs(
|
||||
Defs {
|
||||
tags: [
|
||||
EitherIndex(2147483648),
|
||||
],
|
||||
regions: [
|
||||
@11-69,
|
||||
@11-70,
|
||||
],
|
||||
space_before: [
|
||||
Slice<roc_parse::ast::CommentOrNewline> { start: 0, length: 0 },
|
||||
|
@ -49,34 +49,34 @@ Defs {
|
|||
type_defs: [],
|
||||
value_defs: [
|
||||
AnnotatedBody {
|
||||
ann_pattern: @11-69 Identifier {
|
||||
ann_pattern: @11-70 Identifier {
|
||||
ident: "#!0_stmt",
|
||||
},
|
||||
ann_type: @11-69 Apply(
|
||||
ann_type: @11-70 Apply(
|
||||
"",
|
||||
"Task",
|
||||
[
|
||||
@11-69 Record {
|
||||
@11-70 Record {
|
||||
fields: [],
|
||||
ext: None,
|
||||
},
|
||||
@11-69 Inferred,
|
||||
@11-70 Inferred,
|
||||
],
|
||||
),
|
||||
lines_between: [],
|
||||
body_pattern: @11-69 Identifier {
|
||||
body_pattern: @11-70 Identifier {
|
||||
ident: "#!0_stmt",
|
||||
},
|
||||
body_expr: @11-69 Apply(
|
||||
@11-69 Var {
|
||||
body_expr: @11-70 Apply(
|
||||
@11-70 Var {
|
||||
module_name: "",
|
||||
ident: "line",
|
||||
},
|
||||
[
|
||||
@11-56 Apply(
|
||||
@47-56 Var {
|
||||
@11-57 Apply(
|
||||
@47-57 Var {
|
||||
module_name: "Num",
|
||||
ident: "toStr",
|
||||
ident: "to_str",
|
||||
},
|
||||
[
|
||||
@11-39 Apply(
|
||||
|
@ -151,24 +151,24 @@ Defs {
|
|||
},
|
||||
],
|
||||
},
|
||||
@11-69 Var {
|
||||
@11-70 Var {
|
||||
module_name: "",
|
||||
ident: "#!0_stmt",
|
||||
},
|
||||
),
|
||||
@11-69 Closure(
|
||||
@11-70 Closure(
|
||||
[
|
||||
@11-69 Underscore(
|
||||
@11-70 Underscore(
|
||||
"#!stmt",
|
||||
),
|
||||
],
|
||||
@75-85 Apply(
|
||||
@75-82 Var {
|
||||
@76-86 Apply(
|
||||
@76-83 Var {
|
||||
module_name: "Task",
|
||||
ident: "ok",
|
||||
},
|
||||
[
|
||||
@83-85 Record(
|
||||
@84-86 Record(
|
||||
[],
|
||||
),
|
||||
],
|
||||
|
|
|
@ -164,7 +164,7 @@ mod suffixed_tests {
|
|||
main =
|
||||
"123"
|
||||
|> Str.toU8 ?? 255
|
||||
|> Num.toStr
|
||||
|> Num.to_str
|
||||
|> line!
|
||||
|
||||
Task.ok {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue