Skip to content

Commit

Permalink
Update compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
vezenovm authored Jan 8, 2025
1 parent 2d750fb commit faeb30f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}
}

Expand Down

0 comments on commit faeb30f

Please sign in to comment.