Skip to content

Commit

Permalink
Rename variables out of the 70s
Browse files Browse the repository at this point in the history
  • Loading branch information
compor committed Dec 18, 2024
1 parent d733432 commit d9a49db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xdsl/dialects/func.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ def verify(self, op: Operation) -> None:
if len(found_callee.function_type.outputs) != len(op.result_types):
raise VerifyException("incorrect number of results for callee")

for idx, (found_oprnd, oprnd) in enumerate(
for idx, (found_operand, operand) in enumerate(
zip(found_callee.function_type.inputs, (arg.type for arg in op.arguments))
):
if found_oprnd != oprnd:
if found_operand != operand:
raise VerifyException(
f"operand type mismatch: expected operand type {found_oprnd}, but provided {oprnd} for operand number {idx}"
f"operand type mismatch: expected operand type {found_operand}, but provided {operand} for operand number {idx}"
)

for idx, (found_res, res) in enumerate(
Expand Down

0 comments on commit d9a49db

Please sign in to comment.