summaryrefslogtreecommitdiff
path: root/test-beta/signature
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-18 17:06:34 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-18 17:06:34 +0800
commitab27e9a9d62b00a779712fbb7bddd9f2910707a2 (patch)
treedc82a7a1bc252d82748e413b5f8b4243d7bcd085 /test-beta/signature
parent8b060037c9fd5961f8de6b9da674d5a29a77334e (diff)
downloadlua-language-server-ab27e9a9d62b00a779712fbb7bddd9f2910707a2.zip
可选参数尽量写在变量名后面,与其他语言保持一致
Diffstat (limited to 'test-beta/signature')
-rw-r--r--test-beta/signature/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-beta/signature/init.lua b/test-beta/signature/init.lua
index 978bbe34..f06f8193 100644
--- a/test-beta/signature/init.lua
+++ b/test-beta/signature/init.lua
@@ -111,7 +111,7 @@ TEST [[
]]
{
label = [[
-function string:sub(i: integer, j: integer?)
+function string:sub(i: integer, j?: integer)
]],
arg = {21, 30},
}