diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-18 02:09:44 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-18 02:09:44 +0800 |
commit | c0b4b0299dc7b7efc667ef7fb0957e079ad8a411 (patch) | |
tree | d8c9219275f0ab6c85643a2f93571824023e1b9e /test/type_inference/init.lua | |
parent | 53d376ce281906fd856fac42073a072906b2628e (diff) | |
download | lua-language-server-c0b4b0299dc7b7efc667ef7fb0957e079ad8a411.zip |
update
Diffstat (limited to 'test/type_inference/init.lua')
-rw-r--r-- | test/type_inference/init.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index d706798b..74f149e0 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -2699,3 +2699,11 @@ end local <?n?> = f() ]] + +TEST 'unknown' [[ +local function f() + return t[k] +end + +local <?n?> = f() +]] |