mirror of
https://github.com/RustPython/Parser.git
synced 2025-08-31 23:57:57 +00:00
Fix f-string regression
This commit is contained in:
parent
fa2e69983f
commit
147187d18d
13 changed files with 37 additions and 24 deletions
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
source: parser/src/fstring.rs
|
||||
source: compiler/parser/src/fstring.rs
|
||||
expression: parse_ast
|
||||
---
|
||||
[
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
source: parser/src/fstring.rs
|
||||
source: compiler/parser/src/fstring.rs
|
||||
expression: parse_ast
|
||||
---
|
||||
[
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
source: parser/src/fstring.rs
|
||||
source: compiler/parser/src/fstring.rs
|
||||
expression: parse_ast
|
||||
---
|
||||
[
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
source: parser/src/fstring.rs
|
||||
source: compiler/parser/src/fstring.rs
|
||||
expression: "parse_fstring(\"\").unwrap()"
|
||||
---
|
||||
[]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
source: parser/src/fstring.rs
|
||||
source: compiler/parser/src/fstring.rs
|
||||
expression: parse_ast
|
||||
---
|
||||
[
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
source: parser/src/fstring.rs
|
||||
source: compiler/parser/src/fstring.rs
|
||||
expression: parse_ast
|
||||
---
|
||||
[
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
source: parser/src/fstring.rs
|
||||
source: compiler/parser/src/fstring.rs
|
||||
expression: parse_ast
|
||||
---
|
||||
[
|
||||
|
@ -37,11 +37,20 @@ expression: parse_ast
|
|||
column: 0,
|
||||
},
|
||||
custom: (),
|
||||
node: Constant {
|
||||
value: Str(
|
||||
"{ spec}",
|
||||
),
|
||||
kind: None,
|
||||
node: FormattedValue {
|
||||
value: Located {
|
||||
location: Location {
|
||||
row: 1,
|
||||
column: 3,
|
||||
},
|
||||
custom: (),
|
||||
node: Name {
|
||||
id: "spec",
|
||||
ctx: Load,
|
||||
},
|
||||
},
|
||||
conversion: 0,
|
||||
format_spec: None,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
source: parser/src/fstring.rs
|
||||
source: compiler/parser/src/fstring.rs
|
||||
expression: parse_ast
|
||||
---
|
||||
[
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
source: parser/src/fstring.rs
|
||||
source: compiler/parser/src/fstring.rs
|
||||
expression: parse_ast
|
||||
---
|
||||
[
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
source: parser/src/fstring.rs
|
||||
source: compiler/parser/src/fstring.rs
|
||||
expression: parse_ast
|
||||
---
|
||||
[
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
source: parser/src/fstring.rs
|
||||
source: compiler/parser/src/fstring.rs
|
||||
expression: parse_ast
|
||||
---
|
||||
[
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
source: parser/src/fstring.rs
|
||||
source: compiler/parser/src/fstring.rs
|
||||
expression: parse_ast
|
||||
---
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue