Skip to content

Commit

Permalink
Fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
corona10 committed Aug 18, 2023
1 parent dcb3ada commit 7f9e68b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Tools/cases_generator/generate_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,12 +182,12 @@ def effect_str(effects: list[StackEffect]) -> str:
assert target_instr
target_popped = effect_str(target_instr.input_effects)
target_pushed = effect_str(target_instr.output_effects)
if pushed is None:
assert popped is None
popped, pushed = target_popped, target_pushed
else:
assert popped == target_popped
assert pushed == target_pushed
if pushed is None:
assert popped is None
popped, pushed = target_popped, target_pushed
else:
assert popped == target_popped
assert pushed == target_pushed
case _:
typing.assert_never(thing)
return instr, popped, pushed
Expand Down

0 comments on commit 7f9e68b

Please sign in to comment.