Skip to content

Commit 304a52c

Browse files
committed
fixes after copilot review
1 parent 8a9c21d commit 304a52c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

flake8_async/visitors/visitor91x.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,9 @@ def leave_Match_subject(self, node: cst.Match) -> None:
917917
if not self.async_function:
918918
return
919919
self.save_state(node, "match_state", copy=True)
920-
self.match_state = MatchState(self.uncheckpointed_statements.copy())
920+
self.match_state = MatchState(
921+
base_uncheckpointed_statements=self.uncheckpointed_statements.copy()
922+
)
921923

922924
def visit_MatchCase(self, node: cst.MatchCase) -> None:
923925
# enter each case from the state after parsing the subject

0 commit comments

Comments
 (0)