diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-12-28 10:19:09 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-12-28 10:19:09 +0800 |
commit | d507b68e95c8b8c972f3c37b5c561f86fccce8cf (patch) | |
tree | fc054d12a14dd398f03e133b7a5b3185f7135606 /test/diagnostics/init.lua | |
parent | dc08a844e4158e6a048e10417ae1f9dd651dee01 (diff) | |
download | lua-language-server-d507b68e95c8b8c972f3c37b5c561f86fccce8cf.zip |
fix #327
Diffstat (limited to 'test/diagnostics/init.lua')
-rw-r--r-- | test/diagnostics/init.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua index 4e485d2a..eb8a8099 100644 --- a/test/diagnostics/init.lua +++ b/test/diagnostics/init.lua @@ -960,3 +960,10 @@ print(T1.f1) T2 = {} print(T2.<!f2!>) ]] + +TEST [[ +---@overload fun(...) +local function f() end + +f(1) +]] |