diff options
author | fesily <fesil@foxmail.com> | 2024-02-21 15:02:35 +0800 |
---|---|---|
committer | fesily <fesil@foxmail.com> | 2024-02-21 15:02:35 +0800 |
commit | adfac399b1815731de6f12af1fc3e38516969dc7 (patch) | |
tree | 71e37068805d188313ccd56ef6fcee1b3a31ef72 /test/hover | |
parent | eab7e6d84bd2bd937cf2e27e9da11a3c96c45605 (diff) | |
download | lua-language-server-adfac399b1815731de6f12af1fc3e38516969dc7.zip |
add infer function param type
Diffstat (limited to 'test/hover')
-rw-r--r-- | test/hover/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua index 0cfce3a4..bed5828a 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -276,7 +276,7 @@ function string.lower(s: string|number) -> string ]] --- 不根据传入值推测参数类型 +-- 根据传入值推测参数类型 TEST [[ local function x(a, ...) end @@ -284,7 +284,7 @@ end <?x?>(1, 2, 3, 4, 5, 6, 7) ]] [[ -function x(a: any, ...any) +function x(a: integer, ...any) ]] TEST [[ |