diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-11-18 17:06:34 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-11-18 17:06:34 +0800 |
commit | ab27e9a9d62b00a779712fbb7bddd9f2910707a2 (patch) | |
tree | dc82a7a1bc252d82748e413b5f8b4243d7bcd085 /test-beta/signature | |
parent | 8b060037c9fd5961f8de6b9da674d5a29a77334e (diff) | |
download | lua-language-server-ab27e9a9d62b00a779712fbb7bddd9f2910707a2.zip |
可选参数尽量写在变量名后面,与其他语言保持一致
Diffstat (limited to 'test-beta/signature')
-rw-r--r-- | test-beta/signature/init.lua | 2 |
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}, } |