We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11591b9 commit ddf4d87Copy full SHA for ddf4d87
crates/noirc_evaluator/src/ssa/acir_gen/acir_ir/acir_variable.rs
@@ -454,11 +454,6 @@ impl AcirContext {
454
let rhs_expr = self.var_to_expression(rhs)?;
455
let sum_expr = &lhs_expr + &rhs_expr;
456
457
- if let Some(constant) = sum_expr.to_const() {
458
- let result = self.add_constant(constant);
459
- return Ok(result);
460
- }
461
-
462
Ok(self.add_data(AcirVarData::from(sum_expr)))
463
}
464
0 commit comments