summaryrefslogtreecommitdiff
path: root/locale/en-us/script.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-03 17:41:56 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-03 17:41:56 +0800
commit23b01e07a92ed92a40b3ee8dbdcf03174dc82db5 (patch)
treeb6b2cafa2dcf23c64c6bfa8f2a1eff0947398a9f /locale/en-us/script.lua
parent7b76328600dd9bc5206f38a549da9e4f99c9ff84 (diff)
downloadlua-language-server-23b01e07a92ed92a40b3ee8dbdcf03174dc82db5.zip
add mark `---@nodiscard`
Diffstat (limited to 'locale/en-us/script.lua')
-rw-r--r--locale/en-us/script.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua
index 3a23eee2..9181bb60 100644
--- a/locale/en-us/script.lua
+++ b/locale/en-us/script.lua
@@ -44,6 +44,7 @@ DIAG_DEPRECATED = 'Deprecated.'
DIAG_DIFFERENT_REQUIRES = 'The same file is required with different names.'
DIAG_REDUNDANT_RETURN = 'Redundant return.'
DIAG_AWAIT_IN_SYNC = 'Async function can only be called in async function.'
+DIAG_DISCARD_RETURNS = 'The return values of this function cannot be discarded.'
DIAG_CIRCLE_DOC_CLASS = 'Circularly inherited classes.'
DIAG_DOC_FIELD_NO_CLASS = 'The field must be defined after the class.'