diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-11-03 17:41:56 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-11-03 17:41:56 +0800 |
commit | 23b01e07a92ed92a40b3ee8dbdcf03174dc82db5 (patch) | |
tree | b6b2cafa2dcf23c64c6bfa8f2a1eff0947398a9f /locale/en-us | |
parent | 7b76328600dd9bc5206f38a549da9e4f99c9ff84 (diff) | |
download | lua-language-server-23b01e07a92ed92a40b3ee8dbdcf03174dc82db5.zip |
add mark `---@nodiscard`
Diffstat (limited to 'locale/en-us')
-rw-r--r-- | locale/en-us/script.lua | 1 |
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.' |