Merge branch 'main' into specialize-exprs

This commit is contained in:
Agus Zubiaga 2024-11-27 11:35:14 -03:00
commit 1dc9dd0a90
No known key found for this signature in database
23 changed files with 286 additions and 160 deletions

View file

@ -1,6 +1,6 @@
SpaceAfter(
Apply(
@0-5 Dbg,
@0-3 Dbg,
[
@4-5 Num(
"1",

View file

@ -1,3 +1,3 @@
dbg 1 == 1
dbg (1 == 1)
4

View file

@ -1,20 +1,22 @@
SpaceBefore(
SpaceAfter(
DbgStmt(
@5-11 BinOps(
[
(
@5-6 Num(
"1",
@6-12 ParensAround(
BinOps(
[
(
@6-7 Num(
"1",
),
@8-10 Equals,
),
@7-9 Equals,
],
@11-12 Num(
"1",
),
],
@10-11 Num(
"1",
),
),
@13-14 SpaceBefore(
@15-16 SpaceBefore(
Num(
"4",
),

View file

@ -1,4 +1,4 @@
dbg 1 == 1
dbg (1 == 1)
4

View file

@ -1,53 +1,38 @@
SpaceAfter(
DbgStmt(
@5-10 SpaceBefore(
Defs(
Defs {
tags: [
EitherIndex(2147483648),
],
regions: [
@5-6,
],
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: [],
value_defs: [
Stmt(
@5-6 Var {
module_name: "",
ident: "q",
},
),
],
},
@8-10 SpaceBefore(
Var {
@6-14 SpaceBefore(
ParensAround(
Apply(
@6-7 Var {
module_name: "",
ident: "qt",
ident: "q",
},
[
Newline,
@12-14 SpaceBefore(
Var {
module_name: "",
ident: "qt",
},
[
Newline,
],
),
],
Space,
),
),
[
Newline,
],
),
@11-16 SpaceBefore(
@16-21 SpaceBefore(
Apply(
@11-12 Var {
@16-17 Var {
module_name: "",
ident: "g",
},
[
@14-16 SpaceBefore(
@19-21 SpaceBefore(
Var {
module_name: "",
ident: "qt",

View file

@ -1,5 +1,5 @@
dbg
q
qt
(q
qt)
g
qt