Skip to content

Commit 73bb2cc

Browse files
committed
format
1 parent e454346 commit 73bb2cc

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

compiler/codegen/src/compile.rs

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,14 @@ use malachite_bigint::BigInt;
1919
use num_complex::Complex;
2020
use num_traits::{Num, ToPrimitive};
2121
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,
2330
};
2431
use ruff_source_file::OneIndexed;
2532
use ruff_text_size::{Ranged, TextRange};
@@ -2615,7 +2622,9 @@ impl Compiler<'_> {
26152622
self.compile_pattern_sequence(pattern_type, pattern_context)
26162623
}
26172624
// 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+
}
26192628
Pattern::MatchStar(pattern_type) => {
26202629
self.compile_pattern_star(pattern_type, pattern_context)
26212630
}

0 commit comments

Comments
 (0)