mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-01 12:25:45 +00:00
Fix invalid printer IR error (#5422)
This commit is contained in:
parent
ca5e10b5ea
commit
38189ed913
4 changed files with 70 additions and 18 deletions
|
|
@ -114,6 +114,16 @@ test_particular = [
|
|||
'1.0000000000000000000000000000000000000000000010000' #...
|
||||
'0000000000000000000000000000000000000000025',
|
||||
]
|
||||
|
||||
# Parenthesized string continuation with messed up indentation
|
||||
{
|
||||
"key": (
|
||||
[],
|
||||
'a'
|
||||
'b'
|
||||
'c'
|
||||
)
|
||||
}
|
||||
```
|
||||
|
||||
## Outputs
|
||||
|
|
@ -259,6 +269,9 @@ test_particular = [
|
|||
"1.0000000000000000000000000000000000000000000010000" # ...
|
||||
"0000000000000000000000000000000000000000025",
|
||||
]
|
||||
|
||||
# Parenthesized string continuation with messed up indentation
|
||||
{"key": ([], "a" "b" "c")}
|
||||
```
|
||||
|
||||
|
||||
|
|
@ -404,6 +417,9 @@ test_particular = [
|
|||
'1.0000000000000000000000000000000000000000000010000' # ...
|
||||
'0000000000000000000000000000000000000000025',
|
||||
]
|
||||
|
||||
# Parenthesized string continuation with messed up indentation
|
||||
{'key': ([], 'a' 'b' 'c')}
|
||||
```
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue