From c1d8340fd6ce6703b9abd187367f8093e01d5f3a Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 23 Sep 2021 16:07:34 +0800 Subject: improve message --- script/core/diagnostics/type-check.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script') diff --git a/script/core/diagnostics/type-check.lua b/script/core/diagnostics/type-check.lua index 99b40303..010764ba 100644 --- a/script/core/diagnostics/type-check.lua +++ b/script/core/diagnostics/type-check.lua @@ -118,7 +118,7 @@ return function (uri, callback) argm = argm .. v[1]..' ' end argm = argm .. ']' - message = 'callArg: '..argm..' has no type belong to ['..flag..' ]' + message = 'Argument of type in '..argm..' is not assignable to parameter of type in ['..flag..' ]' callback{ start = arg.start, finish = arg.finish, -- cgit v1.2.3