summaryrefslogtreecommitdiff
path: root/script/core
diff options
context:
space:
mode:
authorunknown <luoxingyue@cn.net.ntes>2021-09-23 16:07:34 +0800
committerunknown <luoxingyue@cn.net.ntes>2021-09-23 16:07:34 +0800
commitc1d8340fd6ce6703b9abd187367f8093e01d5f3a (patch)
tree437e387baccf92bbc6953e5bb1dba991bdaf18c2 /script/core
parentf777e326716005c65aab50dfb2b974cf983021e2 (diff)
downloadlua-language-server-c1d8340fd6ce6703b9abd187367f8093e01d5f3a.zip
improve message
Diffstat (limited to 'script/core')
-rw-r--r--script/core/diagnostics/type-check.lua2
1 files changed, 1 insertions, 1 deletions
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,