diff --git a/compiler/qsc_partial_eval/src/lib.rs b/compiler/qsc_partial_eval/src/lib.rs index 8d1f47b2b2..dc7d16ad17 100644 --- a/compiler/qsc_partial_eval/src/lib.rs +++ b/compiler/qsc_partial_eval/src/lib.rs @@ -2870,9 +2870,9 @@ impl<'a> PartialEvaluator<'a> { } fn record_double(&mut self, instrs: &mut Vec, val: f64) { - let int_record_callable_id = self.get_double_record_callable(); + let double_record_callable_id = self.get_double_record_callable(); instrs.push(Instruction::Call( - int_record_callable_id, + double_record_callable_id, vec![ Operand::Literal(Literal::Double(val)), Operand::Literal(Literal::Pointer),