summaryrefslogtreecommitdiff
path: root/script/core
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-28 21:06:53 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-28 21:06:53 +0800
commit08b9dd387a9b912c68749018b7dfe3c1df7094d5 (patch)
tree46c81598c214b10643f3d8083bb7b64b9e2ba21c /script/core
parent9ad317f2a1eb8dc5715103c8c62e0fcff88a482b (diff)
downloadlua-language-server-08b9dd387a9b912c68749018b7dfe3c1df7094d5.zip
cleanup
Diffstat (limited to 'script/core')
-rw-r--r--script/core/diagnostics/cast-type-mismatch.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/cast-type-mismatch.lua b/script/core/diagnostics/cast-type-mismatch.lua
index 0561a8da..a48e6cca 100644
--- a/script/core/diagnostics/cast-type-mismatch.lua
+++ b/script/core/diagnostics/cast-type-mismatch.lua
@@ -30,7 +30,7 @@ return function (uri, callback)
callback {
start = cast.extends.start,
finish = cast.extends.finish,
- message = lang.script('DIAG_UNKNOWN_CAST_VARIABLE', {
+ message = lang.script('DIAG_CAST_TYPE_MISMATCH', {
def = vm.getInfer(defNode):view(uri),
ref = vm.getInfer(refNode):view(uri),
})