diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-07-09 16:07:32 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-07-09 16:07:32 +0800 |
commit | b6a99fe50a46812696848f0ad68bd4ef343dc9b3 (patch) | |
tree | 1b49eefe02be68a38cb1a81de1a53942b1635b2c /server/test/diagnostics | |
parent | bd30197133b5c6ccb3dc977826646fc30e6a1ef2 (diff) | |
download | lua-language-server-b6a99fe50a46812696848f0ad68bd4ef343dc9b3.zip |
修正歧义识别bug
Diffstat (limited to 'server/test/diagnostics')
-rw-r--r-- | server/test/diagnostics/init.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/test/diagnostics/init.lua b/server/test/diagnostics/init.lua index 97cd6ccd..36cfb3c6 100644 --- a/server/test/diagnostics/init.lua +++ b/server/test/diagnostics/init.lua @@ -463,3 +463,8 @@ TEST [[ local x, y, z x = x and y or '' .. z ]] + +TEST [[ +local x +x = x or -1 +]] |