Skip to content

Commit

Permalink
Make the error message on undefined label more informative (#782)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhose authored Sep 10, 2024
1 parent 9bb7167 commit 235cafb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emulator/src/parser/expression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ impl Context for EmptyContext {

#[derive(Error, Debug, PartialEq)]
pub enum EvaluationError {
#[error("undefined variable {variable:?}")]
#[error("undefined label or macro {variable:?}")]
UndefinedVariable { variable: String },

#[error("could not downcast value")]
Expand Down

0 comments on commit 235cafb

Please sign in to comment.