Skip to content

Commit 07ffa16

Browse files
committed
.
1 parent d186e14 commit 07ffa16

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • compiler/noirc_evaluator/src/ssa/ir/dfg/simplify

compiler/noirc_evaluator/src/ssa/ir/dfg/simplify/cast.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ pub(super) fn simplify_cast(
1717
dfg: &mut DataFlowGraph,
1818
) -> SimplifyResult {
1919
use SimplifyResult::*;
20-
debug_assert!(dfg.type_of_value(value).is_numeric(), "Can only cast numeric types, got {:?}", dfg.type_of_value(value));
20+
debug_assert!(
21+
dfg.type_of_value(value).is_numeric(),
22+
"Can only cast numeric types, got {:?}",
23+
dfg.type_of_value(value)
24+
);
2125

2226
if Type::Numeric(dst_typ) == dfg.type_of_value(value) {
2327
return SimplifiedTo(value);

0 commit comments

Comments
 (0)