diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-06-24 21:01:50 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-06-24 21:01:50 +0800 |
commit | 002ebe37bdc749b527dc6040a4512a3714334862 (patch) | |
tree | da02e3482b30c0ee0ef3f52ea213527c8a77c715 /test/type_inference/init.lua | |
parent | 55bc394b5c8cc41380ff7e26729e850ecadde7ed (diff) | |
download | lua-language-server-002ebe37bdc749b527dc6040a4512a3714334862.zip |
fix
Diffstat (limited to 'test/type_inference/init.lua')
-rw-r--r-- | test/type_inference/init.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index 0ea6b96c..f2fd8dd7 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -822,3 +822,8 @@ local t = {'a', 'b'} for k, <?v?> in pairs(t) do end ]] + +TEST 'fun():number, boolean' [[ +---@type fun():number, boolean +local <?t?> +]] |