From f024e88de53c24fd5e5e2fb2d66947dc93262af8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edvard=20Th=C3=B6rnros?= Date: Fri, 19 Feb 2021 17:44:39 +0100 Subject: fix incorrect error message --- src/compiler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/compiler.rs b/src/compiler.rs index a3066b0..cd4ffda 100644 --- a/src/compiler.rs +++ b/src/compiler.rs @@ -281,7 +281,7 @@ macro_rules! push_frame { $compiler.error_on_line( e, var.line, - Some(format!("Usage of undefined value: '{}'.", var.name)) + Some(format!("Unused value '{}'.", var.name)) ); } $compiler.panic = false; -- cgit v1.2.1