From d3daee70dc8f84a94f06d5f2e25fd11695be716c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edvard=20Th=C3=B6rnros?= Date: Tue, 9 Feb 2021 18:00:11 +0100 Subject: better "invalid function call" error --- src/compiler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler.rs b/src/compiler.rs index 34af10b..db79d65 100644 --- a/src/compiler.rs +++ b/src/compiler.rs @@ -638,7 +638,7 @@ impl Compiler { } _ => { - error!(self, "Not a valid function call, expected a '!' or a '('."); + error!(self, "Invalid function call. Expected '!' or '('."); } } -- cgit v1.2.1