diff --git a/xdsl/dialects/cf.py b/xdsl/dialects/cf.py index 6e7f1f6b7a..d067286c57 100644 --- a/xdsl/dialects/cf.py +++ b/xdsl/dialects/cf.py @@ -239,7 +239,7 @@ def case_operand(self) -> tuple[VarOperand, ...]: def_sizes = cast( tuple[int, ...], - tuple(size for size in self.case_operand_segments.iter_values()), + self.case_operand_segments.get_values(), ) if sum(def_sizes) != len(self.case_operands):