From faeb30f2ffa4b91d3ca366f29a191d6fc3eb7bf0 Mon Sep 17 00:00:00 2001 From: Maxim Vezenov Date: Wed, 8 Jan 2025 13:23:28 -0500 Subject: [PATCH] Update compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs --- compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs b/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs index a462fdcdc0..384696b0da 100644 --- a/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs +++ b/compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs @@ -1238,7 +1238,9 @@ impl GlobalsContext { } ast::Literal::Unit => Ok(Self::unit_value()), ast::Literal::Str(string) => Ok(self.codegen_string(string)), - ast::Literal::FmtStr(_, _, _) => todo!(), + ast::Literal::FmtStr(_, _, _) => { + unreachable!("Format strings are lowered as normal strings as they are already interpolated"); + } } }