@@ -19,7 +19,14 @@ use malachite_bigint::BigInt;
19
19
use num_complex:: Complex ;
20
20
use num_traits:: { Num , ToPrimitive } ;
21
21
use ruff_python_ast:: {
22
- Alias , Arguments , BoolOp , CmpOp , Comprehension , ConversionFlag , DebugText , Decorator , DictItem , ExceptHandler , ExceptHandlerExceptHandler , Expr , ExprAttribute , ExprBoolOp , ExprFString , ExprList , ExprName , ExprStarred , ExprSubscript , ExprTuple , ExprUnaryOp , FString , FStringElement , FStringElements , FStringFlags , FStringPart , Identifier , Int , Keyword , MatchCase , ModExpression , ModModule , Operator , Parameters , Pattern , PatternMatchAs , PatternMatchClass , PatternMatchOr , PatternMatchSequence , PatternMatchSingleton , PatternMatchStar , PatternMatchValue , Singleton , Stmt , StmtExpr , TypeParam , TypeParamParamSpec , TypeParamTypeVar , TypeParamTypeVarTuple , TypeParams , UnaryOp , WithItem
22
+ Alias , Arguments , BoolOp , CmpOp , Comprehension , ConversionFlag , DebugText , Decorator , DictItem ,
23
+ ExceptHandler , ExceptHandlerExceptHandler , Expr , ExprAttribute , ExprBoolOp , ExprFString ,
24
+ ExprList , ExprName , ExprStarred , ExprSubscript , ExprTuple , ExprUnaryOp , FString ,
25
+ FStringElement , FStringElements , FStringFlags , FStringPart , Identifier , Int , Keyword ,
26
+ MatchCase , ModExpression , ModModule , Operator , Parameters , Pattern , PatternMatchAs ,
27
+ PatternMatchClass , PatternMatchOr , PatternMatchSequence , PatternMatchSingleton ,
28
+ PatternMatchStar , PatternMatchValue , Singleton , Stmt , StmtExpr , TypeParam , TypeParamParamSpec ,
29
+ TypeParamTypeVar , TypeParamTypeVarTuple , TypeParams , UnaryOp , WithItem ,
23
30
} ;
24
31
use ruff_source_file:: OneIndexed ;
25
32
use ruff_text_size:: { Ranged , TextRange } ;
@@ -2615,7 +2622,9 @@ impl Compiler<'_> {
2615
2622
self . compile_pattern_sequence ( pattern_type, pattern_context)
2616
2623
}
2617
2624
// Pattern::MatchMapping(pattern_type) => self.compile_pattern_mapping(pattern_type, pattern_context),
2618
- Pattern :: MatchClass ( pattern_type) => self . compile_pattern_class ( pattern_type, pattern_context) ,
2625
+ Pattern :: MatchClass ( pattern_type) => {
2626
+ self . compile_pattern_class ( pattern_type, pattern_context)
2627
+ }
2619
2628
Pattern :: MatchStar ( pattern_type) => {
2620
2629
self . compile_pattern_star ( pattern_type, pattern_context)
2621
2630
}
0 commit comments