Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 73bb2cc

Browse filesBrowse files
committed
format
1 parent e454346 commit 73bb2cc
Copy full SHA for 73bb2cc

File tree

1 file changed

+11
-2
lines changed
Filter options

1 file changed

+11
-2
lines changed

‎compiler/codegen/src/compile.rs

Copy file name to clipboardExpand all lines: compiler/codegen/src/compile.rs
+11-2
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.