SourceOrderVisitor should visit the Identifier part of the PatternKeyword node (#18635)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user