summaryrefslogtreecommitdiff
path: root/locale/en-us/script.lua
diff options
context:
space:
mode:
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 9181bb60..a03aec0a 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_NOT_YIELDABLE = 'The {}th parameter of this function was not marked as yieldable, but an async function was passed in. (Use `---@param name async fun()` to mark as yieldable)'
DIAG_DISCARD_RETURNS = 'The return values of this function cannot be discarded.'
DIAG_CIRCLE_DOC_CLASS = 'Circularly inherited classes.'