Merge pull request #4340 from harupy/fix-locations-of-parethesized-expressions

Fix the start and end locations of `Tuple`
This commit is contained in:
Jim Fasarakis-Hilliard 2022-12-18 15:17:40 +02:00 committed by GitHub
commit 5f4309c62c
13 changed files with 41 additions and 41 deletions

View file

@ -55,12 +55,12 @@ expression: parse_ast
value: Located {
location: Location {
row: 1,
column: 7,
column: 6,
},
end_location: Some(
Location {
row: 1,
column: 14,
column: 15,
},
),
custom: (),

View file

@ -36,12 +36,12 @@ expression: parse_ast
iter: Located {
location: Location {
row: 1,
column: 10,
column: 9,
},
end_location: Some(
Location {
row: 1,
column: 17,
column: 18,
},
),
custom: (),

View file

@ -73,12 +73,12 @@ expression: parse_ast
value: Located {
location: Location {
row: 1,
column: 10,
column: 9,
},
end_location: Some(
Location {
row: 1,
column: 17,
column: 18,
},
),
custom: (),

View file

@ -87,12 +87,12 @@ expression: parse_ast
iter: Located {
location: Location {
row: 1,
column: 17,
column: 16,
},
end_location: Some(
Location {
row: 1,
column: 24,
column: 25,
},
),
custom: (),

View file

@ -38,12 +38,12 @@ expression: parse_ast
value: Located {
location: Location {
row: 1,
column: 5,
column: 4,
},
end_location: Some(
Location {
row: 1,
column: 12,
column: 13,
},
),
custom: (),

View file

@ -87,12 +87,12 @@ expression: parse_ast
iter: Located {
location: Location {
row: 1,
column: 17,
column: 16,
},
end_location: Some(
Location {
row: 1,
column: 24,
column: 25,
},
),
custom: (),

View file

@ -20,12 +20,12 @@ expression: parse_ast
Located {
location: Location {
row: 1,
column: 1,
column: 0,
},
end_location: Some(
Location {
row: 1,
column: 6,
column: 7,
},
),
custom: (),
@ -89,12 +89,12 @@ expression: parse_ast
value: Located {
location: Location {
row: 1,
column: 11,
column: 10,
},
end_location: Some(
Location {
row: 1,
column: 18,
column: 19,
},
),
custom: (),

View file

@ -71,12 +71,12 @@ expression: parse_ast
value: Located {
location: Location {
row: 1,
column: 8,
column: 7,
},
end_location: Some(
Location {
row: 1,
column: 15,
column: 16,
},
),
custom: (),

View file

@ -20,12 +20,12 @@ expression: parse_ast
Located {
location: Location {
row: 1,
column: 1,
column: 0,
},
end_location: Some(
Location {
row: 1,
column: 5,
column: 6,
},
),
custom: (),
@ -73,12 +73,12 @@ expression: parse_ast
value: Located {
location: Location {
row: 1,
column: 10,
column: 9,
},
end_location: Some(
Location {
row: 1,
column: 17,
column: 18,
},
),
custom: (),

View file

@ -54,12 +54,12 @@ expression: parse_ast
value: Located {
location: Location {
row: 1,
column: 8,
column: 7,
},
end_location: Some(
Location {
row: 1,
column: 15,
column: 16,
},
),
custom: (),

View file

@ -70,12 +70,12 @@ expression: parse_ast
value: Located {
location: Location {
row: 1,
column: 9,
column: 8,
},
end_location: Some(
Location {
row: 1,
column: 16,
column: 17,
},
),
custom: (),

View file

@ -891,12 +891,12 @@ expression: "parse_program(source, \"<test>\").unwrap()"
context_expr: Located {
location: Location {
row: 12,
column: 6,
column: 5,
},
end_location: Some(
Location {
row: 12,
column: 8,
column: 9,
},
),
custom: (),
@ -1061,12 +1061,12 @@ expression: "parse_program(source, \"<test>\").unwrap()"
context_expr: Located {
location: Location {
row: 14,
column: 6,
column: 5,
},
end_location: Some(
Location {
row: 14,
column: 10,
column: 11,
},
),
custom: (),
@ -1172,12 +1172,12 @@ expression: "parse_program(source, \"<test>\").unwrap()"
context_expr: Located {
location: Location {
row: 15,
column: 6,
column: 5,
},
end_location: Some(
Location {
row: 15,
column: 9,
column: 10,
},
),
custom: (),
@ -1260,12 +1260,12 @@ expression: "parse_program(source, \"<test>\").unwrap()"
context_expr: Located {
location: Location {
row: 16,
column: 6,
column: 5,
},
end_location: Some(
Location {
row: 16,
column: 9,
column: 10,
},
),
custom: (),
@ -1366,12 +1366,12 @@ expression: "parse_program(source, \"<test>\").unwrap()"
context_expr: Located {
location: Location {
row: 17,
column: 6,
column: 5,
},
end_location: Some(
Location {
row: 17,
column: 11,
column: 12,
},
),
custom: (),
@ -1473,12 +1473,12 @@ expression: "parse_program(source, \"<test>\").unwrap()"
context_expr: Located {
location: Location {
row: 18,
column: 6,
column: 5,
},
end_location: Some(
Location {
row: 18,
column: 11,
column: 12,
},
),
custom: (),
@ -1934,12 +1934,12 @@ expression: "parse_program(source, \"<test>\").unwrap()"
context_expr: Located {
location: Location {
row: 22,
column: 6,
column: 5,
},
end_location: Some(
Location {
row: 22,
column: 20,
column: 21,
},
),
custom: (),