Fix ast types' _fields and use 0-based column
This commit is contained in:
@@ -6,12 +6,12 @@ expression: parse_ast
|
||||
Located {
|
||||
location: Location {
|
||||
row: 1,
|
||||
column: 1,
|
||||
column: 0,
|
||||
},
|
||||
end_location: Some(
|
||||
Location {
|
||||
row: 1,
|
||||
column: 14,
|
||||
column: 13,
|
||||
},
|
||||
),
|
||||
custom: (),
|
||||
@@ -20,12 +20,12 @@ expression: parse_ast
|
||||
Located {
|
||||
location: Location {
|
||||
row: 1,
|
||||
column: 1,
|
||||
column: 0,
|
||||
},
|
||||
end_location: Some(
|
||||
Location {
|
||||
row: 1,
|
||||
column: 2,
|
||||
column: 1,
|
||||
},
|
||||
),
|
||||
custom: (),
|
||||
@@ -38,12 +38,12 @@ expression: parse_ast
|
||||
value: Located {
|
||||
location: Location {
|
||||
row: 1,
|
||||
column: 6,
|
||||
column: 5,
|
||||
},
|
||||
end_location: Some(
|
||||
Location {
|
||||
row: 1,
|
||||
column: 13,
|
||||
column: 12,
|
||||
},
|
||||
),
|
||||
custom: (),
|
||||
@@ -52,12 +52,12 @@ expression: parse_ast
|
||||
Located {
|
||||
location: Location {
|
||||
row: 1,
|
||||
column: 6,
|
||||
column: 5,
|
||||
},
|
||||
end_location: Some(
|
||||
Location {
|
||||
row: 1,
|
||||
column: 7,
|
||||
column: 6,
|
||||
},
|
||||
),
|
||||
custom: (),
|
||||
@@ -71,12 +71,12 @@ expression: parse_ast
|
||||
Located {
|
||||
location: Location {
|
||||
row: 1,
|
||||
column: 9,
|
||||
column: 8,
|
||||
},
|
||||
end_location: Some(
|
||||
Location {
|
||||
row: 1,
|
||||
column: 10,
|
||||
column: 9,
|
||||
},
|
||||
),
|
||||
custom: (),
|
||||
@@ -90,12 +90,12 @@ expression: parse_ast
|
||||
Located {
|
||||
location: Location {
|
||||
row: 1,
|
||||
column: 12,
|
||||
column: 11,
|
||||
},
|
||||
end_location: Some(
|
||||
Location {
|
||||
row: 1,
|
||||
column: 13,
|
||||
column: 12,
|
||||
},
|
||||
),
|
||||
custom: (),
|
||||
|
||||
Reference in New Issue
Block a user