mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 18:58:26 +00:00
SourceOrderVisitor
should visit the Identifier
part of the PatternKeyword
node (#18635)
This commit is contained in:
parent
65a2c6d4eb
commit
f74527f4e9
2 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
|||
---
|
||||
source: crates/ruff_python_ast_integration_tests/tests/source_order.rs
|
||||
expression: trace
|
||||
snapshot_kind: text
|
||||
---
|
||||
- ModModule
|
||||
- StmtMatch
|
||||
|
@ -21,12 +20,15 @@ snapshot_kind: text
|
|||
- ExprName
|
||||
- PatternArguments
|
||||
- PatternKeyword
|
||||
- Identifier
|
||||
- PatternMatchValue
|
||||
- ExprNumberLiteral
|
||||
- PatternKeyword
|
||||
- Identifier
|
||||
- PatternMatchValue
|
||||
- ExprNumberLiteral
|
||||
- PatternKeyword
|
||||
- Identifier
|
||||
- PatternMatchValue
|
||||
- ExprNumberLiteral
|
||||
- StmtExpr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue