diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-09-27 19:49:55 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-09-27 19:49:55 +0800 |
commit | 0805d50df822422bcee2b5bf6bfe9067f1a9063a (patch) | |
tree | 7efc4cf4dbba6f0d19263d05c32983ac6a9c1262 /test | |
parent | fcdce9a9660be08ddc5b94c60ce84d5970711a7f (diff) | |
download | lua-language-server-0805d50df822422bcee2b5bf6bfe9067f1a9063a.zip |
dont infers nil
Diffstat (limited to 'test')
-rw-r--r-- | test/type_inference/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index ba3ca304..13efbc59 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -189,7 +189,7 @@ end <?y?> = x() ]] -TEST 'integer|nil' [[ +TEST 'integer' [[ local function x() return 1 return nil |