Merge branch 'main' into builtin-task

This commit is contained in:
Sam Mohr 2024-07-03 00:42:48 -07:00
commit f61b303a59
No known key found for this signature in database
GPG key ID: EA41D161A3C1BC99
82 changed files with 2661 additions and 5699 deletions

View file

@ -1,4 +1,5 @@
main =
a! "Bar"
x = B.b! "Foo"
c! x

View file

@ -18,28 +18,24 @@ Defs {
@0-4 Identifier {
ident: "main",
},
@0-49 SpaceBefore(
@12-49 SpaceBefore(
Defs(
Defs {
tags: [
Index(2147483648),
Index(2147483649),
Index(2147483650),
],
regions: [
@14-21,
@26-39,
@45-49,
],
space_before: [
Slice(start = 0, length = 0),
Slice(start = 0, length = 1),
Slice(start = 1, length = 0),
],
space_after: [
Slice(start = 0, length = 0),
Slice(start = 1, length = 0),
Slice(start = 1, length = 0),
],
spaces: [
Newline,
@ -85,32 +81,29 @@ Defs {
Space,
),
),
Stmt(
@45-49 SpaceBefore(
Apply(
@45-46 TaskAwaitBang(
Var {
module_name: "",
ident: "c",
},
),
[
@48-49 Var {
module_name: "",
ident: "x",
},
],
Space,
),
[
Newline,
Newline,
],
),
),
],
},
EmptyDefsFinal,
@45-49 SpaceBefore(
Apply(
@45-46 TaskAwaitBang(
Var {
module_name: "",
ident: "c",
},
),
[
@48-49 Var {
module_name: "",
ident: "x",
},
],
Space,
),
[
Newline,
Newline,
],
),
),
[
Newline,

View file

@ -64,7 +64,7 @@ Full {
@88-92 Identifier {
ident: "main",
},
@88-202 SpaceBefore(
@100-202 SpaceBefore(
BinOps(
[
(