Skip to content

Commit

Permalink
update failure msg
Browse files Browse the repository at this point in the history
  • Loading branch information
vezenovm committed Jan 9, 2025
1 parent 1dd6ea8 commit 3a42872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/noirc_frontend/src/monomorphization/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?
Expand Down

0 comments on commit 3a42872

Please sign in to comment.