diff --git a/compiler/noirc_frontend/src/monomorphization/mod.rs b/compiler/noirc_frontend/src/monomorphization/mod.rs index f5cb5a1000c..c3a32f979d4 100644 --- a/compiler/noirc_frontend/src/monomorphization/mod.rs +++ b/compiler/noirc_frontend/src/monomorphization/mod.rs @@ -934,7 +934,7 @@ impl<'interner> Monomorphizer<'interner> { .into_hir_expression(self.interner, global.location) .map_err(MonomorphizationError::InterpreterError)? } else { - unreachable!("All global values should be resolved my monomorphization"); + unreachable!("All global values should be resolved at compile time and before monomorphization"); }; self.expr(expr)?