diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-14 20:54:24 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-14 20:54:24 +0800 |
commit | 7bf48ded2644c706bd91e20420fe94bba05d2b51 (patch) | |
tree | 4dd4f329b819ec35e604dfab35cd11ce4f43576c /test/type_inference | |
parent | be86f7c2215e0019af84b9d444485e99c5d3e801 (diff) | |
download | lua-language-server-7bf48ded2644c706bd91e20420fe94bba05d2b51.zip |
update runner
Diffstat (limited to 'test/type_inference')
-rw-r--r-- | test/type_inference/init.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index a194ce2d..efcc5fea 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -2482,3 +2482,12 @@ t = t or {} print(<?t?>) ]] + +TEST 'unknown|nil' [[ +local x + +if x == nil then +end + +print(<?x?>) +]] |