From 7e778b31476831864dff995ae3ae4e5f223c5726 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 28 Jun 2022 19:09:39 +0800 Subject: new diag `return-type-mismatch` --- locale/zh-cn/script.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'locale') diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua index 4c468cea..aa0aea29 100644 --- a/locale/zh-cn/script.lua +++ b/locale/zh-cn/script.lua @@ -138,6 +138,8 @@ DIAG_REDUNDANT_RETURN_VALUE_RANGE = '最多只有 {max} 个返回值,但此处返回了第 {rmin} 到第 {rmax} 个值。' DIAG_MISSING_RETURN = '此处需要返回值。' +DIAG_RETURN_TYPE_MISMATCH = +'第 {index} 个返回值的类型为 `{def}` ,但实际返回的是 `{ref}`。' MWS_NOT_SUPPORT = '{} 目前还不支持多工作目录,我可能需要重启才能支持新的工作目录...' -- cgit v1.2.3